This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Use this one-liner to produce a JSON literal from the Git log: | |
git log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
http://code.activestate.com/recipes/577982-recursively-walk-python-objects/ | |
A small function that walks over pretty much any Python object and yields the | |
objects contained within (if any) along with the path to reach them. I wrote it | |
and am using it to validate a deserialized data-structure, but you can probably | |
use it for many things. | |
Example use: In one configuration mechanism I implemented, there exists an | |
UNCONFIGURED sentinel that marks configuration items that are required but |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
SetBatchLines, -1 | |
Gui, Font, s16, Arial | |
Gui, Add, Edit, x10 y10 w450 h30 vPath gUpdate | |
Gui, Add, Button, x460 y10 w30 h30 gSelectFile, ... | |
Gui, Font, s12, Courier New | |
Gui, Add, Edit, x10 y50 w480 h340 vCode ReadOnly -Wrap, <Output> | |
Gui, Show, w496 h398, AutoHotkey Decompiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ====================================================================================================================== | |
; Namespace: LV_Colors | |
; AHK version: AHK 1.1.09.02 | |
; Function: Helper object and functions for ListView row and cell coloring | |
; Language: English | |
; Tested on: Win XPSP3, Win VistaSP2 (U32) / Win 7 (U64) | |
; Version: 0.1.00.00/2012-10-27/just me | |
; 0.2.00.00/2013-01-12/just me - bugfixes and minor changes | |
; 0.3.00.00/2013-06-15/just me - added "Critical, 100" to avoid drawing issues | |
; ====================================================================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
___________________________________________________________________________________ | |
***THE FOLLOWING METHOD(s) ARE USING SIMILAR ROUTINES AND ARE CALLED DYNAMICALLY. | |
THEY REDIRECT TO INTERNAL METHOD(s), THUS, DOCUMENTATION IS STATED HERE*** | |
____________________________________________________________________________________ | |
METHOD(s): addElement/insertElement | |
DEFINITION: Appends or inserts an element node | |
PARAMETER(s): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
SetBatchLines, -1 | |
Gui, New | |
Gui, Margin, 20, 20 | |
; Textfeld mit den Dimensionen der "GroupBox" erstellen | |
Gui, Add, Text, w400 h200 vGB hwndHGB BackGroundTrans Section | |
; Position holen, um den Titel später zentrieren zu können | |
GuiControlGet, GB, Pos | |
; "GroupBox" Rahmen im Textfeld erstellen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* _______________________________________________________________________________________ | |
_____ ______ __ _ | |
|_ _| | ____| /_ || | _ _ _ SKAN (Suresh Kumar A N) | |
| | ___ ___ _ __ | |__ __ __ | || |_| | | | | | [email protected] | |
| | / __/ _ \| '_ \| __| \ \/ / | ||___| | | ' | | | |
_| || (_| (_) | | | | |____ > < | | | | | |__| | Created on : 13-May-2008 | |
|_____\___\___/|_| |_|______/_/\_\ |_|(_) |_| \.___/ Last Modified : 10-Aug-2012 | |
[ I C O N E X P L O R E R A N D E X T R A C T O R ] Version : 1.4u | |
_______________________________________________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ====================================================================================================================== | |
; Function: Creates AHK #Include files for images providing a function which will internally create a bitmap/icon. | |
; AHK version: 1.1.10.01 (U32) | |
; Script version: 1.0.00.02/2013-06-02/just me - added support for icons (HICON) | |
; 1.0.00.01/2013-05-18/just me - fixed bug producing invalid function names | |
; 1.0.00.00/2013-04-30/just me | |
; Credits: Bitmap creation is based on "How to convert Image data (JPEG/PNG/GIF) to hBITMAP?" by SKAN -> | |
; http://www.autohotkey.com/board/topic/21213-how-to-convert-image-data-jpegpnggif-to-hbitmap/?p=139257 | |
; ====================================================================================================================== | |
; This software is provided 'as-is', without any express or implied warranty. |
OlderNewer