Skip to content

Instantly share code, notes, and snippets.

View brhoades's full-sized avatar
🐙

Billy Rhoades brhoades

🐙
View GitHub Profile
@brhoades
brhoades / reclaimWindows10.ps1
Last active January 30, 2021 21:34 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
{{- define "common.deployment" -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
{{- include "common.annotations" . | nindent 4 }}
{{- if .Values.deployment.annotations }}
diff --git a/PKGBUILD b/PKGBUILD-NEW
index d227659..ce374f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD-NEW
@@ -9,13 +9,13 @@ pkgdesc='A tunneling, reverse proxy for developing and understanding networked,
url='https://ngrok.com'
license=('custom')
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
-source_i686=("https://bin.equinox.io/a/bjFaKy3TSAg/ngrok-${pkgver}-linux-386")
+source_i686=("https://bin.equinox.io/a/bjFaKy3TSAg/ngrok-${pkgver}-${pkgrel}-linux-386")

Keybase proof

I hereby claim:

  • I am brhoades on github.
  • I am brodes (https://keybase.io/brodes) on keybase.
  • I have a public key whose fingerprint is BF4F CB85 C699 89B4 ED95 BF93 8AE7 4787 A4B7 C07E

To claim this, I am signing this object:

{
"items": [
{
"id": "1",
"items": [
{
"id": "1_1",
"items": []
},
{
@brhoades
brhoades / output.txt
Created March 23, 2017 15:56
ruby lambdas / procs / blocks
bare block:
Measure Mode: wall_time
Thread ID: 70093342368220
Fiber ID: 70093351182580
Total: 1.095921
Sort by: self_time
%self total self wait child calls name
84.49 0.926 0.926 0.000 0.000 1 Array#map
15.50 0.170 0.170 0.000 0.000 2 Integer#times
@brhoades
brhoades / build-test-assignments.sh
Created March 2, 2017 15:30
Build example assignments for grader import (use the default gradesheet).
#!/bin/bash
# Builds example submissions / assignment.yml for use with:
# grader import --kind multiple
if [ -z "$1" ]; then
echo "./build-test-assignments.sh [number of assignments]"
echo " Builds mock assignments for local testing."
exit 0
fi
✘ br046823@M1600801  ~/.nonwork/grader   upstream/fb-inspect-hotfix ± cat assignments/hw1/gradesheet/Dockerfile
FROM ubuntu
MAINTAINER Kimbro Staken
RUN apt-get install -y software-properties-common python
RUN add-apt-repository ppa:chris-lea/node.js
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y nodejs
#RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1
rm -rf repacked unpacked
mkdir repacked &> /dev/null
mkdir -p unpacked &> /dev/null
for f in $(ls *.gz)
do
newfn=$(echo $f | perl -ne "print /(.+).tar.gz/")
#newdir=$(pwd)/unpacked/$newfn
#mkdir -p $newdir &> /dev/null
tar xvf $f -C unpacked
class MyHash
def initialize
@keys = []
@values = []
end
def [] index
@keys.each_with_index do |v, i|
if index =~ v
return @values[i]