A list of all not symbols and notations of elixir. Tried to have a base for comparision for other programming languages.
- === (strict)
- !== (strict)
- == (relaxed)
| function createCSV(data) { | |
| var lineDelimiter = '\n'; | |
| var csv = { | |
| 'title': '', | |
| 'head': '', | |
| 'body': '' | |
| }; | |
| csv.title = 'csv-title.csv'; | |
| csv.head = '...'; // make your own csv head |
| # Bulk merge a bunch of records | |
| # | |
| # we expect most of the records to import to represent updates | |
| # so this method tries to be efficent with database queries | |
| # by using a single query to find any existing records matching the key_attributes | |
| # updating those records and finally inserting each remaining record | |
| # | |
| # It DOEST NOT use a transaction or lock. callers responsibilty to | |
| # add that if desired | |
| # |
| # This is just a cheat sheet: | |
| # On production | |
| sudo -u postgres pg_dump database | gzip -9 > database.sql.gz | |
| # On local | |
| scp -C production:~/database.sql.gz | |
| dropdb database && createdb database | |
| gunzip < database.sql.gz | psql database |
Here are the installation steps on Ubuntu (this installation will also work on any Debian-based distribution):