Skip to content

Instantly share code, notes, and snippets.

@rgarrigue
rgarrigue / browser.py
Created May 10, 2019 06:55 — forked from nbrochu/browser.py
Python Pseudo-Electron Boilerplate (Windows)
import os
import sys
import math
import time
import threading
import webbrowser # To launch the remote debugging page
import win32api #
import win32con # pip install pywin32
import win32gui #
@rgarrigue
rgarrigue / boxstarter.ps1
Last active February 23, 2018 10:31 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Rémy Garrigue, forked from Jess Frazelle's
# Last Updated: 2018-02-15
################################################## HOWTO
# From CMD as administrator, install chocolatey, install boxstarter, run this script
# @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
# cinstm boxstarter -y
# start http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rgarrigue/8de7a22ac468a94958dfd4ea88c53037/raw/1713bc3e73a8a3b0e2ca4cae34947c19b43b2bd9/boxstarter.ps1