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 / 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 / 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 ๋ฉฐ๋ผ๋„˜๋ฆฌํ”ผ๋ž˜
  • 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๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ์ฐพ์•„์˜ต๋‹ˆ๋‹ค.
@RanolP
RanolP / ๊ฐœ๋ฐœ์ž ์ˆ˜๋‹ค๋ฐฉ.aheui
Created July 9, 2018 10:37
โ€˜2018.07.11. ๊ฐœ๋ฐœ์ž ์ˆ˜๋‹ค๋ฐฉ: ํ…”๋ ˆ๊ทธ๋žจ ์—๋””์…˜ ์ œ 1ํšŒ ๊ฐœ์ฒœ์ ˆ ๊ฒฝ์ถ•!โ€™์„ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค.
๊ฐœ๋ฐ˜๋ญ‰๋ฐ˜๋ถ“๋ฐช๋‘๋นฅ๋ถ–๋น ๋ญ๋ฐ ๋ญ‰๋ฐ•๋ˆ„๋ง๋ญ๋”ฐ๋ฟŒ์‚ญ๋ฟŒ๋ฐช๋ถ…ํŒŒํˆฌ๋ฐฃ๋šœํƒ€๋Œœ๋ŽŒ๋ญ๋ทบ๋‹ค๋‘ํƒ€๋‘๋ฐข๋‘๋ฐ™๋šœ๋นฅํ‘ธ๋‹ค๋ฟ‘๋น ๋ฟŒ๋นฅ๋ถ„๋ฐ›๋šœ์‚ฝ์‘ค๋ฐช๋ถˆ๋นฅ๋‘๋ฐ›ํˆฌ๋ฐง๋ˆ„
๋ฐœ๊พ”๋ฐ”๋ชฝ๋‚˜๋ชฝ๋ง๋ด€ํƒ€๋ฝ€๋ฐ”๋ชฝ๋งฃ๋ณธ๋น ๋ชฝ๋ฐค๋ดƒ์‹น๋ซƒ๋น ์†Œ๋”ฐ๋ฝ…๋นฅ๋ณผํƒ€๋น ์‘บ๋ดƒ๋ฐ ๋ฝ…์†Œ๋‘๋ดŽ๋ญ๋˜๋‘๋ณป๋‘๋ดƒ์‘ต๋ดƒ๋ถ–๋ฝ€๋ฟŒํ† ๋ถ…๋˜ํˆฌ๋„์ˆ˜์†Œ๋šœ๋„ํ‘ธํ† ๋ญ๋ณธ๋ญ‰
์ž๋‘๋ณ€๋ฒˆ๋ป•๋– ๋ฒŒ๋ฒš๋ฉ“๋”๋– ๋ฒ“๋ฒ๋”๋จธํผ๋ป•๋”๋ป•๋ฒ’๋ป•๋”๋ฒ‡๋ป•๋– ๋ฒ๋ฒˆ๋ฉ“์„œ๋ณปํผ๋‘๋ซƒ๋ถˆํฌ๋‘๋ด€๋ญ๋ฝ…๋ญ๋ฝ…ํˆฌ๋ซƒ๋ถˆ์†๋ญ๋ณพ๋šœ์ฉ๋ญ๋ฝ…ํˆฌ๋ซƒ๋ฟ‘๋…ธํˆฌ๋„๋ถ„์†Œ๋ถ‹
์ˆ˜๋บ๋ฆฌ๋ฐช๋ฐค๋”ฐ๋‹ค๋งฃ๋ฐชํƒ€๋นฅ๋ฐ ๋นฅํŒŒํƒ€๋ฐ˜๋ฐง๋‚˜ํƒ€ํƒ€์‚ญ๋งฃ์‚ฌ๋งฃ๋ฐขํƒ€๋นฅ๋งฃ๋ฐœ๋‹ค๋ฝ…๋งฃ์†ํƒ€๋ฝ…๋นฅ๋ณธ๋ฐฆํ† ๋ฐฆ๋„๋ฐžํ† ๋”ฐ๋„์‚ฌ๋ซƒ๋น ๋ฝ€๋ฐฆ๋„๋งฃ์†๋ฐ˜๋ด‡๋ฐ ๋ฝ…์‚ญ๋ซƒ๋ฟŒ
๋‹ค์ดํ†ต๊ฐํ•˜๋งŒ์„ธ์‚ผ์ฐฝํ•ด๋ฉ“๋ถ๋ฒˆ๋ถ๋ฉ“๋šœ๋ฒ–๋‘๋ป•์ˆ™๋ฉ“๋ถŠ๋ฒˆ๋ถ‡์ฉํˆฌํผํˆฌ๋„ˆ๋šœ๋ฒ“์ˆ˜๋ฉ“๋‘๋ฒˆํ‘ธ๋ป•ํ‘ธํ„ฐ๋‘๋ฒˆ๋ถˆ๋ฒš๋‘๋ฒ˜๋ฟ‘๋ฒ๋ฟ‘๋”๋ฟ‘๋ฒ‘์ˆฎ๋ฉ“ํˆฌ๋– ๋ถ๋ฒˆ๋ฟŒ๋– ๋ถ
๋ฐฉ๋งํฌ๋ด์•„ํ•˜๋Š”๋‚œ๋กœ๋‹น๋„๋„ˆ๋˜๋ฒ”ํ† ๋”๋ด†๋ฒŒํ† ๋ฒŒํ† ๋”ํ† ๋„ˆ๋ฝ€ํผ๋ฝ…ํ„ฐ๋ด‡๋ฒˆ๋ณป๋ป์†๋ฉ“ํ† ๋จธ๋ณพํ„ฐํฌ๋ป•๋ฝ…๋– ๋ซƒ๋”ํ† ๋”ํ† ํผ๋ณธ๋”๋ซƒ๋ป์†๋ฉ“๋ด†๋”๋„๋ป•๋˜๋”

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 / bypass-original.js
Last active January 2, 2022 19:49
Bypass Screen Share Restriction in Guild on Discord.
(() => {
const data = [
[],
{
run: (_ignored1, _ignored2, { c: result }) => {
for (const field of Object.getOwnPropertyNames(result)) {
const exported = result[field].exports;
if (exported && exported.isDeveloper === false) {
Object.defineProperty(exported, "isDeveloper", {
value: true,
@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>