Skip to content

Instantly share code, notes, and snippets.

View kilip's full-sized avatar
🏠
In Search of Enlightenment

Anthonius Munthi kilip

🏠
In Search of Enlightenment
View GitHub Profile
@kilip
kilip / instructions.md
Created May 27, 2022 03:08 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@kilip
kilip / Makefile
Created May 18, 2022 03:19 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@kilip
kilip / heroku.md
Created August 22, 2021 07:27
Heroku Configuration
$ git remote add heroku git@heroku.com:project.git
$ heroku git:remote -a project
@kilip
kilip / truenas-kubernetes.md
Last active October 22, 2020 03:55
TrueNAS Scale Kubernetes Step
midclt call -job kubernetes.update '{"pool": "hd1","cluster_cidr":"10.42.0.0/16", "service_cidr": "10.43.0.0/16","cluster_dns_ip":"10.43.0.10","route_v4_interface":"enp0s3","route_v4_gateway": "10.0.60.1"}'
@kilip
kilip / led_strip_controller_44button_remote_protocol.txt
Last active January 21, 2020 08:06 — forked from Derpidoo/led_strip_controller_44button_remote_protocol.txt
RGB LED Strip Controller 44 Button IR Remote Codes
RGB LED Strip Controller w/44 Button IR Remote Protocol
E.g. https://www.amazon.com/Flexible-Changing-Non-Waterproof-Controller-Included/dp/B01EWBZW0A/
"Hue hue hue" -you, after saving hundreds on your smart lighting
IR Wavelength: 940nm
Code Type: NEC
Code Length: 32 bit
## Function Code
===.====================.=======
@kilip
kilip / docker.md
Created January 17, 2020 12:08
docker shortcut
docker system prune -fa --volumes
@kilip
kilip / php-phpdbg-proxy.sh
Created June 8, 2019 15:24 — forked from VeryStrongFingers/php-phpdbg-proxy.sh
PHPStorm - PHP-PHPDBG Interpreter proxy
#!/bin/bash
#### Dirty/Fake PHP Interpreter to trick PHPStorm into using PHPDBG for running tests with/without code coverage
## For Mac/Linux only, Window's ubuntu subsystem theoretically would work too
##
##
## Related JetBrain's issues/feature requests
## https://youtrack.jetbrains.com/issue/WI-21414
## https://youtrack.jetbrains.com/issue/WI-29112
##
@kilip
kilip / php_mdb.rst
Created May 6, 2019 10:42 — forked from amirkdv/php_mdb.rst
How to handle MS Access MDB files in Linux with PHP5 PDO and ODBC

To be able to use PHP5 PDO with MS Access mdb files the following is required (the same applies for the PHP4 style of using odbc_X except for the obviously PDO specific requirements):

PHP ODBC module

In Linux this is achieved by intalling the php5-odbc package:

@kilip
kilip / php-compile-deps.md
Created March 20, 2019 05:32
PHP Compile Deps

libbz2-dev libssl-dev libcurl4-openssl-dev pkg-config libjpeg8-dev libpng-dev libfreetype6-dev libxpm-dev libgd-dev libpq-dev libreadline-dev libxslt1-dev