Skip to content

Instantly share code, notes, and snippets.

########################### NETWORKS
# You may customize the network subnet (192.168.89.0/24) below as you please.
# Docker Compose version 3.5 or higher required to define networks this way.
networks:
default:
driver: bridge
services:
# portainer - webui for containers
@thewinger
thewinger / VirtualBox_Linux_Headless_Run_Windows10.md
Created August 23, 2022 10:56 — forked from rikka0w0/VirtualBox_Linux_Headless_Run_Windows10.md
[VirtualBox] Run Windows10 Headlessly on Linux

https://redplus.me/post/set-up-headless-windows-10-virtual-machine-on-remote-linux-server/ https://www.ostechnix.com/install-oracle-virtualbox-ubuntu-16-04-headless-server/ https://www.howtoforge.com/tutorial/running-virtual-machines-with-virtualbox-5.1-on-a-headless-ubuntu-16.04-lts-server/

Installation

$ sudo nano /etc/apt/sources.list
      deb http://download.virtualbox.org/virtualbox/debian stretch contrib
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ sudo apt-get update
function layout() {
return {
name: 'Web Dev',
getFrameAssignments: (windows, screenFrame) => {
const webWidth = 1319
const secondaryHeight = screenFrame.height / windows.length
let frame
const frames = windows.map((window, index) => {
if (index === 1) {
frame = {
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
export BASH_CONF="bash_profile"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
BLACK=$(tput setaf 0)
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
# Path to your oh-my-zsh installation.
export ZSH=/Users/win/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
#
DEFAULT_USER='win'
@thewinger
thewinger / .zshrc
Created April 14, 2016 10:26
.zshrc
# Path to your oh-my-zsh installation.
export ZSH=/Users/win/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
#
DEFAULT_USER='win'
{
"name": "inuit",
"private": true,
"dependencies": {
"inuit-defaults": "latest",
"inuit-responsive-settings": "latest",
"inuit-functions": "latest",
"inuit-mixins": "latest",
"inuit-responsive-tools": "latest",
@thewinger
thewinger / html:5
Created June 5, 2015 09:25
HTML:5 Snippet for emmet.vim
\ 'html:5': "<!DOCTYPE html>\n"
\ ."<html lang=\"${lang}\">\n"
\ ."<head>\n"
\ ."\t<meta charset=\"${charset}\">\n"
\ ."\t<title></title>\n"
\ ."\t<link rel=\"stylesheet\" src=\"css/main.css\">\n"
\ ."\t<meta name=\"description\" content=\"\">\n"
\ ."\t<meta name=\"keywords\" content=\"\">\n"
\ ."</head>\n"
\ ."<body>\n\t${child}|\n</body>\n"
@thewinger
thewinger / .gitignore
Last active March 17, 2016 09:11
gitignore
# NODE_MODULES #
################
node_modules
**/node_modules/*
node_modules/**
# SASS_CACHE #
##############
**/.sass-cache
**/.sass-cache/*
@thewinger
thewinger / package.json
Last active August 30, 2016 12:45
curl -L https://gist.github.com/thewinger/163f86fbe996f1b45023/download | tar -xvz --strip-components=1 && chmod u+x start-project.sh && ./start-project.sh
{
"name": "Winproject",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Alejandro Camara",
"license": "ISC",