Skip to content

Instantly share code, notes, and snippets.

View mickdekkers's full-sized avatar

Mick Dekkers mickdekkers

  • Lab Digital
  • Apeldoorn, Netherlands
View GitHub Profile
@mickdekkers
mickdekkers / dks2wiki_levelcost
Created October 17, 2014 13:26
Extract Dark Souls 2 Cost of Leveling from http://darksouls2.wikidot.com/level
/*
* Code snippet to extract Dark Souls 2 Cost of Leveling from http://darksouls2.wikidot.com/level
*/
// Load jQuery
(function(a){if(!a.jQuery){var d=document,b=d.createElement('script');b.src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';d.getElementsByTagName('head')[0].appendChild(b)}})(this);
// Set jQuery variable
$ = jQuery;
// Clean up tables
@mickdekkers
mickdekkers / github.monokai.css
Last active October 4, 2015 12:28
Github syntax highlighting - Monokai theme
.container .highlight span.pl-c {
color: #75715e;
}
.container .highlight span.pl-c1 {
color: #ae81ff;
}
.container .highlight span.pl-en {
color: #a6e22e;
@mickdekkers
mickdekkers / gobyexample.monokai.css
Created September 30, 2015 17:35
Go by Example syntax highlighting - Monokai theme
/* Syntax highlighting */
body div.highlight {
color: #fff ;
background-color: #272822 ;
padding: 5px;
}
body .code {
background-color: #272822 ;
@mickdekkers
mickdekkers / skypestatus.ahk
Created May 27, 2016 16:39
Change your Skype status programmatically
#NoEnv
#NoTrayIcon
#SingleInstance ignore
; The path to Skype's executable
skypePath := "C:\Program Files (x86)\Skype\Phone\Skype.exe"
; Used to identify Skype's main window
skypeWin := "ahk_exe Skype.exe ahk_class tSkMainForm"
; The X coordinate of all the status buttons
statusXCoord := 56
@mickdekkers
mickdekkers / speak.ahk
Created June 8, 2016 21:53
Command line Text-to-Speech
#NoEnv
; Require exactly one command line argument
; "The left side of a non-expression if-statement is always the name of a variable." -- https://autohotkey.com/docs/Scripts.htm#cmd
if 0 != 1
{
; Exit the script with code 1 (error)
ExitApp, 1
}
@mickdekkers
mickdekkers / SM26G.cfg
Created July 19, 2016 20:07
LIRC/WinLIRC remote config for Maiko Smartcool SM26G Air Conditioner
#
# this config file was automatically generated
# using lirc-0.9.0(emulation) on Sat Jul 02 17:18:59 2016
#
# contributed by Mick Dekkers <mickdekkersnl@gmail.com>
#
# brand: Maiko
# model no. of remote control: SM26G
# supported devices: SM26G Air Conditioner
#
@mickdekkers
mickdekkers / SnapshotCamera.cs
Last active March 8, 2024 19:02
Take snapshot images of Prefabs and GameObjects in Unity using Render Textures
using UnityEditor;
using UnityEngine;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
// Object rendering code based on Dave Carlile's "Create a GameObject Image Using Render Textures" post
// Link: http://crappycoding.com/2014/12/create-gameobject-image-using-render-textures/
@mickdekkers
mickdekkers / snazzy.xml
Last active March 22, 2019 11:03
Sindre Sorhus' Snazzy theme ported to ConEmu -- see https://github.com/joonro/ConEmu-Color-Themes#how-to-install for installation instructions
<key name="Palette1" modified="2016-11-18 17:52:55" build="160710">
<value name="Name" type="string" data="Snazzy"/>
<value name="ExtendColors" type="hex" data="00"/>
<value name="ExtendColorIdx" type="hex" data="00362a28"/>
<value name="TextColorIdx" type="hex" data="00ebf0ef"/>
<value name="BackColorIdx" type="hex" data="00362a28"/>
<value name="PopTextColorIdx" type="hex" data="00ebf0ef"/>
<value name="PopBackColorIdx" type="hex" data="00362a28"/>
<value name="ColorTable00" type="dword" data="00362a28"/>
<value name="ColorTable01" type="dword" data="00ffc757"/>
@mickdekkers
mickdekkers / after.js
Created February 28, 2017 15:20
Directory Named Webpack Plugin migration regex
import Map from 'component/map'
import Carousel from 'component/carousel'
import Home from 'page/home'
@mickdekkers
mickdekkers / keybase.md
Created October 18, 2017 22:15
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: