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
var voice = { | |
jquery: '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', | |
key_name: '_rnr_se', | |
key_value: function() {return jQuery('input[name="'+ voice.key_name +'"]').val()}, | |
page: 1, | |
messages: [], | |
done: false, | |
init: function() { | |
var script = document.createElement('script'), | |
head = document.getElementsByTagName('head')[0]; |
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
Show hidden characters
{ | |
"disallowKeywords": ["with"], | |
"disallowMixedSpacesAndTabs": true, | |
"disallowMultipleLineBreaks": true, | |
"disallowMultipleLineStrings": true, | |
"disallowMultipleSpaces" : true, | |
"disallowMultipleVarDecl": true, | |
"disallowNewlineBeforeBlockStatements": true, | |
"disallowQuotedKeysInObjects": "allButReserved", | |
"disallowSpaceAfterObjectKeys": true, |
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
10/29/13 12:33:25.734 PM appleeventsd[105]: Sandboxed application with pid 36588 attempted to lookup App:"SpamSieve"/36617/0x0:0xe70e7 mtSS1010 sess=100006 but was denied due to sandboxing. (___ZL13handleMessageP17_xpc_connection_sPv_block_invoke260()/appleEventsD.cp #2413) client-reqs-q |
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
./configure --enable-fail-if-missing --with-x --enable-gui --with-features=huge --enable-perlinterp --enable-rubyinterp --enable-pythoninterp --with-python-config-dir=/usr/bin/python --enable-sysmouse --enable-multibyte --enable-fontset |
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
function sort(a,b) { | |
var first = a.substr(0).charCodeAt(); | |
var second = b.substr(0).charCodeAt(); | |
if(!first || first < second || first === second) return false; | |
return true; | |
} | |
function check_status() { | |
var status_text = $('.span6:first').find('.status'); | |
var run_again = 0; | |
for(var n = 0; n < status_text.length; n++) { |
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
function deobfuscate(convert) { | |
var code; | |
var convert_list = convert.split(/,/); | |
for(var i = 0; i < convert_list.length; i++) { | |
var char = String.fromCharCode(convert_list[i]); | |
code = code ? code + char : char; | |
} | |
console.log(code); | |
} |
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
;(function($) { | |
var check_button = function() { return $('#load-more-bonus').is(':visible') }; | |
var referral_count = function() { | |
if(check_button()) { | |
$('#load-more-bonus').click(); | |
setTimeout(referral_count,1000); | |
} else { | |
$('.bonus-row a').filter(function() { | |
return $(this).text() !== 'Referral' ? 1 : 0; | |
}).closest('.bonus-row').remove(); |
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
Array.prototype.frequency = function() { | |
this.sort(); | |
var i = 0, array, count, item, first = this.slice(0); | |
while(i < first.length) { | |
count = 1; item = first[i]; array = i + 1; | |
while(array < first.length && (array = first.indexOf(item, array)) !== -1) { | |
count += 1; first.splice(array,1); | |
} | |
first[i] += ' : '+ count; i++; | |
} |
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
var bing = { | |
credits: 0, | |
current_status: function() { | |
var current_credits = bing.credits; | |
jQuery.ajax({url: '/rewards/dashboard', success: function(d) { | |
var credits = jQuery(d).find('.title:contains("Search Bing")').closest('a').find('.progress').text(); | |
if(!credits.match(/.*of.*/)) bing.settings['stop'] = true; | |
bing.credits = Number(credits.replace(/(\d+).*/,'$1')); | |
bing.total = Number(jQuery(d).find('.user-balance .data-value-text:first').text()); | |
}, complete: function() { |
NewerOlder