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/bash | |
| # imports the svn repo from a sf.net project into a github repo. | |
| # please ensure: | |
| # a) the github repo exists | |
| # b) the sf.net project exists | |
| # c) svn2git is installed and the path is correct | |
| # d) the svn2git authors file exists and is correctly populated | |
| SVN2GIT="/var/lib/gems/1.8/bin/svn2git" |
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
| #include <stdexcept> | |
| #include <utility> | |
| class Str { | |
| public: | |
| template <std::size_t N> | |
| constexpr Str(const char(&a)[N]) : p(a), s(N - 1) {} | |
| constexpr char operator[](std::size_t n) const { |
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
| nix-env -qaP|cut -d' ' -f1|while read a;do nix-env -iA $a;nix-store --gc;nix-collect-garbage -d;done |
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
| aws cloudformation create-stack \ | |
| --region us-east-1 \ | |
| --stack-name "GitHubTrial" \ | |
| --template-url https://github-enterprise.s3.amazonaws.com/cloudformation/trial-1506081335.template \ | |
| --parameters ParameterKey=Instance,ParameterValue=r3.large \ | |
| ParameterKey=Data,ParameterValue=50 |
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
| udp://public.popcorn-tracker.org:6969/announce | |
| http://182.176.139.129:6969/announce | |
| http://5.79.83.193:2710/announce | |
| http://91.218.230.81:6969/announce | |
| udp://tracker.ilibr.org:80/announce | |
| http://atrack.pow7.com/announce | |
| http://bt.henbt.com:2710/announce | |
| http://mgtracker.org:2710/announce | |
| http://mgtracker.org:6969/announce | |
| http://open.touki.ru/announce.php |
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
| Allmyvideos.net | |
| Cloudtime.to | |
| Cloudyvideos.com | |
| Dailymotion.com | |
| Dropbox.com | |
| Facebook.com | |
| Filehoot.com | |
| Flashx.tv | |
| Google Drive | |
| Gfycat.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
| #!/bin/sh --verbose | |
| nix-collect-garbage -d | |
| nix-store --gc | |
| nix-store --verify --check-contents --repair | |
| nix-store --optimise | |
| chattr -R +c / | |
| btrfs device scan --all-devices |
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
| /** | |
| * FreeBSD privilege escalation CVE-2013-2171 (credits Konstantin Belousov & Alan Cox) | |
| * | |
| * tested on FreeBSD 9.1 | |
| * ref: http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc | |
| * | |
| * @_hugsy_ | |
| * | |
| * Syntax : | |
| $ id |
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
| dd status=progress if=TrueOS-2017-07-05-x64-USB.img of=/dev/sdb bs=4M conv=sync | |
| dd if=FreeBSD-12.0-CURRENT-amd64-20171109-r325595-memstick.img of=/dev/sdb bs=64M conv=sync status=progress oflag=nonblock iflag=nonblock | |
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
| <useragentswitcher> | |
| <folder description="Browsers - Windows"> | |
| <folder description="Legacy Browsers"> | |
| <useragent description="Arora 0.6.0 - (Vista)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527 (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
| <useragent description="Avant Browser 1.2" useragent="Avant Browser/1.2.789rel1 (http://www.avantbrowser.com)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
| <useragent description="Chrome 4.0.249.0 (Win 7)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
| <useragent description="Chrome 5.0.310.0 (Server 2003)" useragent="Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9" appcodename="" appname="" |