Skip to content

Instantly share code, notes, and snippets.

View stripedpurple's full-sized avatar
💭
📷

Nixua stripedpurple

💭
📷
View GitHub Profile
#!/bin/bash
# Check to see if the script was run as Root
if [[ "$EUID" -ne 0 ]]; then
log err "Sorry, you need to run this as root"
exit 1
fi
sudo apt install pv -y
umount /dev/mmcblk*
external=$(lsblk /dev/sd* | grep "^sd.*/media/ubuntu/" | grep -o "/media/ubuntu/.*")
@echo off
echo Killing all chrome process
taskkill /F /IM chrome.exe
echo Waiting a few seconds before starting the Kiosk...
"C:\windows\system32\ping" -n 5 -w 2000 127.0.0.1 >NUL
REM Launching Chrome
start chrome.exe --incognito --kiosk --chrome "https://goldmedalcloud.net/board/kiosk/#!?locationId=philadelphia" --disable-pinch --overscroll-history-navigation=0 --disable-web-security --user-data-dir --test-type
H4sIAFM9+1oAA+1d6XbiRtPO38xV6GVOvpOcuEG9aPOWCC0TJ8az4Uwy5z3nPTLItmbYBoQ9nqvJteTKvpYQi0DsCISpSmwzoiXoqu6q7lI9j7ClUMmyRYR1VUSsqBeRpioMkaJMbSJrssLMfN3xah3vruH43bb73dIicpEZC/8qshT+FUnv36JIscTId5gSWSYiI0z+TsQKlcXvBHH5j1peuh3faQvCd86N0267vj+tHW92e7uNL7RdMZoN3234qNx2Gp1bt42sRqVZ9Rp3x4Jy4/kvBu8/tdxjwXe/+oV7v147efF95d5pd1z/rNtBTqfieS9Kbqfj3LnoonosnKqyqFqSoiBNYRgxifBxVcQ2YiYhVFOLtm3p5y9KXt1Ff7rtjtdsHAs4Lwo/lpyK8Pq98JdQ4oNOwDhPhf/+SBmT8nIeq//96acXL16cVr0HoeM/1dyz3I1T+XzXbnYb1eNGs+Hmzl8IXE5v2uMvfOem5goVt1ZrOdWgh2c5MRf+u9NyKv1/3zTbVbcdvpz4AFRp1prt4/bdzY9Eko6in59ObrmO0K1T92pPx3rbc2pHv7m1B9f3Ks5Rh6sVddy2d3ty0/yKOt63QLe9T0H8yEndad95jWOx9fUk+l7h616L8GV4+QeHX5j/bXTr/GKVY69xz//6vTc7Ph+5lfuxg9439xjL/AI1r+Gie9e7u/cHTR7cdvD9asip8Yl9fON03KBZ9LlBT2tOq+Me91/034h0FX6xoTpU6Sj8/6eTEW15dT4aRo3SM8NNs/o00O06KgmvEe9zX0u8T6Gv6iS/XeE9Sn4nUb39N52a77a5E5x2Wdfp8EYd/npR8/SPJFlodFTNsdqIfns6boOC01RwT8lV4SFsdZbzm62Bu0i66oi+kw0yYgVB4T9i76c/6R69qn8fvkkn32wHnYps1WnWvGr8jeEklZQjAVPKf8l9p/XMLTxmzbpXrdbc/3j1VrPt809LsGpoWUe4b7u3Z7l73+edLBRuvOa957uV+3ylWU80
BREW
---------------------------------------
ant
arp-scan
autoconf
automake
bash
bitchx
boost
cairo
{
"BTTPresetName" : "Default",
"BTTPresetUUID" : "473782E3-9F85-4653-B7B0-F67D0A02A6E3",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "BT.G",
"BTTAppName" : "Global",
"BTTAppSpecificSettings" : {
},
#!/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:
#!/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
#!/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
@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 () {
@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==