Skip to content

Instantly share code, notes, and snippets.

View Alain1405's full-sized avatar
🏠
Working from home

Alain Scialoja Alain1405

🏠
Working from home
View GitHub Profile
@Alain1405
Alain1405 / view.py
Created April 16, 2017 13:24 — forked from techniq/view.py
SQLAlchemy View support
from sqlalchemy.ext.compiler import compiles
from sqlalchemy.sql.expression import Executable, ClauseElement
from sqlalchemy.schema import DDLElement, DropTable
from sqlalchemy.sql import table
from sqlalchemy.orm import Query
from . import db
class CreateView(DDLElement):
@Alain1405
Alain1405 / index.js
Last active June 30, 2016 20:37
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
// INIT DOM
var insertCSS = require('insert-css');
var domify = require('domify');
var css = "body { border: 1px solid red }";

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"