This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DP 써도 되긴 하는데 그냥 | |
| # Recursive 로 싸아악 | |
| # 색깔 코드 | |
| # A B C D E | |
| colors = [ 0, 0, 0, 0, 0 ] | |
| # 조건에 충족하는 지 확인하는 코드 | |
| def check_condition(colors): | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| # The type as listed above | |
| Type=Application | |
| # The version of the desktop entry specification to which this file complies | |
| Version=0.0.1 | |
| # The name of the application | |
| Name=Joycon Support |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Switchroot config | |
| echo "Alex4386's Switchroot-On-The-Go Script" | |
| echo | |
| echo "This software will download various utility to make sure you switchroot on the go with joycon" | |
| echo | |
| echo "Starting up..." | |
| echo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index index.php index.html index.htm /index.php; | |
| if (!-e $request_filename) { | |
| rewrite /wp-admin$ $scheme://$host$uri/ permanent; | |
| rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last; | |
| rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last; | |
| } | |
| location / { | |
| try_files $uri $uri/ /index.php?q=$uri&$args; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is the collection of nginx conf files that I use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const koNatlIDRegex = /^([0-9]{6})(-|)([0-9]{7})$/; | |
| function getBirthdayFromNatlID(idNo: string): { | |
| year: number; | |
| month: number; | |
| date: number; | |
| } | null { | |
| const formatValidityCheck = koNatlIDRegex.test(idNo); | |
| if (!formatValidityCheck) return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # version of this script | |
| VERSION="0.2.0" | |
| WORKING_DIR=$(pwd) | |
| # since HamoniKR does give a f--- on .profile, use .bashrc instead | |
| TARGET="$HOME/.bashrc" | |
| # These are the styling variables that... gives you an eyecandy I guess? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo snap install core | |
| sudo snap refresh core | |
| sudo snap install --classic certbot | |
| sudo snap set certbot trust-plugin-with-root=ok | |
| sudo snap install certbot-dns-cloudflare | |
| sudo snap connect certbot:plugin certbot-dns-cloudflare |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| apps : [{ | |
| name: "code-server", | |
| interpreter: "/bin/bash", | |
| cmd: "code-server serve-local --disable-telemetry --without-connection-token" | |
| }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| apps: [ | |
| { | |
| name: 'Xen Orchestra', | |
| cwd: './packages/xo-server/', | |
| script: 'yarn', | |
| args: ['start'], | |
| env: { | |
| // You should configure it here. | |
| NODE_ENV: 'production', |