Skip to content

Instantly share code, notes, and snippets.

Scott Williams scott-joe

Block or report user

Report or block scott-joe

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
@scott-joe
scott-joe / custom.css
Created Dec 6, 2018
slack-dark-theme--stylus
View custom.css
/* ==UserStyle==
@name slack.com - 11/20/2018, 11:13:41 AM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("slack.com") {
/*
View Slack-DarkTheme.css
/* ==UserStyle==
@name slack.com - 11/20/2018, 11:13:41 AM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Slack Dark Theme
@author Scott Williams
==/UserStyle== */
@-moz-document domain("slack.com") {
/*
@scott-joe
scott-joe / protonmail.css
Created Jul 23, 2018
Custom Appearance for ProtonMail
View protonmail.css
.headerDesktop-container {
background-color: #333366;
}
.search-form-fieldset {
background: #2A2A54;
}
[class*="searchForm-action-button-"] {
color: #D9D9D9;
}
.searchForm-action-button-advanced:hover,
View full-site.xml
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
@scott-joe
scott-joe / io.redis.redis-server.plist
Last active Mar 8, 2017
A plist file to start redis as a LaunchDaemon
View io.redis.redis-server.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>io.redis.redis-server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/redis-server</string>
<string>/usr/local/etc/redis.conf</string>
View aloha page redesign
{"aloha--c.na14.visual.force.com":{"_enabled":true,"_rules":{"#aloha-cards":{"margin-top":"80px"},".aloha-carousel":{"display":"none"},"li[id=\"0H4d000000002N6CAI\"], li[id=\"0H4d000000001Z1CAI\"], li[id=\"0H4d000000001ZpCAI\"], li[id=\"0H4d000000002huCAA\"], li[id=\"0H4d000000002kUCAQ\"], li[id=\"0H4d0000000CjdCCAS\"], li[id=\"0H4d0000000CjYWCA0\"], li[id=\"0H4d000000002ETCAY\"], li[id=\"0H4d000000002hGCAQ\"], li[id=\"0H4d000000002j7CAA\"], li[id=\"0H4d000000002Z2CAI\"], li[id=\"0H4d000000002YdCAI\"], li[id=\"0H4d000000001ZCCAY\"], li[id=\"0H4d000000001ZaCAI\"], li[id=\"0H4d000000001ZuCAI\"], li[id=\"0H4d000000002kKCAQ\"], li[id=\"0H4d000000002hLCAQ\"], li[id=\"0H4d000000003K3CAI\"], li[id=\"0H4d0000000030XCAQ\"], li[id=\"0H4d000000003NHCAY\"], li[id=\"0H4d0000000020HCAQ\"], li[id=\"0H4d000000002g3CAA\"], li[id=\"0H4d000000001ZLCAY\"], li[id=\"0H4d000000002KCCAY\"], li[id=\"0H4d0000000XZFHCA4\"], li[id=\"0H4d000000001ZBCAY\"], li[id=\"0H4d000000001ZGCAY\"], li[id=\"0H4d0000000CjacCAC\"], li[id=\"0H4d0000000C
View github.css
.boxed-group .counter {
color: #ffffff;
}
.btn .btn-primary {
background-color: #5fad43;
background-image: linear-gradient(#5fad43, #5fad43) ;
border-color: #7bc261;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}
View ssh-setup
> kill all ssh-agent entries
ssh-add -D
> kill all ssh-agent running processes
ssh-agent -k
> Create new token(s)
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
View facades-react-render.sublime-snippet
<snippet>
<content><![CDATA[
ReactDOM.render(
<div>
<div className="slds-col example">
<${2:}${1:this}>${1:this}</${2:}${1:this}>
<${2:}${1:this} theme="default">default</${2:}${1:this}>
<${2:}${1:this} theme="shade">shade</${2:}${1:this}>
<${2:}${1:this} theme="inverse">inverse</${2:}${1:this}>
</div>
@scott-joe
scott-joe / pg-backup.zsh
Last active Sep 23, 2015
Automatically create/update Heroku Postgres databases locally. Add to your custom.zsh file or .bashrc. Also, add `/dumps/*` to your .gitignore if you don't want all that in your repo
View pg-backup.zsh
alias pgstart="pg_ctl -D /usr/local/var/postgres -l /usr/local/var/log/postgres/server.log start"
alias pgstop="pg_ctl -D /usr/local/var/postgres stop -m fast"
# find id of last backup
__getBackupId() {
echo $( heroku pg:backups | grep 'b\d\d\d' | head -1 | cut -b 1-6 | xargs )
}
# get the app's name from heroku info
__getAppName() {
You can’t perform that action at this time.