Skip to content

Instantly share code, notes, and snippets.

* Rebuilt URL to: https://37.60.249.217/
* Trying 37.60.249.217...
* TCP_NODELAY set
* Connected to 37.60.249.217 (37.60.249.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
@fawx
fawx / got_these_two_sacks.py
Created October 18, 2017 16:54
Too bad you can't get a voodoo globe and make the world spin around really fast and freak everyone out.
messages = [
"Have you ever seen a child, on his way to school, have a car drive past and splash him, and then he just stands there and thinks if he should just go to school or go home and change and be late... And then I drove past and splashed him again!",
"Too bad you can\'t get a voodoo globe and make the world spin around really fast and freak everyone out.",
"Before you criticize someone, you should walk a mile in their shoes, that way when you criticize them, you\'re a mile away and you have their shoes.",
"I bet a real big problem in Yodeling class is people just coming and yodeling right off the bat. You see, we build to that.",
"I\'d like to see a nude opera, because when they hit the high notes I bet you can really see it in those genitals.",
"Ambition is like a venus fly trap. If a frog were to sit on it, the fly trap could bite and bite but it wouldn\'t hurt the frog because it only has tiny little plant teeth. Then some other stuff could happen
tell application "Google Chrome"
make new window
end tell
tell application "iTerm"
set myterm to (make new terminal)
tell myterm
set mysession to (make new session at the end of sessions)
tell mysession
exec command "/bin/bash -l"
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.sql
.log
" bundles
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'kien/ctrlp.vim'
Bundle 'tpope/vim-haml'
Bundle 'JulesWang/css.vim'
// Map Django language codes to valid TinyMCE language codes.
// There's an entry for every TinyMCE language that exists,
// so if a Django language code isn't here, we can default to en.
var language_codes = {
'ar': 'ar',
'ca': 'ca',
'cs': 'cs',
'da': 'da',
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Name: RSS feed date format to Symphony date format
Version: 1.0
Author: Brian Zerangue <brian.zerangue@gmail.com>
URL: http://symphony21.com/downloads/xslt/file/20457/
Description:
Convert RSS feed date format to Symphony date format
Convert RFC 2822 timestamp format to ISO date format (Symphony CMS date format)
@fawx
fawx / css3.scss
Last active October 13, 2015 21:48
css3 mixins
// ---- CSS3 SASS MIXINS ----
// https://github.com/madr/css3-sass-mixins
//
// Copyright (C) 2011 by Anders Ytterström
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@fawx
fawx / symphony-extensions.markdown
Created October 10, 2012 19:19
symphony extension ideas

symphony extension ideas

easy contact forms

  • simple all-in-one interface
  • choose a section with relevant fields (name, email, phone, message, etc)
  • automatically generate an event
  • automatically generate a data source
  • automatically generate page template for etm
  • display markup for developer to paste into contact form (think event creation page), including error/success message, required fields, postback field data
@fawx
fawx / install.markdown
Created October 1, 2012 16:12 — forked from landonlewis/install.markdown
New Machine Setup

New Machine

What I do after I do a fresh install. Things are sorta grouped by type.

First Things First

  1. Turn on TRIM if machine has a non-Apple SSD

General Config