Skip to content

Instantly share code, notes, and snippets.

View L422Y's full-sized avatar
🤓

Larry Williamson L422Y

🤓
View GitHub Profile
@L422Y
L422Y / index.html
Created November 18, 2012 21:40
CSS3/jQuery 3D Carousel
<style>
@-webkit-keyframes rotator {
0% { -webkit-transform: rotateY(0deg); }
50% { -webkit-transform: rotateY(180deg); }
100% { -webkit-transform: rotateY(359deg); }
}
@L422Y
L422Y / index.html
Created November 20, 2012 12:57
A CodePen by Larry Williamson. image rotator / css3
<style>
</style>
<div id="main">
<div id="container"></div>
</div>
@L422Y
L422Y / index.html
Created November 21, 2012 12:18
A CodePen by Larry Williamson.
<div>
<span class="span1">
<img src="http://blog.codepen.io/wp-content/uploads/2012/06/Button-Black-Small.png" width=20 id="galaxy" />
</span>
<span class="span1">1232</span>
<span class="span2">Cell Phone</span>
<span class="span1">3500</span>
<a href="#" class="pull-right"><i class="icon-plus" id="btnid">+</i></a>
</div>
<hr>
@L422Y
L422Y / index.html
Created February 25, 2013 20:58
A CodePen by Larry Williamson. Template fill w/ split() - Uses String.split() to break up a template using a RegEx wrap match. Then iterates odd items, replacing the template variable name with the value if there is a matching definition
<div>This {!template!} has {!variables!} in it.</div>
<button id='fill'>Fill Template</button>
@L422Y
L422Y / generate_users.py
Created March 14, 2013 04:47
django utility script to generate random users, profiles, entries
#!/usr/bin/python
__author__ = 'lawrencealan+github@gmail.com'
"""
Generates random users, profiles and game entries for testing.
"""
@L422Y
L422Y / multisync.sh
Last active February 21, 2021 23:57
lftp script to mirror remote ftp site to local folder using multiple connections per file and parallel file downloads (for reference/cron jobs)
#!/bin/bash
do_multisync() {
remote_dir="private/files"
local_dir="/root/i_drive/files"
# remote host
host="ftp.myremotehost.com"
# username / password
user="larry"
@L422Y
L422Y / gist:6416624
Last active December 22, 2015 04:19 — forked from fredkelly/gist:3655228
homebrew install of ffmpeg w/ web video encoders
brew install ffmpeg --with-theora --with-libogg --with-libvorbis --with-libvpx
@L422Y
L422Y / enformer.md
Last active December 24, 2015 03:39
a test form for enformer, a framework for easily building forms and plugging results into an api

screenshot

@L422Y
L422Y / vhosts.conf
Created October 3, 2013 03:08
boxen / brew nginx development configuration w/ fastcgi php-fpm
server {
set $work_folder /work;
listen 80;
index index.php index.html index.htm;
server_name ~^(.*)\.dev$;
if (-d /work/$1/) {
set $path $work_folder/$1;
}
@L422Y
L422Y / asana__project__colors.md
Last active December 25, 2015 07:49
Asana Project color enhancements for Chrome

Chrome: Asana Project Colors -- Colorize your "My Tasks" view in Asana based on the project colors, only works when sorted by Project.

This is a Tampermonkey userscript.