Skip to content

Instantly share code, notes, and snippets.

View ablwr's full-sized avatar
✌️
always

Ashley Blewer ablwr

✌️
always
View GitHub Profile
@ablwr
ablwr / gist:9934353
Created April 2, 2014 13:40
scripts for chaz
<!-- GLOBAL CORE SCRIPTS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="inc/colorbox.js"></script>
<script type="text/javascript" src="js/timeliner.min.js"></script>
<script>
$(document).ready(function() {
$.timeliner({
startOpen:['#19550828EX', '#19630828EX']
});
$.timeliner({
Name: Ashley Blewer!
Github: http://github.com/ablwr
Blog: http://ablwr.github.io
Tagline: Never fear, I is here.
Profile Picture: http://www.ashleyblewer.com/sflop.jpg
Treehouse Account: http://teamtreehouse.com/ablwr
CoderWall Account: https://coderwall.com/ablwr
CodeSchool Account: http://www.codeschool.com/users/ablwr
Favorite Websites:
@ablwr
ablwr / bro_dramatist
Created October 6, 2014 02:48
bro dramatist drive drive drive drive
<?xml version="1.0" encoding="utf-8" ?><transcript><text start="0.859" dur="5.571">bro dramatist drive drive drive drive
drive drive drive drive drive drive</text><text start="6.43" dur="3.57">drive drive drive drive the strongest
rise</text><text start="10" dur="4.509">draw mister on mister on mister I just
reminded drive drive drive drive drive</text><text start="14.509" dur="3.081">drive drive drive drive drive</text><text start="17.59" dur="5.89">strongest rise tries to write and star
star star star star star my stride is no</text><text start="23.48" dur="4.76">I started not as strong as it dries
strongest riders tri-star his stride</text><text start="28.24" dur="1.1">stride stride</text><text start="29.34" dur="3.04">dry mister I just got my stride Stride
Rite Strider</text><text start="32.38" dur="4.11">Noize stride stride Stride Rite Strider
strongest rise and rise</text><text start="36.49" dur="4.839">strongest riders tri-star I started
rising star mister on mister I just know</text><text start="41.32
<?xml version="1.0" encoding="UTF-8"?>
<!-- Work in progress, not for production -->
<MediaTrace version="0.7.73">
<items offset="0" name="File Header" size="8">
<item offset="0" name="Magic">1229531648</item>
<item offset="4" name="IFDOffset">8</item>
</items>
<items offset="8" name="IFD" size="174">
<items offset="8" name="Header" size="2">
<?xml version="1.0" encoding="UTF-8"?>
<!-- Work in progress, not for production -->
<MediaTrace version="0.7.73">
<items offset="0" name="Ebml" size="47">
<items offset="0" name="Header" size="12">
<item offset="0" name="Name">172351395</item>
<item offset="4" name="Size">35</item>
</items>
<items offset="12" name="Version" info="1" size="4">
<items offset="12" name="Header" size="3">
@ablwr
ablwr / .bash_profile
Last active September 10, 2015 13:11
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
function prompt {
# Define some local colors
local RED="\[\033[0;31m\]"
local LIGHT_RED="\[\033[1;31m\]"
local CHAR="🐚 (╯°□°)╯︵"
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mc="https://mediaarea.net/mediaarea" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" extension-element-prefixes="xsi">
<xsl:output encoding="UTF-8" method="xml" version="1.0" indent="yes"/>
<xsl:template match="mc:MediaArea">
<MediaConch>
<policyChecks>
<xsl:attribute name="version">
<xsl:text>0.1</xsl:text>
</xsl:attribute>
<xsl:for-each select="mc:media">
@ablwr
ablwr / hello.xml
Last active September 22, 2016 02:22
<?xml version="1.0" encoding="UTF-8"?>
<document>
<file>
<title>The first file</title>
<name>one.mkv</name>
<identifier>
<display>My display ID: 1</display>
<secret secret="sesame">My secret ID: 123666</secret>
</identifier>
</file>
@ablwr
ablwr / moon phases
Created September 24, 2016 15:14
get the moon in your bash profile
function moonphase() {
/usr/bin/env ruby <<-EORUBY
# Convert a date to Julian.
def julian(year, month, day)
a = (14-month)/12
y = year+4800-a
m = (12*a)-3+month
return day + (153*m+2)/5 + (365*y) + y/4 - y/100 + y/400 - 32045
end
@ablwr
ablwr / gist:77432ecdbe1235aa1e916915818c666d
Created April 4, 2017 16:47
brew install qctools --HEAD
Last 15 lines from /Users/ashleyblewer/Library/Logs/Homebrew/qctools/02.make:
../../../Source/Core/FileInformation.cpp:721:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (Pos>=ReferenceStat()->x_Current_Max)
~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../Source/Core/FileInformation.cpp:745:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (Frames_Pos+1>=ReferenceStat()->x_Current_Max)
~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -DWITH_SYSTEM_FFMPEG=1 -O2 -fPIC -std=gnu++11 -Wall -W -DUSE_BREW -DQWT_DLL -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/l