Skip to content

Instantly share code, notes, and snippets.

View stripedpurple's full-sized avatar
💭
📷

Nixua stripedpurple

💭
📷
View GitHub Profile
anime movies:
========================================================================================
A Silent Voice
Akira (1988)
Children Who Chase Lost Voices (2011)
End of Evangelion
Ghost In The Shell 2 Innocense
Ghost in the Shell (1995)
Ghost in the Shell Stand Alone Complex - Solid State Society
Ghost in the Shell Stand Alone Complex - The Laughing Man
#!/bin/bash
# Check to see if the script was run as Root
if [[ "$EUID" -ne 0 ]]; then
echo "Sorry, you need to run this as root"
exit 1
fi
# This script has only been tested on Ubuntu Server 14.04 X64
# Install apt repositories
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AboutToPasteTabsWithCancel</key>
<true/>
<key>AboutToPasteTabsWithCancel_selection</key>
<integer>2</integer>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
MLHFREE9_a4d3fa61d7
MLHFREE9_8a47dc9d20
MLHFREE9_eee3ca438f
MLHFREE9_2302c16cea
MLHFREE9_22847d5d67
MLHFREE9_e616c26d2a
MLHFREE9_be8b26c85c
@stripedpurple
stripedpurple / hulu-titler.user.js
Last active July 21, 2017 13:27
Adds Season and Episode Number to episode title
// ==UserScript==
// @name Hulu Titler
// @namespace http://stripedpurple.io/
// @version 0.1
// @description Adds Season and Episode Number to episode title
// @author Austin Barrett
// @match http*://www.hulu.com/*
// @grant none
// ==/UserScript==
@stripedpurple
stripedpurple / equal-height-columns.js
Last active January 30, 2019 18:55
Simple jquery plugin for creating equal height columns
/*
Demo here ---> https://codepen.io/VCOBA/pen/VWGNgQ
*/
// Equal Height Columns
function handleEqualHeight() {
var EqualHeightColumns = function () {
$('.eq-h-row').each(function () {
heights = [];
$('.eq-h-col', this).each(function () {
#!/bin/bash
# Creating a backup of /etc/default/grub
cp /etc/default/grub /opt/bht/etc/grub.original
# reconfiguring grub to disable usb power mangement
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT=".*"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"/g' /etc/default/grub
sudo update-grub
sudo reboot
#!/usr/bin/env bash
# Config
set -e
# Global variables
argv=( "$@" ) #places all args in an array.
arrayLength=${#argv[@]} #determines length of the array
i=0 #integer for running through the loops
query="$1" #the search query
#!/usr/bin/env python
import sys, json, urllib2
def search (info, key):
if type(info) == dict:
for k, v in info.iteritems():
if (type(v) == dict or type(v) == list) and k != key:
search(v, key)
elif k == key:
{
"BTTPresetName" : "Default",
"BTTPresetUUID" : "473782E3-9F85-4653-B7B0-F67D0A02A6E3",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "BT.G",
"BTTAppName" : "Global",
"BTTAppSpecificSettings" : {
},