This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char* argv[]){ | |
if(argc > 1) //if there is an argument | |
/* Do something */ | |
string firstArg = argv[1]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# makefile | |
# define target, its dependencies and files | |
p5: main.o LinkedList.o | |
g++ -o p4 main.o LinkedList.o | |
# define how each object file is to be built | |
main.o: main.cpp LinkedList.h | |
g++ -c main.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set-Up | |
$Shell = $Host.UI.RawUI | |
$size = $Shell.WindowSize | |
$size.width=90 | |
$size.height=30 | |
$Shell.WindowSize = $size | |
$size = $Shell.BufferSize | |
$size.width=140 | |
$size.height=2500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Returns the common lines between each of the 'n' specified files | |
python -c 'import sys;print " ".join(sorted(set.intersection(*[set(open(a).readl | |
ines()) for a in sys.argv[1:]])))' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: | |
desc: | |
date: | |
options: | |
image: | |
categories: | |
tags: | |
priority: | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
shell = require('gulp-shell'), | |
minifyHTML = require('gulp-minify-html'), | |
sass = require('gulp-sass'), | |
importCss = require('gulp-import-css'), | |
autoprefixer = require('gulp-autoprefixer'), | |
uncss = require('gulp-uncss'), | |
minifyCss = require('gulp-minify-css'), | |
rename = require('gulp-rename'), | |
glob = require('glob'), |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AllowClipboardAccess</key> | |
<true/> | |
<key>AlternateMouseScroll</key> | |
<true/> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bash_profile | |
[[ -s ~/.bashrc ]] && source ~/.bashrc | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxdxhxhxhxhxcxbx | |
export TERM=xterm-256color | |
alias lc='colorls' | |
alias ls='ls -GFh' |
OlderNewer