Skip to content

Instantly share code, notes, and snippets.

Tarulia mihawk90

Block or report user

Report or block mihawk90

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mihawk90
mihawk90 / breeze_dark.reg
Created Jun 20, 2018
Breeze Dark theme for Wine
View breeze_dark.reg
[Control Panel\\Colors] 1491939580
#time=1d2b2fb5c69191c
"ActiveBorder"="49 54 58"
"ActiveTitle"="49 54 58"
"AppWorkSpace"="60 64 72"
"Background"="49 54 58"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="49 54 58"
"ButtonHilight"="119 126 140"
View simulator_trads_de.json
"SIMULATOR": {
"Progress": "Fortschritt",
"Quality": "Qualität",
"Step_counter": "Schritt",
"Durability": "Durability", //TODO How is it in DE client?
"Hq": "HQ",
"Cp_amount": "HP", // I think? Handwerkspunkte(?)
"Simulate_tooltip": "Im Simulator herstellen", //how to translate "craft" properly?
"Configuration": "Einstellungen",
"Level": "Level", // does DE client translate "level" to "Stufe"?
View gist:b59170f07cd9cfe1d85d

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@mihawk90
mihawk90 / Komodo Hex to RGBA.js
Last active Dec 18, 2015
A simple Macro for replacing Hex Color values with RGBA values in Komodo Select the color value, press macro and it replaces the value automatically
View Komodo Hex to RGBA.js
//inspired by http://stackoverflow.com/a/5624139
function hexToRgb(hex) {
// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
hex = hex.replace(shorthandRegex, function(m, r, g, b) {
return r + r + g + g + b + b;
});
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
return result ? "rgba("+
You can’t perform that action at this time.