Skip to content

Instantly share code, notes, and snippets.

Leeroy akaleeroy

Block or report user

Report or block akaleeroy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
paulmallon / Windows 10 post install script
Last active Oct 18, 2019
Post windows 10 install script to fix UI stuff and privacy settings.
View Windows 10 post install script
Windows 10 post install script
Please see post_install_part1.ps1 and post_install_part2.ps1 for details
Part 1 - Fix Privacy, Explorer, Logon and misc windows settings
thehig / screenshots.spec.js
Created Sep 19, 2018
js: Storyshots with multiple device/viewport puppeteer screenshots
View screenshots.spec.js
import path from 'path';
import fs from 'fs';
import initStoryshots from '@storybook/addon-storyshots';
import { imageSnapshot } from './storyshots-puppeteer';
import devices from 'puppeteer/DeviceDescriptors';
// Store the screenshots outside the source folder to prevent jest from 'watching' them.
// Since they're outside the src directory we nav to them relatively
const ROOTDIR = path.join(__dirname, '../../../');
SeriouslyMoe /
Last active Mar 18, 2019
foobar2000 Scripts

Foobar2000 scripts

Personal scripts deviating from the defaults provided by foobar2000 out of the box. Curated for my own directory setup and tags, but feel free to use.

Window Title

Playing: ▶ Catch Us by Odyssey (feat. Mortimer)

Paused: Various Artists | foobar2000

View punto.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; This should be replaced by whatever your native language is. See
; for the language identifiers list.
ru := DllCall("LoadKeyboardLayout", "Str", "00000419", "Int", 1)
strayge / shortcuts.ahk
Last active Mar 18, 2018
windows shortcuts
View shortcuts.ahk
; # - win, ! - alt, ^ - ctrl, + - shift
#MaxHotkeysPerInterval 200
global en := DllCall("LoadKeyboardLayout", "Str", "00000409", "Int", 1)
WinGet, window_id, ID, A
pid := DllCall("GetWindowThreadProcessId", "UInt", window_id, "Ptr", 0)
sidneys / youtube-classic.sort-rearrange-organize-playlists.js
Last active Apr 25, 2019
Greasemonkey | YouTube | Advanced Playlist Sorting
View youtube-classic.sort-rearrange-organize-playlists.js
// ==UserScript==
// @name YouTube (Classic) | Sort, Rearrange & Organize Playlists
// @namespace de.sidneys.userscripts
// @homepage
// @version 29.0.0
// @description Organize and rearrange your YouTube playlists. Real server-side sorting by duration, title, channel and language.
// @author sidneys
// @icon
// @noframes
// @include http*://*
joyrexus /
Last active Oct 19, 2019
collapsible markdown

collapsible markdown?


yes, even hidden code blocks!

print("hello world!")
marcus-at-localhost / bookmarklet.js
Last active Jul 21, 2018
[Markdown Quote from Website - Bookmarklet] Select text, click the bookmarklet, get an overlay with the selection styled as Markdown quote with source, click "copy" to get the selection copied to your clipboard.Uses
View bookmarklet.js
* Markdown Quote to Clipboard
var mo = {
version: 1,
btnId: 'clipboard-btn-dceaeae8-1557-4454-883c-05ae99312192',
textareaId: 'clipboard-textarea-dceaeae8-1557-4454-883c-05ae99312192',
uniqueId: 'clipboard-script-dceaeae8-1557-4454-883c-05ae99312192',
christianrondeau / AutoKeyboardLayout.ahk
Last active May 18, 2019
Automatic keyboard layout change on window focus using AutoHotkey
View AutoKeyboardLayout.ahk
; How to use:
; 1. Install AuthotKey:
; 2. Save this script in `My Documents`
; 3. Create a shortcut in the Startup folder (`Win`+`R`, `shell:startup`)
; 4. Change the configurations below
; 5. Start and test the script!
; Configuration
; Cultures can be fetched from here:
View RAM Upgrade.vbs
' Purpose: Allows you to easily get the RAM configuration of a computer. LAN Sweeper won't tell you the RAM type, but this utility will. This should be useful for RAM upgrades.
' Requirements: Probably admin in Active Directory
' Written by: Alex Yancey
' Date: September 15, 2016
' More info about SMBIOS can be found in the SMBIOS specification:, and from this article:
computer_name = InputBox("Computer name: ", "RAM Identifier")
You can’t perform that action at this time.