Skip to content

Instantly share code, notes, and snippets.

View cadd's full-sized avatar
💭
yeah

Robert cadd

💭
yeah
View GitHub Profile
sqlite3 people2.sqlite "select * from pet where name = 'Kitty'" | awk 'BEGIN {FS = "|"} {printf "<tr><td>%s<td>%s\n",$1,$2 }'
atom-beautify@0.28.24
atom-bootstrap3@1.2.12
atom-terminal@0.8.0
auto-detect-indentation@0.4.2
autoclose-html@0.22.0
autocomplete-go@0.2.0
autocomplete-python@1.6.1
color-picker@2.1.1
docblockr@0.7.3
emmet@2.4.1
@cadd
cadd / server.sh
Created February 29, 2016 12:39
AppEngine Dev-Server
~\google-cloud-sdk\bin\dev_appserver.py
--host=0.0.0.0 --port=8080 ~/flask-appengine
@cadd
cadd / app.yaml
Last active February 29, 2016 12:45
App Engine app.yaml
application: concrete-rig-315
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /api/zahl_eingang2
script: main.app
# login: admin
@cadd
cadd / key.sh
Created February 29, 2016 13:01
Generate SSH-Keys for Git Bash
ssh-keygen -t rsa
go get -u -v github.com/mattn/go-sqlite3
@cadd
cadd / gulpfile.js
Created March 17, 2016 14:19 — forked from torgeir/gulpfile.js
Example gulpfile.js
// Load plugins
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
rename = require('gulp-rename'),
clean = require('gulp-clean'),
@cadd
cadd / gulpfile.js
Created March 17, 2016 14:20 — forked from mikaelbr/gulpfile.js
Example gulpfile for complete set-up.
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var concat = require('gulp-concat');
var less = require('gulp-less');
var refresh = require('gulp-livereload');
var lr = require('tiny-lr');
var server = lr();
var minifyCSS = require('gulp-minify-css');
var embedlr = require('gulp-embedlr');
@cadd
cadd / gulpfile.js
Created March 17, 2016 14:21 — forked from zwacky/gulpfile.js
Example gulpfile.js to get it going with LESS and AngularJS
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();
var rimraf = require('rimraf');
var paths = {
less: ['./less/*.less'],
js: ['./js/app/*.js', './js/app/**/*.js'],
jsView: ['./js/app/views/*.html'],
dist: {
css: './public/css/',
@cadd
cadd / doskey.md
Created May 20, 2016 16:22 — forked from vladikoff/doskey.md
Setup Persistent Aliases & Macros in Windows Command Prompt (cmd.exe) using DOSKey

Setup Persistent Aliases & Macros in Windows Command Prompt (cmd.exe) using DOSKey

Saved from Archive.org, Date: May 14, 2010 Author: Jesse Webb

http://web.archive.org/web/20140330024520/http://devblog.point2.com/2010/05/14/setup-persistent-aliases-macros-in-windows-command-prompt-cmd-exe-using-doskey/

Our development machines here at Point2 are not standardized; we have a mixture of Windows XP, 7, and Mac OSX/Unix computers. I find myself constantly switching back and forth between command prompt interfaces when pair programming. As a result, I catch myself using “ls” to list a directories contents regardless of what system I am on. I am currently using a Windows XP machine for my developer box and I wanted to setup an alias to the “ls” command to actually perform a “dir”. Here is how I accomplished it…

There is a command available in a Window’s shell that let’s you “alias” command to whatever you please: DOSKey. It allows you to create “macros” to execute one or more other commands with a custom nam