Skip to content

Instantly share code, notes, and snippets.

View aeolyus's full-sized avatar
🐦
the birds work for the boulangerie

Richard Huang aeolyus

🐦
the birds work for the boulangerie
View GitHub Profile
@aeolyus
aeolyus / docker-compose.yaml
Created June 15, 2022 23:05
docker-monero-xmrig
version: "3"
services:
monero:
container_name: monero
image: metal3d/xmrig
restart: unless-stopped
environment:
- POOL_URL=gulf.moneroocean.stream:10032
- POOL_USER=4BFraLXqSzXSadXfyc55SnD86zufnieLq4QcPPsU1GgCd6pC8JUk88LhDfwMzryfZxCh2DWqCu9mA1NUHUiLMzMu6nyy8Ty
@aeolyus
aeolyus / base16-nord.sh
Created June 12, 2021 19:01
base16-nord color scheme fix
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Nord scheme by aeolyus based on arcticicestudio's
color00="3b/42/52" # Base 00 - Black
color01="bf/61/6a" # Base 08 - Red
color02="a3/be/8c" # Base 0B - Green
color03="eb/cb/8b" # Base 0A - Yellow
color04="81/a1/c1" # Base 0D - Blue
@aeolyus
aeolyus / dztech_dz60rgb_ansi_v2_layout.json
Created September 21, 2020 04:37
DZ60RGB-ANSI V2 (PCB0029) Layout
{
"version":1,
"notes":"",
"documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard":"dztech/dz60rgb_ansi/v2",
"keymap":"dztech_dz60rgb_ansi_v2_layout_60_ansi_mine",
"layout":"LAYOUT_60_ansi",
"layers":[
[
"KC_GESC",

Keybase proof

I hereby claim:

  • I am aeolyus on github.
  • I am aeolyus (https://keybase.io/aeolyus) on keybase.
  • I have a public key whose fingerprint is 436B E11F 345A 8352 120A FD5B FFDE F81D 05C2 EC94

To claim this, I am signing this object:

@aeolyus
aeolyus / iptables.sh
Last active December 15, 2016 04:40
Redirect a port to another port using iptables
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
@aeolyus
aeolyus / cupHolder.vbs
Last active December 15, 2016 04:41
Cup Holder
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
wscript.sleep 600000
do
if colCDROMs.Count >=1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject