Skip to content

Instantly share code, notes, and snippets.

View darioghilardi's full-sized avatar

Dario Ghilardi darioghilardi

View GitHub Profile
@pangeaware
pangeaware / linkedinLogin.jsx
Created March 30, 2016 23:58
React Component Implementing the Linkedin Javascript SDK
var React = require('react');
var LinkedinLogin = React.createClass({
componentDidMount: function() {
var liRoot = document.createElement('div');
liRoot.id = 'linkedin-root';
document.body.appendChild(liRoot);
@adham90
adham90 / spacemacs-keybindings
Last active April 5, 2024 14:24
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
@BinaryMuse
BinaryMuse / README.md
Last active April 20, 2022 21:45
Elixir Map/HashDict Performance on Erlang OTP R17 vs R18
@wrburgess
wrburgess / gist:5528649
Last active November 24, 2022 15:29
Backup Heroku Postgres database and restore to local database

Grab new backup of database

Command: heroku pgbackups:capture --remote production

Response: >>> HEROKU_POSTGRESQL_COLOR_URL (DATABASE_URL) ----backup---> a712

Get url of backup download

Command: heroku pgbackups:url [db_key] --remote production