Skip to content

Instantly share code, notes, and snippets.

View ffadilaputra's full-sized avatar
👉🏻 🐛 👀

Ivan Fadila Putra ffadilaputra

👉🏻 🐛 👀
View GitHub Profile
title description author
<!-- anti anti click bait -->
<!-- write with humanity -->
<!-- whoami/team/squad/personal -->

Background

Goal

@kcak11
kcak11 / App.md
Last active November 30, 2023 18:24
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@nhandt64
nhandt64 / tt-domain.txt
Last active April 21, 2024 19:21
TikTok domains list for Pi-hole
v16a.tiktokcdn.com
p16-tiktokcdn-com.akamaized.net
log.tiktokv.com
ib.tiktokv.com
api-h2.tiktokv.com
v16m.tiktokcdn.com
api.tiktokv.com
v19.tiktokcdn.com
mon.musical.ly
api2-16-h2.musical.ly
const measureTime = (cb, ...args) => {
const t0 = performance.now();
cb(...args);
const t1 = performance.now();
console.log('Call to doSomething took ' + (t1 - t0) + ' milliseconds.');
};
@ardianta
ardianta / hello-world.js
Last active August 28, 2020 08:44
Testing script for npx
#!/usr/bin/env node
for(var i = 0; i < 10; i++){
console.log("Hello World!");
}
@abdilahrf
abdilahrf / hosts
Last active October 5, 2023 05:19
Blokir hostname INDIHOM* ke localhost kita biar kapok, untuk linux tambahin di file /etc/hosts & windows /System32/drivers/etc/hosts
# INDIHOM*
127.0.0.1 x-tags.net
127.0.0.1 a01.uadexchange.com
127.0.0.1 cdn.uzone.id
127.0.0.1 cdn3.uzone.id
127.0.0.1 cfs.uzone.id
127.0.0.1 csf.uzone.id
127.0.0.1 d01.notifa.info
127.0.0.1 d31qbv1cthcecs.cloudfront.net
127.0.0.1 d5nxst8fruw4z.cloudfront.net
@pyk
pyk / app.js
Last active July 31, 2018 16:06
app.js
// Models is sequelize instance
app.use('/smartphones', smartphonesRouter(models));
@mpj
mpj / example01.js
Created August 14, 2017 07:38
Code for the async/await episode of Fun Fun Function.
const response = await fetch(`https://catappapi.herokuapp.com/users/${userId}`)
const data = await response.json()
return data.imageUrl
}
@trandaison
trandaison / starUML.md
Last active May 6, 2024 15:48
Get full version of StarUML
@JonathanMH
JonathanMH / index.js
Created October 22, 2016 15:07
JSON Web Token Tutorial: Express
// file: index.js
var _ = require("lodash");
var express = require("express");
var bodyParser = require("body-parser");
var jwt = require('jsonwebtoken');
var passport = require("passport");
var passportJWT = require("passport-jwt");