Skip to content

Instantly share code, notes, and snippets.

Duncan legowerewolf

Block or report user

Report or block legowerewolf

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
@legowerewolf
legowerewolf / profile.json
Last active Aug 4, 2019
Powershell 6 profile for the new Windows Terminal
View profile.json
{
"acrylicOpacity": 0.5,
"background": "#012456",
"closeOnExit": true,
"colorScheme": "Campbell",
"commandline": "%ProgramFiles%/PowerShell/6/pwsh.exe",
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"fontFace": "Consolas",
"fontSize": 10,
View handler.ts
import { IncomingMessage, ServerResponse } from "http";
import { parse } from "url";
export default (req: IncomingMessage, res: ServerResponse) => {
let response = {
profiles: [
{ icon: "./img/twitter.png", username: "@Legowerewolf", link: "https://twitter.com/Legowerewolf" },
{ icon: "./img/instagram.png", username: "@legowerewolf", link: "https://www.instagram.com/legowerewolf/" },
{ icon: "./img/mastodon.png", username: "@Legowerewolf@mastodon.social", link: "https://mastodon.social/@Legowerewolf" },
{ icon: "./img/github.png", username: "legowerewolf", link: "https://github.com/legowerewolf" },
View hyperstart.bat
@ECHO off
:top
CLS
ECHO Choose a shell:
ECHO [1] cmd
ECHO [2] bash
ECHO [3] PowerShell
ECHO [4] Python
ECHO.
ECHO [5] restart elevated
@legowerewolf
legowerewolf / Dockerfile
Created Mar 23, 2018
Dockerfile for an Outline server on Alpine Linux
View Dockerfile
FROM alpine:latest
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
&& apk update \
&& apk add docker curl \
&& wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh \
| sh
View docker.md
You can’t perform that action at this time.