This file contains hidden or 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 Problem: | |
; I love the hotcorner(s) in GNOME & KDE, and kept finding myself | |
; trying to use them since I've been forced to use windows 10 (winshit). | |
;My solution: | |
; download & install: https://autohotkey.com/ | |
; save this script with the extension ".ahk" | |
; click on the script to start it and/or set it to launch automatically. | |
#Persistent |
This file contains hidden or 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
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |