Skip to content

Instantly share code, notes, and snippets.

View aciddust's full-sized avatar
:shipit:
Ram-G Thunder

Seongchuel Ahn aciddust

:shipit:
Ram-G Thunder
  • Seoul, Korea, Republic of
  • 05:55 (UTC +09:00)
View GitHub Profile
@aciddust
aciddust / README.md
Last active December 9, 2021 17:02
.codebuild/buildspec.yml

Deploy cli on your Codebuild

buildspec.yml

buildspec for running codebuild

custom_command.py

command what you made, using like python manage.py custom_command

helper.py

some util snipet

@aciddust
aciddust / README.md
Last active December 9, 2021 16:59
ElasticBeanstalk deploy script on Github Action

ElasticBeanstalk deploy script on Github Action

@aciddust
aciddust / README.md
Last active December 9, 2021 16:58
GitHub Action when deploy to EB, your python & node

GitHub Action to deploy to AWS when pushed to a specific branch.

@aciddust
aciddust / README.md
Last active December 9, 2021 16:55
ebextension settings for django deployment

.ebextension setup

for Python: Django on AWS EB

00django.config

Python enviornment setup

01resources.config

ELB Scaling setup

02wsgi_custom.config

@aciddust
aciddust / README.md
Last active December 9, 2021 16:50
Add AWS Inbound source on your Lambda
@aciddust
aciddust / README.md
Created December 10, 2021 07:08
Insert BigQuery data as row on your GSpread by AppScript

Google BigQuery -> AppScript -> Google SpreadSheet

@aciddust
aciddust / README.md
Last active December 13, 2021 03:04
Get YYYY-MM and return YYYY-MM + 1 month
$ python main.py '2021-12'
2022-01
@aciddust
aciddust / example.json
Created December 14, 2021 05:22
vscode global settings.json example
{
"workbench.colorTheme": "Material Theme Darker",
"security.workspace.trust.untrustedFiles": "open",
"editor.fontFamily": "D2Coding ligature,Menlo, Monaco, 'Courier New', monospace",
"editor.tabSize": 2,
"editor.codeLens": false,
"redhat.telemetry.enabled": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
@aciddust
aciddust / README.md
Created December 15, 2021 06:09 — forked from arikfr/README.md
Setting up HTTPS with LetsEncrypt for Redash Docker Deployment
  1. Make sure the domain you picked points at the IP of your Redash server.
  2. Switch to the root user (sudo su).
  3. Create a folder named nginx in /opt/redash.
  4. Create in the nginx folder two additional folders: certs and certs-data.
  5. Create the file /opt/redash/nginx/nginx.conf and place the following in it: (replace example.redashapp.com with your domain name)
    upstream redash {
        server redash:5000;
    }
    
@aciddust
aciddust / main.go
Last active March 8, 2022 10:36
Go cheat sheet for me..
package main
type M map[string]interface{}
func main() {
integerList := []int{1, 2, 3, 4}
// [1 2 3 4]
stringObj := map[int]string{1: "Hello", 2: "World"}
// map[1:Hello 2:World]