This file contains hidden or 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
| /* | |
| Gist ID is the hash at the last part of the url when viewing the gist. | |
| Gist must be public so sVim can sync it. | |
| */ | |
| @-webkit-keyframes fadein { | |
| from { | |
| opacity: 0; | |
| } | |
| to { |
This file contains hidden or 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
| " Gist ID is the hash at the last part of the url when viewing the gist. | |
| " Gist must be public so sVim can sync it. | |
| " setting | |
| set smoothscroll | |
| let fullpagescrollpercent = 100 | |
| let homeurl = "favorites://" | |
| let newtaburl = "favorites://" | |
| let blacklists = ["*://github.com/*", "*://github.intuit.com/*"] |
This file contains hidden or 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
| // Composition Example | |
| // http://codepen.io/ericelliott/pen/XXzadQ?editors=001 | |
| // https://gist.github.com/ericelliott/fed0fd7a0d3388b06402 | |
| const distortion = { distortion: 1 }; | |
| const volume = { volume: 1 }; | |
| const cabinet = { cabinet: 'maple' }; | |
| const lowCut = { lowCut: 1 }; | |
| const inputLevel = { inputLevel: 1 }; |
This file contains hidden or 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
| // Class Inheritance Example | |
| // NOT RECOMMENDED. Use object composition, instead. | |
| // https://gist.github.com/ericelliott/b668ce0ad1ab540df915 | |
| // http://codepen.io/ericelliott/pen/pgdPOb?editors=001 | |
| class GuitarAmp { | |
| constructor ({ cabinet = 'spruce', distortion = '1', volume = '0' } = {}) { | |
| Object.assign(this, { | |
| cabinet, distortion, volume |
This file contains hidden or 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
| #!/bin/sh | |
| echo 'run script?' | |
| read -r answer | |
| case "$answer" in | |
| y|Y) echo 'running script';; | |
| *) echo 'skipping script';; | |
| esac | |
| echo 'finished script' |
This file contains hidden or 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
| # | |
| # User configuration sourced by interactive shells | |
| # | |
| # Source zim | |
| if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then | |
| source ${ZDOTDIR:-${HOME}}/.zim/init.zsh | |
| fi | |
| skip_global_compinit=1 # faster Zsh startup |
This file contains hidden or 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
| ################# | |
| # CORE SETTINGS # | |
| ################# | |
| # | |
| # Zim settings | |
| # | |
| # Select what modules you would like enabled. | |
| # The second line of modules may depend on options set by modules in the first line. |