View ipfs.io.blocked.txt
This file contains 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
minhoryang@minhoui-MacBookPro-2 friend-tunnel2 % dig @168.126.63.1 ipfs.io | |
; <<>> DiG 9.10.6 <<>> @168.126.63.1 ipfs.io | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50999 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available |
View sortkey_natural.py
This file contains 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
def sortkey_natural(s): | |
return tuple( | |
int(part) if re.match(r'[0-9]+$', part) else part | |
for part in re.split(r'([0-9]+)', s) | |
) |
View openpgp.md
View Time Machine exclusions.command
This file contains 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
#!/usr/bin/env bash | |
{ set +x; } 2>/dev/null | |
IFS=$'\n' | |
set "$@" $(find ~ -name ".*" ! -name ".CFUserTextEncoding" ! -type l -mindepth 1 -maxdepth 1) # dotfiles | |
set "$@" $(find ~ -name "Google *" -mindepth 1 -maxdepth 1) # Google Drive | |
set "$@" ~/git # store on github/etc :) | |
set "$@" ~/node_modules | |
set "$@" ~/Applications # install apps with brew cask |
View PHP_2019.md
PHP @ 2019~
declare(strict_operators=1);
declare(strict_types=1);
ini_set('display_errors', "1");
error_reporting(E_STRICT);
or E_ALL
PHP Version?
Package manager
composer
View Dockerfile
This file contains 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
FROM mcr.microsoft.com/windows:1809 | |
# Install Chocolatey | |
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
# New Powershell, so choco is available | |
SHELL ["powershell"] | |
# Choco disable upload progress | |
RUN choco feature disable --name showDownloadProgress |
View receiver.py
This file contains 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
from flask import Flask, request | |
from werkzeug.utils import secure_filename | |
app = Flask(__name__) | |
@app.route('/<filename>', methods = ['GET', 'POST']) | |
def upload_file(filename): | |
if request.method == 'POST': |
View git-pr.sh
This file contains 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
git init | |
git remote add origin <REMOTE_URL> | |
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*" | |
git fetch --no-tags --depth=1 --recurse-submodules=yes --multiple -j origin pull/<PR_NO>/head:refs/remotes/origin/pr/<PR_NO> | |
git checkout origin/pr/<PR_NO> | |
git log # one commit! | |
git describe —all # remotes/origin/pr/259 |
View README.md
Simple Typo Error in Korean Download Page for ESET Cyber Security Pro
https://www.eset.com/kr/home/cyber-security-pro/%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C/
- "황경" -> "환경"
View CyworldInternalUrl.user.js
This file contains 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
// ==UserScript== | |
// @name Cyworld Club URL Stretcher | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Cyworld Club Byebye | |
// @author Minho Ryang | |
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js | |
// @match http://club.cyworld.com/ClubV1/Home.cy/* | |
// @match http://club.cyworld.com/club/main/* |
NewerOlder