Skip to content

Instantly share code, notes, and snippets.

Let me know if you want a code review.

Idan Goldman idangoldman

Let me know if you want a code review.
Block or report user

Report or block idangoldman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .aliases
alias serve='ruby -run -e httpd . -p 8000' # Or python -m SimpleHTTPServer :)
alias brewup='brew update; brew upgrade; brew cleanup; brew doctor'
alias flushdns='sudo killall -HUP mDNSResponder'
alias git_cc='git rm -r --cached . && git add . && git status'
alias ll='ls -la'
alias sshr='ssh -l root'
alias hosts='sudo vim /etc/hosts'
View resource-and-functions.php
* The template for displaying all resource pages
* Template Name: Resource
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
idangoldman / Gulpfile.js
Created May 28, 2016
Simple gulpfile for building css, js, html and assets with compass, browserify, nunjucks and moving them from app to _build folder
View Gulpfile.js
var gulp = require('gulp');
autoprefixer = require('gulp-autoprefixer'),
browserify = require('browserify'),
clean = require('gulp-clean'),
compass = require('gulp-compass'),
es = require('event-stream'),
glob = require('glob'),
rename = require('gulp-rename'),
source = require('vinyl-source-stream'),
nunjucks = require('gulp-nunjucks');
idangoldman / Fetch.sublime-settings
Last active Aug 29, 2015
Nettuts Fetch setting list
View Fetch.sublime-settings
"files": {
"angular": "",
"angular resource": "",
"backbone": "",
"jquery 1": "",
"jquery 2": "",
"normalize css": "",
"phone format (libphonenumber)": "",
"require js": "",
View country_list.php
<?php $country_list = array(
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',
'AO' => 'Angola',
'AI' => 'Anguilla',
'AQ' => 'Antarctica',
idangoldman / functions.less
Created Jul 30, 2012
Collection of Less functions that will save you some code time.
View functions.less
// Variables
@images: '../images';
@sprite: 'sprite.png';
@sprite-y: 'sprite-y.png';
@sprite-repeat-x: 'sprite_repeat_x.png';
@sprite-repeat-y: 'sprite_repeat_y.png';
@grid-width: 960px;
@grid-width-em: 960/16em;
@font-family-base: verdana,arial,tahoma,sans-serif;
You can’t perform that action at this time.