Skip to content

Instantly share code, notes, and snippets.

View naeramarth7's full-sized avatar

Sven Herrle naeramarth7

View GitHub Profile
@naeramarth7
naeramarth7 / qemu.rb
Last active December 30, 2016 10:47
qemu 1.7.1 formula for homebrew
require 'formula'
class Qemu < Formula
homepage 'http://www.qemu.org/'
url 'http://wiki.qemu.org/download/qemu-1.7.1.tar.bz2'
sha256 'd68942a004222eebae5d156ceefb308fabd98edb282d1dde49ec810bbf01bef4'
head 'git://git.qemu-project.org/qemu.git'
depends_on 'pkg-config' => :build
@naeramarth7
naeramarth7 / .conkyrc
Created August 5, 2014 20:42
conkyrc for i3
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Prevent flickering
double_buffer yes
# Update interval in seconds
@naeramarth7
naeramarth7 / config
Created August 5, 2014 20:42
i3 configuration
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
@naeramarth7
naeramarth7 / gulpfile.js
Created June 18, 2014 13:19
Basic gulpfile with gulp-livereload and gulp-connect features.
'use strict';
/* global require */
// Define dependencies
var gulp = require('gulp'),
connect = require('gulp-connect'),
livereload = require('gulp-livereload');
// Define file locations
var htmlFiles = [ 'app/**/*.html' ],
@naeramarth7
naeramarth7 / MailMover.vba
Created May 15, 2014 10:20
Outlook MailMover
Option Explicit
Dim objNS As Outlook.NameSpace
Private Sub init()
Set objNS = GetNamespace("MAPI")
End Sub
Public Sub MoveMail()
Dim bChk As Boolean: bChk = True
Dim objFolder As Outlook.MAPIFolder
@naeramarth7
naeramarth7 / dart.js
Created February 28, 2014 10:31
JS / Dart: Load alternative JS file from /js/*.js instead of /dart/*.dart.js
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
(function() {
// Bootstrap support for Dart scripts on the page as this script.
if (navigator.userAgent.indexOf('(Dart)') === -1) {
// TODO:
// - Support in-browser compilation.
// - Handle inline Dart scripts.