Skip to content

Instantly share code, notes, and snippets.

View jimmylin212's full-sized avatar
😎
Awesome

Lin ChingMing jimmylin212

😎
Awesome
View GitHub Profile
@jimmylin212
jimmylin212 / create_commit.py
Last active April 8, 2019 10:19
The python version that create commit by GitHub API
import os
import json
import base64
import shutil
import urllib
import httplib
import urllib2
import hashlib
import subprocess
from urlparse import urlparse
@jimmylin212
jimmylin212 / Dockerfile
Created May 21, 2018 07:53
Build the node environment by this docker file.
FROM ubuntu:latest
## Initailize
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
## Global setting
ENV NODE_VERSION 8.11.2
ENV NVM_VERSION 0.33.1
@jimmylin212
jimmylin212 / HeatTransform.xslt
Last active September 14, 2022 15:19
This powershell script that could generate the .wxs file based on the source directories and build the .msi file using Wix (Windows Install by XML). To use this script, please modify the definition of variables in each function.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
xmlns="http://schemas.microsoft.com/wix/2006/wi"
exclude-result-prefixes="wix">
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="wix:Wix">
<xsl:copy>