No longer needed! https://twitter.com/trello/status/893213868322902017
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
| Deployment steps for this blog post: | |
| http://kearon.blogspot.co.uk/2015/01/installing-service-using-topshelf-with.html |
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
| #powershell -NoProfile -ExecutionPolicy unrestricted -Command | |
| $url = 'https://gist.githubusercontent.com/bensmind/0a5a524749018ad274d1/raw/74cd0623262346646901aa370221921514d3d15f/cinst.init.ps1' | |
| $wc = new-object net.webclient | |
| iex ($wc.DownloadString($url)) |
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
| //From http://stackoverflow.com/questions/25384796/can-i-set-gulp-livereload-to-run-after-all-files-are-compiled | |
| var gulp = require('gulp'); | |
| var jade = require('gulp-jade'); | |
| var gutil = require('gulp-util'); | |
| var stylus = require('gulp-stylus'); | |
| var jeet = require('jeet'); | |
| var nib = require('nib'); | |
| var uglify = require('gulp-uglify'); | |
| var livereload = require('gulp-livereload'); |
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
| powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" | |
| #tools | |
| cinst sysinternals | |
| cinst notepadplusplus.install | |
| cinst 7zip.install | |
| cinst ColorPic | |
| #network | |
| cinst putty |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
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
| # to execute: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/raelyard/6783972a17ba1bc14e83/raw/ -DisableReboots | |
| Disable-MicrosoftUpdate | |
| Disable-UAC | |
| choco feature enable -n=allowGlobalConfirmation | |
| powercfg /change standby-timeout-ac 0 |
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
| import ConfigParser, mmap | |
| config_file = "/usr/share/applications/google-chrome.desktop" | |
| add_string_to_each_section = ["StartupWMClass", "Google-chrome-stable"] | |
| option = add_string_to_each_section[0] | |
| value = add_string_to_each_section[1] | |
| class Fixer: | |
| def check(self, cf, option, value): |
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
| http://eloquentjavascript.net/index.html | |
| http://eloquentjavascript.net/00_intro.html | |
| http://eloquentjavascript.net/01_values.html | |
| http://eloquentjavascript.net/02_program_structure.html | |
| http://eloquentjavascript.net/03_functions.html | |
| http://eloquentjavascript.net/04_data.html | |
| http://eloquentjavascript.net/05_higher_order.html | |
| http://eloquentjavascript.net/06_object.html | |
| http://eloquentjavascript.net/07_elife.html | |
| http://eloquentjavascript.net/08_error.html |
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
| /** | |
| * A mixin which helps you to add depth to elements according to the Google Material Design spec: | |
| * http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality | |
| * | |
| * Please note that the values given in the specification cannot be used as is. To create the same visual experience | |
| * the blur parameter has to be doubled. | |
| * | |
| * Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp) | |
| * | |
| * Example usage: |