Skip to content

Instantly share code, notes, and snippets.

View chestone's full-sized avatar
🐈
Is Cat

Cheston Lee chestone

🐈
Is Cat
View GitHub Profile
@chestone
chestone / WHAT-IS-HACKFORTRESS.md
Last active August 9, 2019 22:13
What is Hackfortress?

What is Hackfortress?

Hackfortress is a unique blend of Team Fortress 2 and a computer security contest. Teams are made up of 6 TF2 Players and 4 Hackers. TF2 Players duke it out while the hackers are busy solving puzzles. Puzzles range from physical tasks such as breaking locks to forensics and crypto challenges of varying difficulty but all meant to be solved in around 15 minutes. As teams start scoring they can redeem points in the Hackfortress store for bonuses. Bonuses range from crits for TF2, lighting the opposing team on fire or preventing the other teams hackers from accessing the store.

Please see the desk for registration, if you have a pre-made team or not we hopefully can find a spot for you.

Check us out on twitter for updates: @tf2shmoo We’ll be broadcasting on Twitch: @hackfortresstv

START TIME: SATURDAY 10:30AM

@chestone
chestone / ab-fonts.css
Created June 11, 2019 19:31
ActBlue Sample CSS Fonts File
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700");@font-face{font-family:conductor_condensed_corybold;src:url(https://corybooker.com/wp-content/themes/bookerstrap/fonts/conductorcondcory-bold-webfont.woff2) format("woff2"),url(https://corybooker.com/wp-content/themes/bookerstrap/fonts/conductorcondcory-bold-webfont.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:dapiferbook;src:url(https://corybooker.com/wp-content/themes/bookerstrap/fonts/dapifer-book-webfont.woff2) format("woff2"),url(https://corybooker.com/wp-content/themes/bookerstrap/fonts/dapifer-book-webfont.woff) format("woff");font-weight:400;font-style:normal}
export default testComponent(components, ) {
class ComponentUnderTest {
render() {}
}
}
@chestone
chestone / PropTypesTransform.js
Last active May 11, 2017 23:01
Add 'prop-types' imports & rewrite your PropTypes statements.
module.exports = function(file, api) {
const j = api.jscodeshift;
const root = j(file.source);
let importPropTypes = false;
const modifyPropTypes = (path) => {
if (!importPropTypes) importPropTypes = true;
return {
type: 'Identifier',
name: 'PropTypes',
@chestone
chestone / arc-delete.sh
Last active January 11, 2020 22:53
How to delete all of your Phabricator diffs.
git branch -D `git branch | grep -E arcpatch-D[0-9]+`
@chestone
chestone / .scss-lint.yml
Last active August 29, 2015 14:04
scss-lint.yml
---
linters:
BorderZero: # border : 0 is preferred over border: none
enabled: false
CapitalizationInSelector: # all class names should be in lowercase
enabled: false
ColorKeyword: # use color in hex rather than name
enabled: false
DeclarationOrder: #Rule sets should start with @extend declarations, followed by properties and nested rule sets, in that order
enabled: true
@chestone
chestone / .jshintrc
Last active August 29, 2015 14:04
jshintrc
{
"browser": true,
"jquery": true,
"node": true,
"camelcase": true,
"eqeqeq": true,
@chestone
chestone / .scss-lint.yml
Last active August 29, 2015 14:04
Annotated SCSS-lint config file describing options
---
linters:
BorderZero: # border : 0 is preferred over border: none
enabled: false
CapitalizationInSelector: # all class names should be in lowercase
enabled: false
ColorKeyword: # use color in hex rather than name
enabled: false
DeclarationOrder: #Rule sets should start with @extend declarations, followed by properties and nested rule sets, in that order
enabled: false
from rauth import OAuth1Service
# Get an API Key in your SmugMug Account Settings.
API_KEY = None
API_KEY_SECRET = None
OAUTH_ORIGIN = 'https://secure.smugmug.com'
REQUEST_TOKEN_URL = OAUTH_ORIGIN + '/services/oauth/1.0a/getRequestToken'
ACCESS_TOKEN_URL = OAUTH_ORIGIN + '/services/oauth/1.0a/getAccessToken'
@chestone
chestone / create-jekyll-post.sh
Last active August 29, 2015 13:57
Create a Jekyll post with front-matter
#!/bin/sh
echo "What would you like the title of your post to be?"
read post_name
echo "What categories would you like this post to be under?(space seperated list)"
read categories
today=$( date "+%Y-%m-%d" )
rawpost="$today-$post_name.md"
post=${rawpost// /-}