Skip to content

Instantly share code, notes, and snippets.

View 1415926535's full-sized avatar
🙊

charlyRoot 1415926535

🙊
  • 96 Products
  • Pawleys Island, SC
View GitHub Profile
@1415926535
1415926535 / docker-compose.yml
Created August 28, 2020 17:20 — forked from ju2wheels/docker-compose.yml
docker-compose reference YAML file with comments
# https://docs.docker.com/compose/yml/
# Each service defined in docker-compose.yml must specify exactly one of
# image or build. Other keys are optional, and are analogous to their
# docker run command-line counterparts.
#
# As with docker run, options specified in the Dockerfile (e.g., CMD,
# EXPOSE, VOLUME, ENV) are respected by default - you don't need to
# specify them again in docker-compose.yml.
#
service_name:
@1415926535
1415926535 / .aliases
Last active August 27, 2020 17:05 — forked from yaoyunchen/.aliases
Aliases (~/.aliases)
# Docker
alias d='docker'
# alias da='docker attach'
alias dr='docker restart'
alias dimg='docker images'
alias dps='docker ps'
alias dvol='docker volume ls'
# alias dclearimg='docker rmi $(docker images --quiet --filter "dangling=true")'
# alias dclearps='docker ps --filter status=dead --filter status=exited -aq | xargs docker rm -v'
# alias dclearvol='docker volume rm $(docker volume ls -qf dangling=true)'
@1415926535
1415926535 / dev-mode.ahk
Created November 13, 2018 19:11
AHK - Toggle WSL Terminal with F1
F1::
IfWinExist, ahk_exe ubuntu1804.exe
{
IfWinActive
WinHide
else
WinActivate
WinSet, AlwaysOnTop, On, ahk_exe ubuntu1804.exe
}
Else
@1415926535
1415926535 / 0_reuse_code.js
Created August 30, 2017 19:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
// HELPER
$spaceamounts: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 75, 100
// Adjust this to include the pixel amounts you need.
$sides: top, bottom, left, right
// Leave this variable alone
@each $space in $spaceamounts
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
// var purify = require('purifycss-webpack-plugin');
module.exports = {
entry: './src/main.js',
output: {
path: __dirname + '/public', //NOTE CHANGE
filename: 'bundle.js'
},
@1415926535
1415926535 / LAMP
Last active December 17, 2016 22:21
#!/bin/bash
#Instructions to use this script
#
#chmod +x SCRIPTNAME.sh
#
#sudo ./SCRIPTNAME.sh
echo "###################################################################################"
echo "Please be Patient: Installation will start now.......and it will take some time :)"