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
# http://superuser.com/questions/815723/alternate-osx-default-keyboard-after-reboot | |
# sets a different keyboard as the default in OSX | |
sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences |
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
// Setup | |
function phoneticLookup(val) { | |
var result = ""; | |
// Only change code below this line | |
var lookup = { | |
"alpha":"Adams", | |
"bravo":"Boston", | |
"charlie":"Chicago", | |
"delta":"Denver", |
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
brew install mackup | |
brew install tree | |
ansible libpng node php56 unixodbc | |
freetype libxml2 nvm php70 vv | |
gdbm libyaml openssl phpmd wget | |
gettext mackup pcre readline zsh |
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
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <[email protected]> | |
# | |
######################################################################################### | |
# Customize to your needs... # | |
######################################################################################### |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// Setup | |
function phoneticLookup(val) { | |
var result = ""; | |
// Only change code below this line | |
var lookup = { | |
"alpha":"Adams", | |
"bravo":"Boston", | |
"charlie":"Chicago", | |
"delta":"Denver", |
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
// use the function form of strict | |
function convert(num) { | |
var remainingValue = num; | |
var newRomanNumeral = ""; | |
var romanNumerals = [{ | |
numeral: "M", | |
value: 1000 | |
}, { |
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
<!-- Attribution-ShareAlike License --> | |
<small> | |
Feature image by<a title="image name" class="feature-image-credit" href="" target="_blank">flickr username</a> | |
<a title="Attribution-ShareAlike License" class="cc-license" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank" rel="nofollow"><img src="" /></a> | |
</small> | |
<!-- public domain License --> | |
<img alt="" src="" title="" img=""> |
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
<div>The total time of the movies is: <span id="demo"></span> | |
</div> |
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
// Type into terminal | |
yarn add bundle-buddy-webpack-plugin webpack-bundle-analyzer --dev | |
// webpack.bundlebuddy.js | |
const webpackBundleBuddy = require("bundle-buddy-webpack-plugin") | |
module.exports = { | |
plugins: [ | |
new webpackBundleBuddy({sam: true}) | |
] |
OlderNewer