Skip to content

Instantly share code, notes, and snippets.

View hieupm37's full-sized avatar
💭
Power of CREATION!

Hieu Phan hieupm37

💭
Power of CREATION!
View GitHub Profile
@hieupm37
hieupm37 / robocopy.bat
Created April 21, 2017 06:58
Copy for translation reviews
robocopy /s src trans *.grd *.grdp *.xtb
@hieupm37
hieupm37 / windows_show_hide_taskbar_icon.cc
Created October 17, 2016 07:05
Windows Show/Hide Taskbar Icon
#include <windows.h>
#include <shobjidl.h>
const GUID CLSID_TaskbarList = {0x56FDF344, 0xFD6D, 0x11D0, {0x95, 0x8A, 0x00, 0x60, 0x97, 0xC9, 0xA0, 0x90}};
const GUID IID_ITaskbarList = {0x56FDF342, 0xFD6D, 0x11D0, {0x95, 0x8A, 0x00, 0x60, 0x97, 0xC9, 0xA0, 0x90}};
const GUID IID_ITaskbarList2 = {0x602D4995, 0xB13A, 0x429b, {0xA6, 0x6E, 0x19, 0x35, 0xE4, 0x4F, 0x43, 0x17}};
const GUID IID_ITaskList3 = {0xEA1AFB91, 0x9E28, 0x4B86, {0x90, 0xE9, 0x9E, 0x9F, 0x8A, 0x5E, 0xEF, 0xAF}};
void ShowTaskbarIcon(HWND WindowHandle)
{
ITaskbarList* TaskListPtr;
CoInitialize(nullptr);
@hieupm37
hieupm37 / build_gtags.sh
Last active February 3, 2016 04:15
Build gtags for chromium project
#!/bin/bash
find . -type d \( -path "./third_party" -o -path "./build" -o -path "./out" \) -prune -o -type f -name '*.cc' -o -name '*.mm' -o -name '*.h' | gtags -f -
@hieupm37
hieupm37 / load_gist_loader.xml
Created July 11, 2012 17:31
loadGistLoader
<script src="https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js" type="text/javascript">
</script>
<div class="gistLoad" data-id="ID" id="gist-ID">Loading ....</div>
@hieupm37
hieupm37 / hello-world.c
Created July 2, 2012 17:08
Hello world
#include <stdio.h>
int main(int argc, char **argv) {
printf("Hello World");
}