Skip to content

Instantly share code, notes, and snippets.


James W Mann jwmann

View GitHub Profile
vannmangel / Remove-SkypeAds.ps1
Last active Jan 14, 2021
Remove ads in skype
View Remove-SkypeAds.ps1
# start as admin!
# prompt for username
$SkypeUserName = Read-Host -Prompt "What is your Skype username?"
# stop skype-process
if(Get-Process | ? {$_.Name -like 'skype'}) {Stop-Process -Name skype}
# commit changes to hosts file
$hostfile = "C:\Windows\System32\Drivers\etc\hosts"
* Copyright 2014 Chris Banes
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
andrewroberts /
Last active Jan 4, 2020
A simple wrapper for the BetterLog Google Apps Script Library - GAS Library MqTFuiXcPtS5rVUZ_jC9Z4tnfWGfgtIUb
// 34567890123456789012345678901234567890123456789012345678901234567890123456789
// JSHint: 22 March 2015 08:56 GMT
// Unit Tests: 22 March 2015 08:50 GMT
* Copyright (C) 2015-2017 Andrew Roberts (
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
Kartones /
Last active Sep 23, 2021
PostgreSQL command line cheatsheet


Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
TSiege / The Technical Interview Cheat
Last active Sep 23, 2021
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat


I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!


corradomatt / gravityforms-bs-datepicker.less
Last active Jun 8, 2021
Addon for using gravity forms with a bootstrap based development such as the theme for WordPress. I specifically wrote this for a roots theme and it's based on this post by Ben Word.This goes one step further and provides support for some native gravity forms style declarations for for…
View gravityforms-bs-datepicker.less
* Borrowed from
* Styles the datepicker popup for gravityforms used with bootstrap
* jQuery UI Datepicker
* Copyright 2011, AUTHORS.txt (
* Dual licensed under the MIT or GPL Version 2 licenses.
NoobsArePeople2 / gist:5121597
Last active Aug 18, 2021
Configure media keys on a non-Apple keyboard to control Spotify via AppleScript and USB Overdrive on OSX.
View gist:5121597


  1. USB Overdrive
  2. A non-Apple keyboard with media keys (or keys you want to make "media" keys). For reference, I'm using a Microsoft Sidewinder X4

Set Up

  1. Plug in your keyboard and install USB Overdrive.
  2. Open USB Overdrive. Click into the Settings tab.
  3. Click the dropdown and select "Any Keyboard, Any Application"
johntyree /
Last active Sep 14, 2021
Make one large blocklist from the bluetack lists on
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name:

vitalyrotari / bootstrap.php
Created Feb 16, 2012
Language support for FuelPHP
View bootstrap.php
* app/bootstrap.php
// Add classes you want to override here
// Example: 'View' => APPPATH.'classes/view.php',
'Uri' => APPPATH.'classes/uri.php',
'LayoutHelper' => APPPATH.'classes/layouthelper.php',