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
| git remote set-url origin [email protected]:user/repo.git | |
| https://help.github.com/articles/why-is-git-always-asking-for-my-password |
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://www.vogella.com/articles/EGit/article.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
| jQuery(".mg_grade_5.mg_survey_box").each(function(s){$(this).trigger("click")}) |
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 | |
| # | |
| # Auto-merge script for git repo | |
| # You must use auth 'ssh' and a cron task :-) | |
| # Conf: | |
| REPO_PATH=/home/user/yourgitrepo | |
| TAG_PATTERN=prod* | |
| # Conf End | |
| cd $REPO_PATH | |
| git fetch --tags |
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
| var myautotask = setInterval(function(){$("#wordBlock-10").trigger("click");},30000); |
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
| public String htmlRemoveTagAttributes(String input, String attribute) { | |
| return input.replaceAll(" ((?!("+attribute+")).)*=\"[^\"]*\"*", ""); | |
| } |
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
| # | |
| # Rules for Maid file cleaner, bunch of rules to sorting Photorec output folder. | |
| # Maid Tool : https://github.com/benjaminoakes/maid | |
| # PhotoRec Tool : http://www.cgsecurity.org/wiki/PhotoRec | |
| # | |
| # ----Help---- | |
| # Get All extension in directory : find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u | |
| # ------------ | |
| # Author: HugoPoi | |
| # |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project version="4"> | |
| <component name="CompilerConfiguration"> | |
| <option name="DEFAULT_COMPILER" value="Javac" /> | |
| <resourceExtensions /> | |
| <wildcardResourcePatterns> | |
| <entry name="!?*.java" /> | |
| <entry name="!?*.form" /> | |
| <entry name="!?*.class" /> | |
| <entry name="!?*.groovy" /> |
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
| efibootmgr -d /dev/sda -p 1 -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/mapper/ssd-root resume=/dev/mapper/ssd-swap initrd=/intel-ucode.img initrd=/initramfs-linux.img nomodeset" |
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
| /* | |
| * Usage : node generateWhoisConf.js > /etc/whois.conf | |
| */ | |
| var json = require('comment-json'); | |
| var request = require('request'); | |
| request('https://github.com/weppos/whois/raw/master/data/tld.json', function(error, response, body){ | |
| var obj = json.parse(body); | |
| Object.keys(obj).forEach(function(key){ |
OlderNewer