Skip to content

Instantly share code, notes, and snippets.

Avatar

adiabatic

View GitHub Profile
@adiabatic
adiabatic / reclaimWindows10.ps1
Created Jan 8, 2017 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
View reclaimWindows10.ps1
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@adiabatic
adiabatic / ame.fea
Created Jul 8, 2013
The character sequence "roe it" (two Quikscript letters) gets turned into "roe.s2 it.2s".
View ame.fea
# Glyph names and lookup names must be:
# - up to 31 characters
# - be comprised of A-Z a-z 0-9 . _
# - must not start with a digit or period (underscores OK)
# glyph names and lookup names can be 31 characters;
# glyph class names (lists) max out at 30.
##############################################################
View quikscript-pangram-checker.py
# coding: UTF-8
# This file is in the public domain.
from itertools import chain
# documentation — yes, it is being overwritten in the very next line
pangram = u"What is the price of a foot-bath kit? A goose in a dress near North Square thought it would cure jelly ankle. The goat nurse suggested palm oil in the mouth or wrapped around the ankle with a cloth."
pangram = u"      - ?       ·       .                 ."
letters = u"""p b t d k g T D f v s z S Z tS dZ j w h W N m n l r
I i E eI { A O Q oI @ aU oU U u""".split()
@adiabatic
adiabatic / gist:5147308
Created Mar 12, 2013
Creating 4k-aligned FreeBSD slices with headroom
View gist:5147308
gpart create -s GPT ada1
gpart create -s GPT ada2
gpart create -s GPT ada3
# find out the sector count of each of these disks
dmesg | grep ada | grep sectors
# OK, 3,907,029,168 512-byte sectors per disk.
# make a bunch of disks that use up a little bit less space than max
# in case I need to replace one of these drives with slightly fewer sectors
@adiabatic
adiabatic / chbg.sh
Last active Aug 29, 2015
Change all backgrounds to either light or dark, depending.
View chbg.sh
case $1 in
light)
imageFile="/Library/Desktop Pictures/Solid Colors/Solid White.png"
;;
dark)
imageFile="/Library/Desktop Pictures/Solid Colors/Solid Gray Pro Ultra Dark.png"
;;
*)
imageFile=""
;;
View get rid of Felix crud.applescript
tell application "Spillo"
refresh
set bms to selected bookmarks
repeat with bm in bms
if (desc of bm) = (title of bm) then
set desc of bm to ""
end if
end repeat
save
refresh
You can’t perform that action at this time.