Skip to content

Instantly share code, notes, and snippets.

View RanolP's full-sized avatar
🤓
Otaku save the world

RanolP RanolP

🤓
Otaku save the world
View GitHub Profile
@RanolP
RanolP / vpn.md
Created February 18, 2018 03:02 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

(A Russian translation of this article can be found here, contributed by Timur Demin.)

Why not?

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@RanolP
RanolP / crawler.js
Last active March 5, 2018 13:09
Crowdin crawler
function crawl() {
let payload = {
file_id: crowdin.editor.file.id,
project_id: crowdin.editor.project.id,
filter: 0,
page: 0, // crawl all data
custom_filter: "{}",
target_language_id: 27, // korean
query: "",
search_option: 0
aecidiaceae 마치힘차마
aeviternal 마피라너며
alangiaceae 며머심차마
aldermanate 며하느멈라
aldermancy 며하느머채
aldermanry 며하느머내
alternance 며라너머차
alternative 며라넘리파
alternatives 며라넘리팡
alternativity 며라넘리피래
@RanolP
RanolP / 절망편.md
Last active June 4, 2018 13:59
M$ with Github
  • OneDrive
    • Github Repository는 이제 OneDrive에 올라갑니다.
  • Azure
    • Github Pages는 이제 Azure에서 작동합니다.
    • Azure를 통해 Continuous Integration Server를 Setup하세요. Credit은 계정에 연결된 카드를 통해 결제됩니다.
  • Micro$oft
    • Github Application을 만들기 위해선 개발자 라이선스 비용으로 $100가 필요하고, Application 하나에 $50를 추가로 지불해야 합니다.
    • 모든 기업체에서 주관하는 Github 저장소는 영리/비영리를 막론하고 Microsoft MicaHub Enterprise Gold에 가입해야 합니다. 가입하지 않을 시, 위약금 $4000를 지불해야 합니다.
  • Renames
  • Github는 이제 Microsoft Visual Hub라는 이름으로 찾아옵니다.

Keybase proof

I hereby claim:

  • I am RanolP on github.
  • I am ranolp (https://keybase.io/ranolp) on keybase.
  • I have a public key whose fingerprint is DB60 A0BD F7EF 4050 0551 4848 BB9C 29B5 FA1C 8305

To claim this, I am signing this object:

@RanolP
RanolP / Test.java
Created January 9, 2018 09:43
for B4TT3RY
public class Test {
abstract class Text {
protected String value;
public Text(String value) {
this.value = value;
}
public abstract String get();
}
@RanolP
RanolP / inverse-type.ts
Last active November 19, 2019 02:01
I'd like to introduce the `Inverse` type in TypeScript.
// For Readibility, I've separated it into type.
type Keyable = string | number | symbol;
// Get value union type.
// for `{ a: true, b: 3 }` it will give you `boolean | number` type.
// Also for array, it will give you commonest type of the array.
type GetValueUnion<T> = T[keyof T];
// This type will inverse keys and values.
// for `{ a: 'str', b: 3 }` it will give you `{ 3: 'b', str: 'a' }` type.
@RanolP
RanolP / 개발자 수다방.aheui
Created July 9, 2018 10:37
‘2018.07.11. 개발자 수다방: 텔레그램 에디션 제 1회 개천절 경축!’을 출력합니다.
개반뭉반붓밪두빥붖빠뭏밠뭉박누망뭏따뿌삭뿌밪붅파투밣뚜타댜뎌뭏뷺다두타두밢두밙뚜빥푸다뿑빠뿌빥분받뚜삽쑤밪불빥두받투밧누
발꾔바몽나몽망봀타뽀바몽맣본빠몽밤봃싹뫃빠소따뽅빥볼타빠쑺봃밠뽅소두봎뭏또두볻두봃쑵봃붖뽀뿌토붅또투도수소뚜도푸토뭏본뭉
자두변번뻕떠벌벚멓더떠벓벐더머퍼뻕더뻕벒뻕더벇뻕떠벐번멓서볻퍼두뫃불포두봀뭏뽅뭏뽅투뫃불속뭏볾뚜쏩뭏뽅투뫃뿑노투도분소붋
수뺝리밪밤따다맣밪타빥밠빥파타반밧나타타삭맣사맣밢타빥맣발다뽅맣속타뽅빥본밦토밦도밞토따도사뫃빠뽀밦도맣속반봇밠뽅삭뫃뿌
다총통각하만세삼창해멓북번붏멓뚜벖두뻕숙멓붊번붇썩투퍼투너뚜벓수멓두번푸뻕푸터두번불벚두벘뿑벐뿑더뿑벑숮멓투떠붍번뿌떠붐
방망희됴아하는난로당도너또범토더봆벌토벌토더토너뽀퍼뽅터봇번볻뻐속멓토머볾터포뻕뽅떠뫃더토더토퍼본더뫃뻐속멓봆더도뻕또더
@RanolP
RanolP / index.html
Created February 25, 2019 16:40
startsWith vs substring(0, len) vs slice(0, len) vs Regex vs poor code (https://jsbench.github.io/#d1c0b1724c97327d28fc8d282bac71f9) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>startsWith vs substring(0, len) vs slice(0, len) vs Regex vs poor code</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>