Skip to content

Instantly share code, notes, and snippets.

View luong-komorebi's full-sized avatar
🫠
I may be slow to respond.

Luong Vo luong-komorebi

🫠
I may be slow to respond.
View GitHub Profile
Store Date Weekly_Sales Holiday_Flag Temperature Fuel_Price CPI Unemployment
1 05-02-2010 1643690.9 0 42.31 2.572 211.0963582 8.106
1 12-02-2010 1641957.44 1 38.51 2.548 211.2421698 8.106
1 19-02-2010 1611968.17 0 39.93 2.514 211.2891429 8.106
1 26-02-2010 1409727.59 0 46.63 2.561 211.3196429 8.106
1 05-03-2010 1554806.68 0 46.5 2.625 211.3501429 8.106
1 12-03-2010 1439541.59 0 57.79 2.667 211.3806429 8.106
1 19-03-2010 1472515.79 0 54.58 2.72 211.215635 8.106
1 26-03-2010 1404429.92 0 51.45 2.732 211.0180424 8.106
1 02-04-2010 1594968.28 0 62.27 2.719 210.8204499 7.808
@luong-komorebi
luong-komorebi / docker-compose.yml
Created August 1, 2025 07:33
VLLM example working docker compose with nginx
version: '3.8'
services:
vllm:
image: vllm/vllm-openai:latest
container_name: deepseek-coder-vllm
restart: unless-stopped
expose:
- "8000"
volumes:
@luong-komorebi
luong-komorebi / key_to_json
Created April 4, 2024 03:56 — forked from pepoviola/key_to_json
convert new lines into \n for use ssh key in json
sed ':a;N;$!ba;s/\n/\\n/g' my_key.pem
or in vi
:%s/\n/\\n/
https://tickets.opscode.com/browse/CHEF-3540
@luong-komorebi
luong-komorebi / Makefile
Created November 15, 2022 11:26 — 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)
@luong-komorebi
luong-komorebi / eksctl-schema.json
Last active August 18, 2023 06:11
eks configuration file generated with eksctl utils schema
{
"$ref": "#/definitions/ClusterConfig",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AZSubnetMapping": {
"additionalProperties": {
"$ref": "#/definitions/AZSubnetSpec"
},
"type": "object",
@luong-komorebi
luong-komorebi / jhub-schema.json
Created October 26, 2022 15:07
jupyterhub schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"imagePullSecrets",
"hub",
"proxy",
"singleuser",
"ingress",
@luong-komorebi
luong-komorebi / bitbucket-pipelines.yml
Created August 14, 2022 09:45 — forked from qumberrizvi/bitbucket-pipelines.yml
Bitbucket Pipelines CI/CD: SSH into a server to git pull without conflict. Avoid failure when auto merge tries to open editor for commit message.
# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: php:7.1.29
pipelines:
default:
- step:

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@luong-komorebi
luong-komorebi / default_color.fish
Created November 11, 2021 14:47 — forked from edouard-lopez/default_color.fish
default_color.fish
set -L
set -U fish_color_normal normal
set -U fish_color_command 005fd7
set -U fish_color_quote 999900
set -U fish_color_redirection 00afff
set -U fish_color_end 009900
set -U fish_color_error ff0000
set -U fish_color_param 00afff
set -U fish_color_comment 990000
set -U fish_color_match --background=brblue
@luong-komorebi
luong-komorebi / fix_mosh_function.sh
Last active November 4, 2020 10:21
Make mosh work for os x (bypass os x firewall)
fix_mosh_server() {
local fw='/usr/libexec/ApplicationFirewall/socketfilterfw'
local mosh_sym="$(which mosh-server)"
local mosh_abs="$(greadlink -f $mosh_sym)"
sudo "$fw" --setglobalstate off
sudo "$fw" --add "$mosh_sym"
sudo "$fw" --unblockapp "$mosh_sym"
sudo "$fw" --add "$mosh_abs"
sudo "$fw" --unblockapp "$mosh_abs"