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 addFun = ` | |
const [a, b] = arguments | |
return a + b | |
` | |
var func = new Function(addFun); | |
const ret = func.call(null, 1, 2); | |
console.log(ret) |
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
/* global Express */ | |
import { Request } from 'express' | |
import { Client, ClientOptions, UploadedObjectInfo } from 'minio' | |
import multer from 'multer' | |
import path from 'path' | |
type FilenameCallbackType = (req: Request, file: Express.Multer.File) => string | |
type HandleFileCallbackInfoType = Partial<Express.Multer.File> & { objectinfo?: UploadedObjectInfo } | |
type HandleFileCallbackType = (error?: any, info?: HandleFileCallbackInfoType) => void | |
const defaultFilenameCallback:FilenameCallbackType = (_req, file) => { |
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
/* global Express */ | |
import { Request } from 'express' | |
import { Client, ClientOptions, ItemBucketMetadata } from 'minio' | |
import multer from 'multer' | |
import path from 'path' | |
import sharp from 'sharp' | |
type TransformerType = { | |
id: string | |
sharp: sharp.Sharp |
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
#include <malloc.h> | |
#include <microhttpd.h> | |
#include <signal.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <cstring> | |
#include <functional> | |
#include <iostream> |
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
using RestSharp; | |
using System.Threading; | |
async Task<string> getResponse(string url) | |
{ | |
var start = DateTime.Now; | |
var client = new RestClient(); | |
var request = new RestRequest(url); |
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
# List of available short .id domains (5 - 10 characters) as whois checked on 2024-10-12. | |
abah-abah.id | |
aba-aba.id | |
abaka.id | |
abing.id | |
abilah.id | |
abortiva.id | |
absensia.id | |
absolusi.id |