teleren/devto huggingface dataset:
Defaults and Using SELECT * INTO When Copying or Testing Functionality
Tags: database, testing, sql
Published: 2021-05-13 10:14:26

SQL Server gives us a quick way to copy a table's data by using a SELECT * INTO command where the table following the INTO receives a copy of the selected data. This can be very useful in many contexts, as I list an example immediately at the start of the video [SQL Basics: SELECT * INTO (Table Copy and Testing)](https://www.youtube.com/watch?v=g4OKft0XGGI). Unfortunately, this syntax may not be useful in every situation where we need to test our data with functionality (the latter part depends on what type of functionality). There are advantages and disadvantages of explicit creation - the biggest deciding factor being whether we only need the data or we need the data and design.

Some discussion points and questions answered in the video:

- What is one of the first practical examples where we can use this development technique and why would this be useful?
- In the example shown, what do we see didn't copy over using this syntax? Why might this be important relative to what we're trying to accomplish?
- What is a type of testing where this copy syntax would be helpful? What is a type of testing where it would not assist us?
- What would be an example of a failure we might get or a problem we might see if we use this syntax in an inappropriate situation?
- What are some schema considerations we should review before using this syntax to create a copy? Why do these matter if we want to copy the design?

As an example of how this affected one situation: developers created a copy of the table to test data and functionality, yet were able to add data that was not enforced by a foreign key constraint. The result of their A-B testing ultimately failed because no constraints were copied with this syntax. While their data testing was valid, the functionality testing was invalid as records that would fail with the A test would pass with the B test. When we reviewed the compared results, the underlying issue involved how the data and schema were created - a quick copy over explicit creation with a copy.

Some of the testing discussion assumes we're testing in the same environment. In some contexts, we may have an A and B testing environment (ie: Sandbox A and Sandbox B). The advantage of these types of environments is that we can easily do A-B testing and avoid situations like the above discussion where we're trying to test side-by-side in the same environment on the same server within the same database. There are other techniques that are similar, which may save us time if testing is involved. Keep in mind that this doesn't apply to situations where we need a quick backup of the data: in these situations, copying the table will be much faster than doing a full restore, unless we need functionality saved along with the data. For instance, if our copy of data must still align with foreign key constraints, it's worth ensuring that the appropriate constraints remain even on the copy of data. It's entirely possible that a backup may miss latest data or may have data added by something else, relative to the design.
Cidr Cheat Sheet
Tags: cidr, cheatsheet
Published: 2021-05-13 10:13:35


### Resources

- [CIDR range calculator](http://ipaddressguide.com/cidr#range) _(ipaddressguide.com)_
### CIDR ranges
- [Cidr Cheat Sheet](https://cheatsheetmaker.com/cidr) - [Cheat Sheet Maker](https://cheatsheetmaker.com)

| Range           | First IP | Last IP        |
| ---             | ---      | ---            |
| **10.0.0.0/24** | 10.0.0.0 | 10.0.0.255     |
| **10.0.0.0/16** | 10.0.0.0 | 10.0.255.255   |
| **10.0.0.0/8**  | 10.0.0.0 | 10.255.255.255 |
| **0.0.0.0/0**   | (all)    | (all)          |
Modella Cheat Sheet
Tags: modella, cheatsheet
Published: 2021-05-13 10:12:45


### [Misc] Memory

```coffeescript
User
  .all (err, users) ->
  .find id, (err, user) ->
```

```coffeescript
  .remove ->
  .save ->
  .update ->
```
### [Misc] Plugins

```coffeescript
MyPlugin = ->
  return (Model) ->

    Model.method = ...
    Model.prototype.method = ...
    Model.attr(...)

    Model
```

A plugin is a function that returns a model decorator (ie, a function that takes in a model and returns a model).

### [Events] List of events

```coffeescript
user
  .on 'save', ->
  .on 'create', ->
  .on 'saving', (data, done) -> done()
```

```coffeescript
  .on 'remove', ->
  .on 'removing', (data, done) -> done()
```

```coffeescript
  .on 'valid', ->
  .on 'invalid', ->
```

```coffeescript
  .on 'change', ->
  .on 'change email', ->
```

```coffeescript
  .on 'initializing', (instance, attrs) ->
  .on 'initialize', ->
```

```coffeescript
  .on 'error', -> failed to save model
```

```coffeescript
  .on 'setting', (instance, attrs) ->  # on Model#set()
  .on 'attr', -> # new attr via Model.attr()
```

### [Events] Emitting

```coffeescript
Model.emit('event', [data...])
```

```coffeescript
record.emit('event', [data...])
```

### Instances

```coffeescript
user
  .name()
  .name('John')
  .set(name: 'John')
```

```coffeescript
  .has('name')   # → true
  .isNew()
  .isValid()
```

```coffeescript
  .save (err) ->
  .remove (err) ->
  .removed
  .model         # === User
```

### Defining models

```coffeescript
User = Modella('User')
```

```coffeescript
  .attr('name')
  .attr('email', { required: true })
  .use(require('modella-validators'))
```

```coffeescript
  .validator (u) ->
    u.error('username', 'is required')  unless u.has('username')
```

### Reference
* [Modella Cheat Sheet](https://cheatsheetmaker.com/modella) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Unicode Symbols Cheat Sheet
Tags: unicode, cheatsheet
Published: 2021-05-13 10:07:37


### JavaScript

    "x".charCodeAt(0)
    "x".charCodeAt(0).toString(16)

    http://www.danshort.com/HTMLentities/index.php?w=dingb
### Triangles and arrows

    ▲
    ▼
    ▶

    ⬅   \u2b05
    ⬆   \u2b06
    ⬇   \u2b07

    ◢
    ◣
    ◤
    ◥

    «   &laquo;
    »   &raquo;
    ‹   &lsaquo;
    ›   &rsaquo;
    •   &middot;

    ⌘ – &#x2318; – &#8984; – Command Key
    ⌥ – &#x2325; – &#8997; – Option Key
    ⇧ – &#x21E7; – &#8679; – Shift Key
    ⎋ – &#x238B; – &#9099; – ESC Key
    ⇪ – &#x21ea; – &#8682; – Capslock
    ⏎ – &#x23ce; – &#9166; – Return
    ⌫ – &#x232b; – &#9003; – Delete / Backspace

    ▸   \u25b8 right arrow
    ▹

    ◇   \u25c7
    ◆

    ◐
    ◑
    ◒
    ◓


    ♠   \u2660
    ♣   \u2663
    ♥   \u2665
    ♦   \u2666


    ✂  scissors
    ℹ information &#008505;
    ♡ heart &#009825;
    ⚙ cog or gear &#009881;
    ✉ envelope &#009993;
    ✎ pencil &#009998;

### Spinners

      ◜◠◝◞◡◟
      ❘❙❚

### Checks

    ✓   \u2713 check
    ✕   \u2715
    ✗   \u2717 x mark
    ✘   \u2718 x mark bold
    ❏   \u274f checkbox
    ×   times


### Bullets

    •   \u2022
    ·   \u00b7
    ┄   \u2504
    —   \u2014 (mdash)
    –   \u2013 (ndash)
    ◦   \u25e6 circle

### Reference
* [Unicode Symbols Cheat Sheet](https://cheatsheetmaker.com/unicode-symbols) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Ledger Csv Format Cheat Sheet
Tags: ledger, cheatsheet, csv
Published: 2021-05-13 10:07:01


### Ledger CSV format

```
$ ledger csv
```

```csv
date         , ?  , desc     , account            , currency , amt     , pending/cleared , ?
"2013/09/02" , "" , "things" , "Assets:Cash"      , "P"      , "-2000" , "*"             , ""
"2013/09/02" , "" , "things" , "Liabilities:Card" , "P"      , "-200"  , "*"             , ""
"2013/09/02" , "" , "things" , "Expenses:Things"  , "P"      , "2200"  , "*"             , ""
"2013/09/04" , "" , "stuff"  , "Assets:Cash"      , "P"      , "-20"   , "*"             , ""
"2013/09/04" , "" , "stuff"  , "Expneses:Others"  , "P"      , "20"    , "*"             , ""
```
### Reference
* [Ledger Csv Format Cheat Sheet](https://cheatsheetmaker.com/ledger-csv-format) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Scp Cheat Sheet
Tags: scp, cheatsheet
Published: 2021-05-13 10:04:18


### Commands

```bash
$ scp file user@host:/path/to/file                        # copying a file to the remote system using scp command
$ scp user@host:/path/to/file /local/path/to/file         # copying a file from the remote system using scp command
```

```bash
$ scp file1 file2 user@host:/path/to/directory            # copying multiple files using scp command
$ scp -r /path/to/directory user@host:/path/to/directory  # Copying an entire directory with scp command
```
### Conditions

```bash
-r      # transfer directory 
-v      # see the transfer details
-C      # copy files with compression
-l 800  # limit bandwith with 800
-p      # preserving the original attributes of the copied files
-P      # connection port
-q      # hidden the output
```

### Usage

```bash
scp <options> source_path destination_path
```

### Reference
* [Scp Cheat Sheet](https://cheatsheetmaker.com/scp) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Camp Cheat Sheet
Tags: camp, cheatsheet
Published: 2021-05-13 10:03:41


### Web sockets

```js
camp.ws('/path', (socket) => { ··· })
```

```js
camp.wsChannels[path]
```

```js
camp.wsBroadcast('/path', (req, res) => {
})
```

Sorry I don't completely understand this yet, but check it out in their docs.

See: [WebSocket](https://github.com/espadrine/sc/blob/master/doc/Readme.md#websocket)

### Implicit templates

```js
camp.path('blog.html')
```

Uses `blog.html` as a template.

See: [Templates](https://github.com/espadrine/sc/blob/master/doc/Readme.md#templates)

Advanced features
-----------------

### Basic templates

```js
const tpl = Camp.template('/templates/post.html')

camp.path('/blog/:post.html', (req, res) => {
  res.template({
    text: 'Hello world'
  }, tpl)
})
```

### Low level handler

```js
camp.handle((req, res, next) => {
  res.setHeader('X-Hello', 'world')
  next()
})
```

See: [Handlers](https://github.com/espadrine/sc/blob/master/doc/Readme.md#handlers)

Templates
---------

### Not found

```js
camp.notFound('/*.lol', (req, res) => {
  res.file('/404.html')
})
```

See: [Fall through](https://github.com/espadrine/sc/blob/master/doc/Readme.md#fall-through)

### Templates

```js
const tpl = Camp.template('./templates/post.html')

camp.path('/blog/:post.html', (req, res) => {
  res.template({
    text: 'Hello world'
  }, tpl)
})
```

See: [Templates](https://github.com/espadrine/sc/blob/master/doc/Readme.md#templates)

### Routes

#### Handles `/search?q=rainbows`

```js
camp.path('/search', (req, res) => {
  const q = res.query.q
  res.json({ results: ··· })
})
```

Also available: `camp.post`, `camp.get`.

### Quick start

#### app.js

```js
const Camp = require('cs/camp')
const camp = Camp.start({ port: 1234 })
```

#### web/index.html

```html
<!doctype html>
<body>Hello world!</body>
```

Camp serves files in `web/` by default.

### Reference
* [Camp Cheat Sheet](https://cheatsheetmaker.com/camp) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer
Tags: node, multer, csvtojson
Published: 2021-05-13 10:01:38

https://grokonez.com/node-js/nodejs-express-restapi-upload-import-csv-file-data-to-mongodb-using-csvtojson-multer

Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer

In the tutoria, Grokonez shows how to upload & import CSV File/Data to MongoDB using <code>csvtojson</code> and <code>multer</code> libs.

Related posts:
- <a href="https://grokonez.com/node-js/nodejs-import-csv-file-to-mongodb-using-csvtojson">Node.js Import CSV File to MongoDB – using CsvToJSON</a>

<!--more-->
<h2>Technologies</h2>
<ul>
<li>Node.js</li>
<li>Express</li>
<li>CsvToJson</li>
<li>Multer</li>
<li>MongoDB</li>
</ul>
<h2>Goal</h2>
We create a Node.js project as below structure:

<img src="https://grokonez.com/wp-content/uploads/2019/03/nodejs-express-restapi-upload-import-csv-file-data-to-mongodb-using-multer-csv2json-project-structure.png" alt="nodejs-express-restapi-upload-import-csv-file-data-to-mongodb---using-multer-csv2json---project-structure" width="607" height="175" class="alignnone size-full wp-image-17327" />

CSV File ->

<pre><code class="language-javascript">
_id,name,address,age
1,Jack Smith,Massachusetts,23
2,Adam Johnson,New York,27
3,Katherin Carter,Washington DC,26
4,Jack London,Nevada,33
5,Jason Bourne,California,36
</code></pre>

-> Results:

<img src="https://grokonez.com/wp-content/uploads/2019/03/nodejs-express-restapi-upload-import-csv-file-data-to-mongodb-using-multer-csv2json-client-request.png" alt="nodejs-express-restapi-upload-import-csv-file-data-to-mongodb---using-multer-csv2json---client-request" width="753" height="480" class="alignnone size-full wp-image-17328" />

More at:
https://grokonez.com/node-js/nodejs-express-restapi-upload-import-csv-file-data-to-mongodb-using-csvtojson-multer

Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer
Camunda Cloud: Podcast Edition
Published: 2021-05-13 16:43:56

***

## title: Camunda Cloud: Podcast Edition
published: true
date: 2021-05-13 10:00:00 UTC
tags: CamundaCloud,CloudNative,Podcast,ProcessAutomation
canonical_url: [https://camunda.com/blog/2021/05/camunda-cloud-podcast-edition/](https://kdta.io/cLPj0)

The latest episode of the [Camunda Nation podcast](https://kdta.io/RhxYf) is live and we’ve recorded a Camunda Cloud special for you. Join Camunda’s CTO Daniel Meyer, Camunda Cloud Project Manager Felix Mueller and Sebastian Menski, Director of Camunda Cloud Engineering, as they talk all about Camunda Cloud going GA with the release of Camunda Cloud 1.0.

We discuss:

- What is Camunda Cloud?
- What’s new in Camunda Cloud 1.0?
- How to choose between Camunda Platform and Camunda Cloud?
- What’s coming next for Camunda Cloud?

<script src="https://www.buzzsprout.com/454051/8496908-camunda-cloud-turns-1-0.js?container_id=buzzsprout-player-8496908&amp;player=small" type="text/javascript" charset="utf-8"></script>


The Camunda Nation podcast is the voice of the Camunda Community, from product managers and engineers, to innovative open source contributors and empowered customers. It’s freely available on a range of channels including [Spotify](https://kdta.io/uhysE), [Google Podcasts](https://kdta.io/KBQoA), and [Apple Podcasts](https://kdta.io/bDCdV).

Don’t forget to let us know what you think – you can reach us on [Twitter](https://kdta.io/ICiWw), drop into the [Forum](https://kdta.io/kJbey) or get in touch [via our website](https://kdta.io/r7Py8).

The post [Camunda Cloud: Podcast Edition](https://kdta.io/cLPj0) appeared first on [Camunda](https://kdta.io/gJSm3).
Javascript Speech Synthesis Cheat Sheet
Tags: javascript, cheatsheet
Published: 2021-05-13 09:59:55


### SpeechSynthesisUtterance

```js
function speak (message) {
  var msg = new SpeechSynthesisUtterance(message)
  var voices = window.speechSynthesis.getVoices()
  msg.voice = voices[0]
  window.speechSynthesis.speak(msg)
}
```

```js
speak('Hello, world')
```

See: [SpeechSynthesisUtterance](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance) _(developer.mozilla.org)_
### Reference
* [Javascript Speech Synthesis Cheat Sheet](https://cheatsheetmaker.com/javascript-speech-synthesis) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
How to Speak Binary in TypeScript
Tags: typescript, binary, encoding, serialization
Published: 2021-05-13 09:35:23

If you're sending or receiving data in TypeScript, chances are high that you are using JSON:

```ts
const awesomeData = {
  direction: 'up',
  distance: 1000,
};

const json = JSON.stringify(awesomeData);

send(json);
```

JSON is nice for two reasons:
1. You can read it (`{"direction":"up","distance":1000}` is pretty explicit).
2. JSON doesn't take anything to set up, it's just there.

However, this simple utility doesn't play very nicely with TypeScript:

```ts
const json = receive();

// { direction:'up', distance: 1000 }
const awesomeData = JSON.parse(json);

// TypeScript compiler: "Sure, why not?"
awesomeData.direction = 1;
```

`JSON.parse` is one of those APIs that opts out of type checking - it returns `any`, which means TypeScript knows nothing about it, but will let us do *anything* with it.

That's not cool. We're using TypeScript to avoid exactly this problem.

There is a better way:

```ts
import * as tb from 'typed-bytes';

const Awesome = tb.object({
  direction: tb.enum_('up', 'down', 'left', 'right'),
  distance: tb.size,
});

type Awesome = tb.TypeOf<typeof Awesome>;

function sendData() {
  const awesomeData: Awesome = {
    direction: 'up',
    distance: 1000,
  };

  // Here encodeBuffer knows that awesomeData needs to match type Awesome
  const buffer = tb.encodeBuffer(Awesome, awesomeData);

  send(buffer);
}

function receiveData() {
  const buffer = receive();

  const awesomeData = tb.decodeBuffer(Awesome, buffer);

  // Error: Type '1' is not assignable to type '"up" | "down" | "left" | "right"'
  awesomeData.direction += 1;
}
```

Hooray, now `awesomeData` is correctly type checked 🎉.

It's not just that though. Take a closer look at `buffer`:

```
ArrayBuffer { [Uint8Contents]: <00 e8 07>, byteLength: 3 }
```

Three bytes. That's all we needed. In JSON we used 34 bytes.

> Why not just use Protocol Buffers?

I'm glad you asked. `typed-bytes` is a public domain library that lives at [typedbytes.org](http://typedbytes.org). There's a detailed comparison over there 😉.
Pass Cheat Sheet
Tags: cheatsheet
Published: 2021-05-13 09:58:57


### Synchronize

```
$ pass git push
$ pass git pull
```

### Management

``` bash
$ pass mv twitter.com twitter.com/rsc
$ pass rm [-rf] twitter.com
$ pass cp twitter.com/rsc twitter.com/ricosc
```

``` bash
$ pass edit twitter.com/rsc
```

### Search

``` bash
$ pass find twitter.com
```

### Retrieve

``` bash
$ pass ls twitter.com/
$ pass show twitter.com/rsc
$ pass -c twitter.com/rsc
```

### Store

``` bash
$ pass insert [-m] twitter.com/rsc
$ pass generate [-n] twitter.com/rsc length
```

### Create

``` bash
$ pass init [-p] <gpg-id>
$ pass git init
$ pass git remote add origin <your.git:repository>
$ pass git push -u --all
```

### Reference
* [Pass Cheat Sheet](https://cheatsheetmaker.com/pass) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
* <http://passwordstore.org>
Legacy Ie Bugs Cheat Sheet
Tags: cheatsheet
Published: 2021-05-13 09:57:55


### IE8: Opacity propagation

An element's 'opacity' value isn't propagated to its positioned descendants.

 * [test case](http://jhop.me/tests/bugs/ie8/opacity_positioned.html)

### IE8: label with input

Clicking label with input inside doesn't focus the input.

 * [(1)](http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/LabelForWithImage.html)

### IE8: 'change' event

The 'change' event doesn't always fire. Not for checkboxes, radios, multi-select lists. Use the `click` handler instead.

 * [(1)](http://stackoverflow.com/questions/8005442/checkbox-change-event-works-when-click-the-label-in-ie8-ie7)

### Reference
* [Legacy Ie Bugs Cheat Sheet](https://cheatsheetmaker.com/legacy-ie-bugs) - [Cheat Sheet Maker](https://cheatsheetmaker.com)
Heroku Cheat Sheet
Tags: heroku, cheatsheet
Published: 2021-05-13 09:56:32


### References

 * <https://addons.heroku.com/>
 * <https://devcenter.heroku.com/>
* [Heroku Cheat Sheet](https://cheatsheetmaker.com/heroku) - [Cheat Sheet Maker](https://cheatsheetmaker.com)

### [Other tricks] htpasswd (for PHP apps)

Create an `.htaccess` file in the webroot:

```bash
AuthUserFile /app/www/.htpasswd
AuthType Basic
AuthName "Restricted Access"
Require valid-user
```

Create a `.htpasswd` file:

```bash
$ htpasswd -c .htpasswd [username]
```

See: [gist.github.com](https://gist.github.com/3316425)

### [Domains] Wildcard domains

```bash
heroku addons:add wildcard_domains
```

```bash
*.yourdomain.com => heroku.com
```

### [Domains] `domains` - Custom domains

#### Add both!

```bash
heroku domains:add example.com
heroku domains:add www.example.com
```

#### Removing

```bash
heroku domains:clear
heroku domains:remove example.com
```

See: [Custom domains](https://devcenter.heroku.com/articles/custom-domains) _(devcenter.heroku.com)_

### [Processes] `run` - Running tasks

```bash
heroku run bash
heroku run console                  # Rails console
heroku run rake assets:precompile
```

### [Processes] `restart`

```bash
heroku restart
```

### [Processes] `ps` - Managing processes

```bash
heroku ps              # list
heroku ps:scale web=1  # spawn more dynos
```

### Processes


### `maintenance`

```bash
heroku maintenance:on
```

```bash
heroku maintenance:off
```

### `apps` - Applications

```bash
heroku apps                  # list
heroku apps:create [NAME]
heroku apps:destroy --app APP
heroku apps:info
heroku apps:open             # open in browser
heroku apps:rename NEWNAME
```
Structures and Unions
Published: 2021-05-13 09:47:09

#structures
To define a structure, you must use the struct statement. The struct statement defines a new data type, with more than or equal to one member.
syntax:
   struct [structure name]
   {
       member definition;
       member definition;
       ...
       member definition;
   };
>example:
struct Person
{
    char name[50];
    int citNo;
    float salary;
};
#Unions
 To define a union, you must use the union statement in the same way as you did while defining a structure. The union statement defines a new data type with more than one member for your program.
syntax:
  union [union name]
    {
       member definition;
       member definition;
       ...
       member definition;
    };
>example:
union car
{
  char name[50];
  int price;
};
1)Both are user-defined data types used to store data of different types as a single unit.
Transposing an Entire Table in Pandas
Tags: python, datascience
Published: 2021-05-13 09:40:10

#Importing and parsing
>>>Import pandas as pd
df = pd.read_csv('table.csv')

#To transpose
>>>df = pd.read_csv('table.csv', skiprows=1, header=None).T

#You can check that it was transposed with all the columns and rows correctly by using the shape attribute:
>>> df.shape

_If it used to result, for example, in (10,5) and it became (5,10) after the transpose, then you're all done!_
Node.js Import CSV File to MongoDB – using CsvToJSON
Tags: node, csvtojson, mongodb
Published: 2021-05-13 09:37:14

https://grokonez.com/node-js/nodejs-import-csv-file-to-mongodb-using-csvtojson

Node.js Import CSV File to MongoDB – using CsvToJSON

<!-- wp:paragraph -->
<p>In the tutorial, Grokonez shows how to import data from CSV File to MongoDB with Node.js using <code>csvtojson</code> lib.</p>

Related posts:
- <a href="https://grokonez.com/node-js/nodejs-express-restapi-upload-import-csv-file-data-to-mongodb-using-csvtojson-multer">Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer</a>

<!-- /wp:paragraph -->

<!-- wp:html -->
<!--more-->
<!-- /wp:html -->

<!-- wp:html -->

<h2>Technologies</h2>
<ul>
<li>Node.js</li>
<li>MongoDB</li>
<li>CSV-TO-JSON lib</li>
</ul>
<h2>Goal</h2>
We create a Node.js project as below structure:

<figure class="wp-block-image"><img src="https://grokonez.com/wp-content/uploads/2019/03/nodejs-import-csv-file-to-mongodb-using-csv2json-lib-project-structure-1.png" alt="" class="wp-image-17052"/></figure>

CSV File ->

<pre><code class="language-json">
_id,name,address,age
1,Jack Smith,Massachusetts,23
2,Adam Johnson,New York,27
3,Katherin Carter,Washington DC,26
4,Jack London,Nevada,33
5,Jason Bourne,California,36
</code></pre>

-> Results:

More at:

https://grokonez.com/node-js/nodejs-import-csv-file-to-mongodb-using-csvtojson

Node.js Import CSV File to MongoDB – using CsvToJSON
Css Antialiasing Cheat Sheet
Tags: css, cheatsheet
Published: 2021-05-13 09:28:58

### References

 * [maxvoltar.com](http://maxvoltar.com/archive/-webkit-font-smoothing)
 * [maximilianhoffman.com](http://maximilianhoffmann.com/posts/better-font-rendering-on-osx)
 * [ilikekillnerds.com](http://ilikekillnerds.com/2010/12/a-solution-to-stop-font-face-fonts-looking-bold-on-mac-browsers/)
### Support

 * Firefox 25+ on OSX
 * Webkits (Chrome, Safari, etc)

### Antialias

```css
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
```

### Reference
* [Css Antialiasing Cheat Sheet](https://cheatsheetmaker.com/css-antialiasing) - [Cheat Sheet Maker](https://cheatsheetmaker.com)