Skip to content

Instantly share code, notes, and snippets.

@gibbage
gibbage / cvimrc
Last active October 2, 2018 01:29
Customised settings for the Chrome cVim extension.
let blacklists = ["*://mail.google.com/*", "*://inbox.google.com/*", "https://github.com/*", "https://git.realestate.com.au/*", "https://outlook.live.com/*", "https://trello.com/*"]
" blacklists prefixed by '@' act as a whitelist

Keybase proof

I hereby claim:

  • I am gibbage on github.
  • I am gibbage (https://keybase.io/gibbage) on keybase.
  • I have a public key whose fingerprint is B8B4 136B 757A 54BA 4A2B E6D9 BAC5 970E F6F8 89E6

To claim this, I am signing this object:

@gibbage
gibbage / JavaScript_Jasmine.xml
Created November 20, 2014 23:08
JavaScript: Jasmine templates for JetBrains IDEs. On OSX save in ~/Library/Preferences/RubyMine60/templates
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="JavaScript - Jasmine">
<template name="dd" value="describe('$DESCRIPTION$', function () {&#10; $END$&#10;});" description="insert describe block" toReformat="true" toShortenFQNames="true">
<variable name="DESCRIPTION" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="it" value="it('$DESCRIPTION$', function () {&#10; $END$&#10;});" description="insert new assertion" toReformat="false" toShortenFQNames="true">
<variable name="DESCRIPTION" expression="" defaultValue="" alwaysStopAt="true" />
@gibbage
gibbage / .slate
Created November 13, 2014 03:00
Slate config of OSX
# Settings
config defaultToCurrentScreen true
# Shows app icons and background apps, spreads icons in the same place.
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
# Abstract positions
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>Setting content testing hasOwnProperty</title>
</head>
<body>
</body>