Skip to content

Instantly share code, notes, and snippets.

View Avinash-Bhat's full-sized avatar

Avinash Ananth Narayan R Avinash-Bhat

View GitHub Profile
@Avinash-Bhat
Avinash-Bhat / bandcamp.js
Last active April 29, 2016 02:48 — forked from icodeforlove/bandcamp.js
download mp3's from bandcamp
var commands = [];
commands.push('mkdir "' + TralbumData.current.title + '"');
commands.push('cd "' + TralbumData.current.title + '"');
TralbumData.trackinfo.forEach(function (track, index) {
if (track.file) {
var href = track.file['mp3-128'];
@Avinash-Bhat
Avinash-Bhat / script.groovy
Created September 27, 2016 11:19
jenkins script for android sdk license
def dir = new File('path_to_sdk')
def licenses = new File(dir, 'licenses')
if (!licenses.exists()) licenses.mkdir()
dir.listFiles().each { println it }
def pw = new PrintWriter(new File(licenses, 'android-sdk-license'))
pw.println('8933bad161af4178b1185d1a37fbf41ea5269c55')
<application>
<component name="RainbowSettings">
<option name="rainbowifyHTMLInsideJS" value="true" />
<option name="version" value="5.1" />
<option name="lightRoundBracketsColors">
<array>
<option value="0x263238" />
<option value="0x455a64" />
<option value="0x607d8b" />
<option value="0x90a4ae" />
body, #stylus-popup {
background-color: #292929;
color: #e6e6e6;
}
a, .disabled a:hover, select {
color: #e6e6e6;
}
input[type="checkbox"]:not(.slider) {
background-color: #404040;
}
@Avinash-Bhat
Avinash-Bhat / wordle-helper.js
Last active October 25, 2022 09:34
Wordle helper: to get wordle solved faster than your friends (well, most of your friends), all while not learning new words.
// wordle word list, yanked from the website.
wordlist = ['cigar', 'rebut', 'sissy', 'humph', 'awake', 'blush', 'focal', 'evade', 'naval', 'serve', 'heath', 'dwarf', 'model', 'karma', 'stink', 'grade', 'quiet', 'bench', 'abate', 'feign', 'major', 'death', 'fresh', 'crust', 'stool', 'colon', 'abase', 'marry', 'react', 'batty', 'pride', 'floss', 'helix', 'croak', 'staff', 'paper', 'unfed', 'whelp', 'trawl', 'outdo', 'adobe', 'crazy', 'sower', 'repay', 'digit', 'crate', 'cluck', 'spike', 'mimic', 'pound', 'maxim', 'linen', 'unmet', 'flesh', 'booby', 'forth', 'first', 'stand', 'belly', 'ivory', 'seedy', 'print', 'yearn', 'drain', 'bribe', 'stout', 'panel', 'crass', 'flume', 'offal', 'agree', 'error', 'swirl', 'argue', 'bleed', 'delta', 'flick', 'totem', 'wooer', 'front', 'shrub', 'parry', 'biome', 'lapel', 'start', 'greet', 'goner', 'golem', 'lusty', 'loopy', 'round', 'audit', 'lying', 'gamma', 'labor', 'islet', 'civic', 'forge', 'corny', 'moult', 'basic', 'salad', 'agate', 'spicy', 'spray', 'essay', 'fjord', 'sp