Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block tmplinshi

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
analyticsearch / DllLoadAnythingViaScript
Created Dec 27, 2018
DynamicWrapperX - Dropper , Registration-Free Execution
View DllLoadAnythingViaScript
#Doesn't Even Have to Be A Conformant COM DLL To trigger the load.
# Sample DLL To inject here
$manifest = '<?xml version="1.0" encoding="UTF-16" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity type="win32" name="LiterallyDoesentMatter" version=""/> <file name="Anyname.dll.anything"> <comClass description="Any Description HERE" clsid="{89565276-A714-4a43-91FE-EDACDCC0FFEE}" threadingModel="Both" progid="JustMakeSomethingUp"/> </file> </assembly>';
$ax = new-object -Com "Microsoft.Windows.ActCtx"
$ax.ManifestText = $manifest;
$DWX = $ax.CreateObject("JustMakeSomethingUp");
TLMcode / GoogleServices.php
Last active Mar 1, 2019
Google API Service Endpoints in PHP & cURL
View GoogleServices.php
class GoogleServices
public function __construct()
levsthings /
Last active Sep 4, 2019
Install Docker CE on Ubuntu 17.10

Installing Docker CE on Ubuntu 17.10 Artful Aardvark

As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.

If you are used to installing Docker to your development machine with get-docker script, that won't work either. So the solution is to install Docker CE from the zesty package.

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sammbertram / dynwrap.js
Created Jun 3, 2017
RegistrationFree DynamicWrapperX
View dynwrap.js
var actCtx = new ActiveXObject( "Microsoft.Windows.ActCtx" );
actCtx.Manifest = "C:\\Tools\\COM\\dynwrap.test.manifest";
var DX = actCtx.CreateObject("DynamicWrapperX");
DX.Register("user32.dll", "MessageBoxW", "i=hwwu", "r=l"); // Register a dll function.
res = DX.MessageBoxW(0, "Hello, world!", "Test", 4); // Call the function.
catch(e){ WScript.Echo("Fail");}
qwerty12 / BrightnessSetter.ahk
Last active Sep 11, 2019
BrightnessSetter: set laptop brightness and show Windows 10's native brightness OSD (
View BrightnessSetter.ahk
class BrightnessSetter {
; qwerty12 - 27/05/17
static _WM_POWERBROADCAST := 0x218, _osdHwnd := 0, hPowrprofMod := DllCall("LoadLibrary", "Str", "powrprof.dll", "Ptr")
__New() {
if (BrightnessSetter.IsOnAc(AC))
this._AC := AC
if ((this.pwrAcNotifyHandle := DllCall("RegisterPowerSettingNotification", "Ptr", A_ScriptHwnd, "Ptr", BrightnessSetter._GUID_ACDC_POWER_SOURCE(), "UInt", DEVICE_NOTIFY_WINDOW_HANDLE := 0x00000000, "Ptr"))) ; Sadly the callback passed to *PowerSettingRegister*Notification runs on a new threadl
OnMessage(this._WM_POWERBROADCAST, ((this.pwrBroadcastFunc := ObjBindMethod(this, "_On_WM_POWERBROADCAST"))))
G33kDude / GDI.ahk
Last active Aug 11, 2019
GDI wrapper for AutoHotkey
View GDI.ahk
class GDI
__New(hWnd, CliWidth=0, CliHeight=0)
if !(CliWidth && CliHeight)
VarSetCapacity(Rect, 16, 0)
DllCall("GetClientRect", "Ptr", hWnd, "Ptr", &Rect)
CliWidth := NumGet(Rect, 8, "Int")
CliHeight := NumGet(Rect, 12, "Int")
Uberi / Speech Recognition.ahk
Created Aug 18, 2013
Speech recognition with Microsoft's SAPI. A simple SpeechRecognizer class provides a quick and easy way to use speech recognition in your scripts. Inspired by some [prototype code]( made a long time ago.
View Speech Recognition.ahk
#Warn All
#Warn LocalSameAsGlobal, Off
Speech Recognition
A class providing access to Microsoft's SAPI. Requires the SAPI SDK.
AHK-just-me / Image2Include.ahk
Last active Jun 3, 2019
Create include files from images which can be used without external files.
View Image2Include.ahk
; ======================================================================================================================
; Function: Creates AHK #Include files for images providing a function which will internally create a bitmap/icon.
; AHK version: (U32)
; Script version: me - added support for icons (HICON)
; me - fixed bug producing invalid function names
; me
; Credits: Bitmap creation is based on "How to convert Image data (JPEG/PNG/GIF) to hBITMAP?" by SKAN ->
; ======================================================================================================================
; This software is provided 'as-is', without any express or implied warranty.
AHK-just-me / Class_CCButton.ahk
Last active Feb 24, 2018
Class CCButton - Colored Captions on Buttons
View Class_CCButton.ahk
; ======================================================================================================================
; Namespace: CCButton
; Function: Helper class for colored captions on themed pushbuttons.
; AHK version: (U32)
; Language: English
; Version: me
; ======================================================================================================================
; How to use: To register a GUI pushbutton call
; CCButton.Attach()
; passing two parameters:
AHK-just-me / GuiControlAddBox.ahk
Last active Dec 15, 2015
GuiControlAddBox (DE)
View GuiControlAddBox.ahk
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
You can’t perform that action at this time.