Skip to content

Instantly share code, notes, and snippets.

View kylerberry's full-sized avatar

Kyler Berry kylerberry

View GitHub Profile
count=10000
while [ $count -gt 0 ]
do
say 'Kyler'
sleep 60;
let count-=1
done

Keybase proof

I hereby claim:

  • I am kylerberry on github.
  • I am kylerberry (https://keybase.io/kylerberry) on keybase.
  • I have a public key ASC3nvvVptdj2D0Jc-isKnbiVjpgxLmdUM2ual8eCGkvOwo

To claim this, I am signing this object:

#nest1 #nest2 #nest3 #nest4 .my-custom-button {
/* my styles */
}
<div id=”nest1">
<div id=”nest2">
<div id=”nest3">
<div id=”nest4">
<div class=”wistia_embed wistia_async_hnft7yehcp”></div>
</div>
</div>
</div>
</div>
Wistia.plugin(‘rewind’, function(video, options) {
// make a button
var button = document.createElement(‘div’);
button.setAttribute(‘class’, ‘w-control’);
button.innerHTML = ‘Rewind’;
button.style.display = ‘block’;
// on click, rewind the video
button.addEventListener(‘click’, function(e) {
video.time(video.time() — 10);
Wistia.plugin(‘rewind’, function(video, customOptions) {
// make a button
var button = document.createElement(‘div’);
button.setAttribute(‘class’,’w-control’);
button.innerHTML = ‘Rewind’;
 
// on click, rewind the video
button.addEventListener(‘click’, function(e) {
video.time(video.time() — 10);
});
window._wq = window._wq || [];
_wq.push({
id: ‘hnft7yehcp’,
options: {
playerColor: ‘27B95E’,
volumeControl: false,
plugin: {
‘rewind’ : {
customOptions: {},
src: ‘http://localhost:8000/scripts/rewind_plugin.js'
window._wq = window._wq || [];
_wq.push({
id: ‘hnft7yehcp’,
options: {
playerColor: ‘27B95E’,
volumeControl: false,
}
});
@kylerberry
kylerberry / gist:44d3e1d1d2bdb7effb03
Last active August 29, 2015 14:24
grunt-svg-sprite config
grunt.initConfig({
svg_sprite : {
complex : {
cwd : “/svg”,
expand : true,
src : [“*.svg”],
dest : “/sass”,
options : {
shape : {
dimension : {
# shorter status command
alias s='git status'
# add all unstaged changes
# commit with a message parameter
## example: ac "a commit message"
ac() {
git add -A && git commit -m "$1"
}