Skip to content

Instantly share code, notes, and snippets.

View bellerus's full-sized avatar

Brian Garcia bellerus

  • DocJuris
  • Houston, TX
View GitHub Profile
@bellerus
bellerus / Segment Debugger.js
Created October 24, 2016 19:30 — forked from alexgb/Segment Debugger.js
Segment.io debugger
var _asAnalyticsMethodColors = {
identify: "#c66",
alias: "#c66",
track: "#66c",
page: "#c6c",
_default: "#888"
};
function _asAnalyticsLog(method, objects) {
var color = _asAnalyticsMethodColors[method] || _asAnalyticsMethodColors._default;
# grunt-newer:
# Check for newer @import .less files example
# See: https://github.com/tschaub/grunt-newer/issues/29
# CoffeeScript version of @cgmartin https://gist.github.com/cgmartin/10328349
checkForModifiedImports = (details, action) ->
lessFile = details.path
mTime = details.time
@bellerus
bellerus / keybase.md
Created March 27, 2014 17:03
Proving Keybase

Keybase proof

I hereby claim:

  • I am bellerus on github.
  • I am bg (https://keybase.io/bg) on keybase.
  • I have a public key whose fingerprint is F277 D8D2 72B9 BE43 594F B864 86F1 7CF3 3A33 7C38

To claim this, I am signing this object:

@bellerus
bellerus / dabblet.css
Created July 19, 2013 00:19
Relative/Absolute
/* Relative/Absolute */
body {
font-family: helvetica;
}
.boxy {
border: 2px double black;
margin: 0 0 10px 0;
padding: 10px;
}
/* Floats */
body {
font-family: helvetica;
}
.boxy {
border: 2px double black;
margin: 0 0 10px 0;
padding: 10px;
}
@bellerus
bellerus / dabblet.css
Created July 18, 2013 19:28
Inheritance
/* Inheritance */
body {
background: black;
font-family: helvetica;
}
.container {
color: white;
padding: 30px;
text-align: left;
@bellerus
bellerus / dabblet.css
Created July 16, 2013 22:26
Selectors
/* Selectors */
body {
background: #00a3e6;
color: white;
font-size: 40px;
font-family: Helvetica;
min-height: 100%;
}
/* descendant */
<div class="column-holder">
<div class="variable-column">
<h2>Columnists</h2>
<article class="item-summary article">
@bellerus
bellerus / PS3.plist
Created September 15, 2012 13:37 — forked from abevoelker/PS3.plist
HandBrake Xbox 360 / PS3 preset from version 0.93
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>AudioList</key>
<array>
<dict>
<key>AudioBitrate</key>
<string>160</string>