Skip to content

Instantly share code, notes, and snippets.

View tonylegrone's full-sized avatar

Tony Legrone tonylegrone

  • Chronicle
  • Birmingham Alabama
View GitHub Profile
@tonylegrone
tonylegrone / SassMeister-input.scss
Created August 26, 2014 20:02
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
%unexpected {
display: block;
}
@tonylegrone
tonylegrone / SassMeister-input-HTML.html
Created August 26, 2014 00:51
Generated by SassMeister.com.
<ol>
<li><a href="#">Plain link</a></li>
<li><a class="button" href="#">Button</a></li>
<li><a class="button button--primary" href="#">Button primary</a></li>
<li><a class="button button--primary button--open" href="#">Button primary open</a></li>
<li><a class="button button--secondary" href="#">Button secondary</a></li>
<li><a class="button button--secondary button--open" href="#">Button secondary open</a></li>
</ol>
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
@tonylegrone
tonylegrone / SassMeister-input-HTML.html
Created July 1, 2014 13:55
Generated by SassMeister.com.
<div class="section-2">
<section class="container">
<div class="row">
<div class="col">text</div>
<div class="col">text</div>
<div class="col">text</div>
<div class="col">text</div>
</div>
</section>
@tonylegrone
tonylegrone / README.md
Last active August 29, 2015 14:01
Drupal 7 build script

Workspace in tmux

I like to work using a separate tmux session for each active project/folder that I'm juggling. This script will either create or attach to a project based on it's name, using fasd to jump to the directory directly. The project will be named based on the basename of the folder, for easy switching using TMUX-s.

[
{ "keys": ["ctrl+/", "\""], "command": "chain", "args": {
"commands": [
["create_pane", {"direction": "down"}],
["travel_to_pane", {"direction": "down"}]
]}
},
{ "keys": ["ctrl+/", "%"], "command": "chain", "args": {
"commands": [
["create_pane", {"direction": "right"}],
<?php
/**
* Returns an array of function names in a file.
*
* @param (string) $file
* The path to the file.
*
* @param (bool) $sort
* If TRUE, sorts results by funciton name.
@tonylegrone
tonylegrone / weechat.conf
Last active December 29, 2015 11:49
My weechat config
/script install beep.pl
/script install allquery.py
/script install buffers.pl
/script install text_item.py
/script install highmon.pl
/set plugins.var.perl.highmon.alignment "nchannel"
/script install iset
serialize_precision = 100
detect_unicode = Off
max_execution_time = 3000
max_input_time = 6000
memory_limit = 2024M
error_log = /var/log/php55/error.log