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
| # Block Spotify Ads | |
| media-match.com | |
| adclick.g.doublecklick.net | |
| www.googleadservices.com | |
| # open.spotify.com | |
| pagead2.googlesyndication.com | |
| desktop.spotify.com | |
| googleads.g.doubleclick.net | |
| pubads.g.doubleclick.net | |
| securepubads.g.doubleclick.net |
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
| {"lastUpload":"2018-10-30T09:13:07.934Z","extensionVersion":"v3.2.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
| $if( | |
| $eq( | |
| %musicbrainz_albumartistid%,89ad4ac3-39f7-470e-963a-56509c546377), | |
| $left($if2(%albumartistsort%,%artistsort%),30) | |
| / | |
| $left(%album%,40) [$if(%date%,$left(%date%,4))] | |
| / | |
| $left(%album%,30) - $if($gt(%totaldiscs%,1),$if2(%media%,CD)%discnumber%-,)$num(%tracknumber%,2)-$left(%title%,30), | |
| $upper($firstalphachar($if2(%albumartistsort%, %artistsort%),#)) | |
| / |
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
| #!/usr/bin/env bash | |
| ############################################################################## | |
| # Shell Behaviour | |
| ############################################################################## | |
| # Check for unbound variables being used | |
| # set -o nounset | |
| # Exit is a bad command is attempted. If you're going to handle errors then |
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
| #!/usr/bin/ython | |
| # Scenario: | |
| # - A group of soldiers is captured and have all agreed to | |
| # kill themselves to prevent being tortured for the infomration | |
| # they possess. | |
| # - They will form a circle and count out loud together, killing | |
| # someone from the circle each time their position in the circle | |
| # is divisible by a number until only one is left, upon which that | |
| # last person must kill themselves | |
| # - One of the soldiers has figured out a way to escape alive but |
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
| https://cdn.winscp.net/files/winscp576.zip?secure=x00qUEV536pMixRHGxdXxQ==,1453388727 |
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
| # knife.rb config snippet to make knife ssh command use your own login | |
| # instead of hard-coded `root', `ubuntu' or other name. Tries to get | |
| # login for your domain from ~/.ssh/config and if it's not found | |
| # there, uses your local login. | |
| require 'net/ssh' | |
| require 'etc' | |
| knife[:ssh_user] = | |
| Net::SSH::Config.for('some.host.inside.your.domain')[:user] || |
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
| # Install dependencies | |
| sudo apt-get install liblxc1 lxc-dev libclxclient-dev | |
| # Install Chef Provisioning | |
| chef gem install chef-provisioning | |
| # Install plugins for Chef Provisioning | |
| chef gem install chef-provisioning-vagrant | |
| chef gem install chef-provisioning-aws | |
| chef gem install chef-provisioning-azure |