Skip to content

Instantly share code, notes, and snippets.

@ecornell
ecornell / uop-clean-up.css
Last active September 7, 2015 14:36
UoP Forum Cleanup - works with Chorme and the Stylish extension
.replyMessageBody, .replyMessageBody p, .replyMessageBody span, .replyMessageBody strong {
font-size: 15px !important;
line-height: 19px !important;
font-family: arial, helvetica, clean, sans-serif !important;
color: #333;
font-weight: normal !important;
}
.discussionthread-view-mod .aes-thread {
margin-left: 4px !important;
using System;
using System.Linq;
namespace ForumPrograms {
class Program {
static void Main(string[] args) {
Console.Write("Calculate the Scrabble point value of a word\n");
String input;
@ecornell
ecornell / fs.sh
Created February 28, 2017 01:02
Switch between VirtualBox and Fuse kext
#!/bin/bash
function status() {
kextstat | grep org.virtualbox.kext > /dev/null 2>&1 ;
vbox=$((1-$?))
kextstat | grep com.github.osxfuse > /dev/null 2>&1 ;
fuse=$((1-$?))
}
status
@ecornell
ecornell / boxstarter.ps1
Last active September 19, 2017 17:04 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#222
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
// ==UserScript==
// @name Sidebar Enhancements
// @description Sidebar Enhancements
// @summary Enhances the sidebar with auto-expand on mouse enter and auto-collapse on mouse leave
// @notes Firefox 135+ required - vertical tabs must be enabled
// @author ecornell
// @include main
// @startup UC.sidebar.exec(win);
// @shutdown UC.sidebar.destroy();
// @onlyonce