Skip to content

Instantly share code, notes, and snippets.

View bdwakefield's full-sized avatar

bdwakefield bdwakefield

View GitHub Profile
@dferg
dferg / howto-install-docker-on-proxmox-4.md
Last active October 15, 2021 16:23
HOWTO: Install Docker on Proxmox 4
#!/bin/bash
# export DBUS_SESSION_BUS_ADDRESS environment variable because cron hates me
PID=$(pgrep -u USER gnome-session-b)
export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-)
/usr/bin/gsettings set org.gnome.shell.extensions.user-theme name 'Flat-Plat'
/usr/bin/gsettings set org.gnome.desktop.interface gtk-theme 'Flat-Plat'
/usr/bin/gsettings set org.gnome.desktop.background picture-uri 'file://WALLPAPER-PATH'
/usr/bin/gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected] set org.zzrough.gs-extensions.drop-down-terminal background-color 'rgb(69,90,100)'
anonymous
anonymous / Applications
Created August 21, 2016 22:38
Installed on my 3 Main Macs
1Password 6.app
1PasswordVPN.app
Ableton Live 9 Trial.app
Acronis True Image.app
Address Book Clearout.app
Adobe
Adobe Acrobat X Pro
Adobe After Effects CS6
Adobe Audition CS6
Adobe Bridge CS6
@beaverb1ll
beaverb1ll / ExportChromePasswords.js
Last active January 18, 2017 12:00 — forked from cmatskas/ExportChromePasswords.js
ExportChromePasswords.js
var decryptedRow="";
var pm = PasswordManager.getInstance();
var model = pm.savedPasswordsList_.dataModel;
var pl = pm.savedPasswordsList_;
for(i=0;i<model.length;i++){
PasswordManager.requestShowPassword(i);
};
setTimeout(function(){
decryptedRow += '"hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField"';
for(i=0; i<model.length; i++){
@IJMacD
IJMacD / dscovr.ps1
Last active March 9, 2021 23:20 — forked from MichaelPote/himawari.ps1
Windows Powershell Script to download the latest image from the DSCOVR satellite then set as the desktop background.
#
# DSCOVR:EPIC Downloader
#
#
#
# This script will scrape the latest image from the DSCOVR satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\DSCOVR\ and then set as the desktop background.
#
# http://epic.gsfc.nasa.gov/
#
@MichaelPote
MichaelPote / himawari.ps1
Created February 3, 2016 19:11
Windows Powershell Script to download the latest image from the Himawari-8 satelite, combine the tiles into a single image, convert to jpg and then set as the desktop background.
#
# Himawari-8 Downloader
#
#
#
# This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background.
#
# http://himawari8.nict.go.jp/himawari8-image.htm
#
@WillSquire
WillSquire / expose_mce_buttons_2.php
Last active October 29, 2017 23:38
Expose Wordpress's subscript and superscript buttons for the default WYSIWYG editor (disabled by Wordpress by default)
/**
* Adds subscript and superscript buttons for Wordpress's WYSIWYG
* editor (disabled by Wordpress by default)
*
* @param $buttons
* @return array
*/
function expose_mce_buttons_2($buttons) {
$buttons[] = 'superscript';
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 26, 2025 08:09
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.

ANNOUNCEMENT

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!






\

.rainbow-text {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0.00, red),
color-stop(16%, orange),
color-stop(32%, yellow),
color-stop(48%, green),
color-stop(60%, blue),
color-stop(76%, indigo),
@cyfer13
cyfer13 / Umbraco Razor Navigation
Created March 21, 2011 18:02
A navigation control written using c# Razor
@inherits umbraco.MacroEngines.DynamicNodeContext
@using umbraco.MacroEngines
@{
Page.useStartingNodeAsHeaderNode = ConvertStringToBool(@Parameter.useStartingNodeAsHeaderNode);
Page.startingNodeId = ConvertStringToInt(@Parameter.startingNodeId);
Page.numberOfLevelsToDisplay = GetNumberOfLevelsToDisplay(@Parameter.numberOfLevelsToDisplay);
Page.cssClassForActiveTree = GetStringvalue(@Parameter.cssClassForActiveTree, "active");
Page.cssClassForCurrentlySelectedNode = GetStringvalue(@Parameter.cssClassForCurrentlySelectedNode, "selected");
Page.startingLevel = GetStartingLevel();