This file contains 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 | |
ln -s ~/git/dotfiles/bash_profile ~/.bash_profile; | |
ln -s ~/git/dotfiles/bashrc ~/.bashrc; | |
ln -s ~/git/dotfiles/inputrc ~/.inputrc; | |
ln -s ~/git/dotfiles/screenrc ~/.screenrc; | |
ln -s ~/git/dotfiles/vimrc ~/.vimrc; | |
ln -s ~/git/dotfiles/zshrc ~/.zshrc; |
This file contains 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
// Put in the element you want to find. | |
var el = document.getElementsByTagName("a"), | |
// Enter your search term | |
st = 'whatever', | |
// Results will go here when done | |
res; | |
for(var i = 0; i < el.length; i++) { | |
// Checking to see if the returned element's innerText matches the search term | |
if(el[i].innerText === st) { | |
// Results have been saved if anything was found. You can now use the variable res to do whatever you'd like |
This file contains 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
setInterval(function() { if(!$jq('.jfk-checkbox-checkmark').parent().hasClass('jfk-checkbox-checked') && $jq('#gc-message-list .gc-message').html().length > 1) { $jq('.jfk-checkbox-checkmark').click(); } },1000); |
This file contains 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
:%s/\(\w\+=\)\([a-zA-Z0-9\#-_]\+\)/\1"\2"/egci |
This file contains 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
:%s/\(\w\+=\)\('\)\([a-zA-Z0-9\#-_]\+\)\('\)/\1"\3"/egci |
This file contains 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 | |
mkdir -p $HOME/git/dotfiles/vim; | |
files=("bash_profile bashrc inputrc screenrc vim vimrc zshrc"); | |
for file in $files; do | |
if [[ -h $HOME/.$file ]]; then | |
unlink $HOME/"."$file; | |
elif [[ -e $HOME/.$file ]]; then |
NewerOlder