Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
sudo apt-get install zlib1g-dev | |
sudo apt-get install g++ | |
sudo apt-get install uuid-dev | |
export VENV=$VIRTUAL_ENV | |
mkdir $VENV/packages && cd $VENV/packages | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz |
import os | |
import pickle | |
import warnings | |
import numpy as np | |
import pandas as pd | |
from sklearn.model_selection import train_test_split | |
from tensorflow.keras.callbacks import EarlyStopping | |
from tensorflow.keras.layers import Dense | |
from tensorflow.keras.layers import Dropout |
# Obtained with the code written in next file | |
emoji_grinning_face=😀 | |
emoji_grinning_face_with_big_eyes=😃 | |
emoji_grinning_face_with_smiling_eyes=😄 | |
emoji_beaming_face_with_smiling_eyes=😁 | |
emoji_grinning_squinting_face=😆 | |
emoji_grinning_face_with_sweat=😅 | |
emoji_rolling_on_the_floor_laughing=🤣 | |
emoji_face_with_tears_of_joy=😂 | |
emoji_slightly_smiling_face=🙂 |
// TODO add colors | |
sample = { | |
"language": { | |
"backend": "node.js", | |
"middleware": "node.js", | |
"frontend": "es2018" | |
}, | |
"cloud-storage": { | |
"block": { |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
<template> | |
<require from="./dynamic-expression-binding-behavior"></require> | |
<require from="./debug"></require> | |
<label> | |
Address 1: | |
<input value.bind="model & dynamicExpression:'address.address1'"> | |
</label> | |
<label> | |
Address 2: |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
minifyCss = require("gulp-minify-css"), | |
autoprefixer = require("gulp-autoprefixer"), | |
imagemin = require('gulp-imagemin'), | |
notify = require("gulp-notify"), | |
rename = require("gulp-rename"), | |
cmq = require('gulp-combine-media-queries'), | |
uglify = require('gulp-uglify'), |
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Update 7 Oct 2010: | |
# - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
# the WebSocket protocol implementation in the cramp gem does not work | |
# well with Chrome's (newer) WebSocket implementation. | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |