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
#!/usr/bin/env python3 | |
import sys | |
import json | |
import numbers | |
from collections import defaultdict | |
json_paths = sys.argv[1:] | |
all_json = {} | |
for json_path in json_paths: |
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 i = 0; setInterval(function() { jQuery('.ui-btn')[1].click(); console.log(++i + '\t' + i*2.5 + 'GB'); setTimeout(function() {jQuery('.ui-btn-cancel').click()}, 15000)}, 70000); |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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 | |
sudo apt-get install -y goldendict | |
cd /tmp/ | |
wget http://downloads.sourceforge.net/goldendict/enruen-content-1.1.tar.bz2 | |
cd /usr/share/apps/goldendict/ | |
sudo tar --no-same-owner -xvf /tmp/enruen-content-1.1.tar.bz2 | |
sudo chmod -R a+r content | |
mkdir -p ~/.config/autostart | |
cp /usr/share/applications/goldendict.desktop ~/.config/autostart/ |
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
require 'formula' | |
class MitScheme <Formula | |
url 'http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.0.1/mit-scheme-c-9.0.1.tar.gz' | |
homepage 'http://www.gnu.org/software/mit-scheme/' | |
md5 '92884092806dd075f103cd1e9996413c' | |
def install | |
ENV.j1 | |