Skip to content

Instantly share code, notes, and snippets.

@ljepson
ljepson / dropbox.js
Last active December 14, 2015 21:49 — forked from anonymous/dropbox.js
;(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();
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);
}
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++) {
./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
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
{
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineBreaks": true,
"disallowMultipleLineStrings": true,
"disallowMultipleSpaces" : true,
"disallowMultipleVarDecl": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,