Credits for the data go to https://gist.github.com/Fluidbyte/2973986 . I've simply transformed the data into an array.
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
// Naver LINE protocol interface file, functions as used by the desktop client. | |
namespace cpp line | |
// :%s/.*"\([^"]*\)", \d\+, \(\d\+\).*/\1 = \2;/ | |
enum TalkExceptionCode { | |
ILLEGAL_ARGUMENT = 0; | |
AUTHENTICATION_FAILED = 1; | |
DB_FAILED = 2; |
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
[Adblock Plus 2.0] | |
! Title: ssut | |
! Version: 20211211 | |
! https://www.clien.net | |
www.clien.net##.main_top_ad | |
www.clien.net##.main_center_ad | |
www.clien.net##.list_top_ad | |
www.clien.net###hongboInfoList | |
www.clien.net##.list_bottom_ad |
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 NoReferrer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http*://*/* | |
// @grant GM_xmlhttpRequest | |
// @connect coupa.ng | |
// @connect a.aliexpress.com |
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
require 'benchmark' | |
require 'oj' | |
require 'json' | |
require 'ostruct' | |
N_OJ = 500_000 | |
ex_HASH = { 'one' => 1, 'array' => [ true, false ] } | |
ex_JSON = '{ "one": 1, "array": [ true, false ] }' |
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
const fs = require('fs'); | |
const { promisify } = require('util'); | |
const child = require('child_process'); | |
const statAsync = promisify(fs.stat); | |
const unlinkAsync = promisify(fs.unlink); | |
const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36'; | |
async function main() { |
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
#-*- coding: utf-8 -*- | |
import time | |
from collections import namedtuple | |
from test import ep as app | |
BenchResult = namedtuple('BenchResult', ['str', 'time']) | |
def benchmark(str, times=100000): | |
t_start = time.time() | |
for i in range(times): |
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
<?php | |
/** | |
* PHP File download function. | |
* Version 1.4 | |
* | |
* Copyright (c) 2014 성기진 Kijin Sung | |
* Modified by ssut | |
* | |
* License: MIT License (a.k.a. X11 License) |
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
import * as amqp from 'amqplib'; | |
export class ExponentialBackoffHelper { | |
private maxDelay: number = 60; | |
private factor: number = 2; | |
private maxAttempts: number = 5; | |
constructor( |
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
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"net/url" | |
fasthttp "github.com/valyala/fasthttp" | |
) |
NewerOlder