Skip to content

Instantly share code, notes, and snippets.

@milsyobtaf
milsyobtaf / vscode_keys.json
Created August 22, 2019 18:39
VS Code Keyboard Customizations
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},

Keybase proof

I hereby claim:

  • I am milsyobtaf on github.
  • I am milsyobtaf (https://keybase.io/milsyobtaf) on keybase.
  • I have a public key ASBh9Q9KJQe8ZN96CpmnvM_3xzeWh96JgyCNTkTzOJJApgo

To claim this, I am signing this object:

@milsyobtaf
milsyobtaf / countCSSRules
Created March 17, 2015 19:35
CSS Selector Counter
function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {
@milsyobtaf
milsyobtaf / seeyouspacecowboy.sh
Last active August 29, 2015 14:03
Custom fork of SEE YOU SPACE COWBOY by @danielrehn
#!/usr/bin/env bash
# SEE YOU SPACE COWBOY by DANIEL REHN (danielrehn.com)
# Displays a timeless message in your terminal with cosmic color effects
# Usage: add "sh ~/seeyouspacecowboy.sh; sleep 2" to .bash_logout (or similar) in your home directory
# (adjust the sleep variable to display the message for more seconds)
# Cosmic color sequence
@milsyobtaf
milsyobtaf / jquery.playgif.js
Created January 31, 2014 17:25
Play Gif, by @jesse of SB Nation
/*!
* Play GIF
*
* by Jesse Young
*
* a jQuery plugin to play GIF animations on mouseover (or any other event).
*
* Examples:
* $('img[src$=".gif"]').playGIF(); // default is mouseover
* $('img[src$=".gif"]').playGIF({on:'click'}); // play animation on click
@milsyobtaf
milsyobtaf / solarized-color.sass
Created December 4, 2013 22:38
Solarized Color Variables
// Solarized Color Variables
$solarized-base03 : #002b36;
$solarized-base02 : #073642;
$solarized-base01 : #586e75;
$solarized-base00 : #657b83;
$solarized-base0 : #839496;
$solarized-base1 : #93a1a1;
$solarized-base2 : #eee8d5;
$solarized-base3 : #fdf6e3;
<?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">
<dict>
<key>author</key>
<string>Jacob Rus</string>
<key>comment</key>
<string>Created by Jacob Rus. Based on ‘Slate’ by Wilson Miner</string>
<key>name</key>
<string>Cowboy - Presentation</string>