Open the command prompt as an administrator and run the following commands:
diskpart
list disk
select disk (usb disk)
clean
create partition primary
select partition 1
active
format fs=fat32 quick
Open the command prompt as an administrator and run the following commands:
diskpart
list disk
select disk (usb disk)
clean
create partition primary
select partition 1
active
format fs=fat32 quick
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/usr/bin/env ruby | |
if ARGV[0].nil? || ARGV[0].empty? | |
deploy = 'deploy.yml' | |
else | |
deploy = ARGV[0] + '.yml' | |
end | |
unless File.exists? deploy | |
puts "File does not exist: " + deploy |
This is an unofficial list gathered from presenters' Twitter feeds. Last updated March 29, 2014. All talks were recorded so videos should be posted at some point at EmberConf.com.
# detailed stats for an individual | |
git log --shortstat --author=AUTHOR --since=9-1-2013 --until=9-30-2013 | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed: ", files, "\nlines inserted: ", inserted, "\nlines deleted: ", deleted}' | |
# commit numbers by author for the repo | |
git log --pretty=format:%an --since=10-1-2011 | awk '{ ++c[$0]; } END { for(cc in c) printf "%5d %s\n",c[cc],cc; }' | sort -r | |
# detailed stats per author, including contribution to the total change | |
git log --numstat --since=8-1-2014 --until=8-31-2014 | awk ' | |
function printStats(author) { | |
printf "%s:\n", author |
[ | |
{ "keys": ["f1"], "command": "toggle_side_bar" }, | |
{ "keys": ["j", "j"], "command": "exit_insert_mode", | |
"context": | |
[ | |
{ "key": "setting.command_mode", "operand": false }, | |
{ "key": "setting.is_widget", "operand": false } | |
] | |
}, | |
{ "keys": ["ctrl+t"], "command": "side_bar_new_file2" }, |
{ | |
"bold_folder_labels": true, | |
"caret_style": "wide_caret", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme", | |
"detect_slow_plugins": false, | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.pyc", |