Skip to content

Instantly share code, notes, and snippets.

View lukasbob's full-sized avatar

Mads Vestergård Jacobsen lukasbob

  • Siteimprove
  • Denmark
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

<#
Script to remove sites that have been created by Jenkins based on Git feature branches.
This creates a hash of branches that exist on the Git remote,
and removes sites that match IIS:\Sites\dev\pfg-[branchname]
where the branch is not present in the hash.
IMPORTANT!
This presupposes that the folder in which it is run is a git repository that is
up-to-date with the remote repository.
@lukasbob
lukasbob / vimrc
Last active October 27, 2015 18:16
vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_structs = 1
let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1
<!doctype html>
<html>
<head>
<title></title>
<style type="text/css">
table {
table-layout: fixed;
border-collapse: collapse;
width: 100%;
height: 100%;
@lukasbob
lukasbob / gist:1874904
Created February 21, 2012 07:43
Pandoc CSS for HTML template
body { width: 960px; margin: 0 auto; font: 12px/1.4 calibri, sans-serif }
figure img { max-width: 100% }
@lukasbob
lukasbob / reload_file.py
Created August 2, 2011 12:17
Reload file after manipulating from external program.
import sublime
import sublime_plugin
import functools
class ThingyCommand(sublime_plugin.TextCommand):
def run(self, edit):
# ...code to write out file here
sublime.set_timeout(functools.partial(self.view.run_command, 'revert'), 0)
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<!-- The Outside events plugin: -->
<script src="http://github.com/cowboy/jquery-outside-events/raw/v1.1/jquery.ba-outside-events.min.js" type="text/javascript"></script>
<script src="http://github.com/lukasbob/Tooltip-Toolbox/raw/master/js/tooltip.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".dropdown_link").tt({