π
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
| 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
| # 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
| 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
| #!/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
| [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
| # 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
| brew_update_version=$(date +"%Y%m%d") | |
| brew_update_version_file="$HOME/.homebrew-lastupdate" | |
| brew_update_in_progress_file="$HOME/.homebrew-update-in-progress" | |
| brew_upgrade_required=0 | |
| test -f "$brew_update_version_file" || brew_upgrade_required=1 | |
| if [[ $brew_upgrade_required -eq 0 ]]; then | |
| this_brew_version=$(cat "$brew_update_version_file") | |
| test "$this_brew_version" = "$brew_update_version" || brew_upgrade_required=1 |
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
| [ | |
| { | |
| "id": 101, | |
| "region": "sapporo", | |
| "area": 1, | |
| "lastUpdate": "2020-12-24T09:38:28.459Z", | |
| "name": "Shiretoko-Iozan", | |
| "location": "Hokkaido, Japan", | |
| "craters": [ | |
| { |
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
| γγΏγΎγγγη§γ―ε―ΏεΈγθ©±γγΎγγγ |