Skip to content

Instantly share code, notes, and snippets.

Fariz Rizaldy faultable

Block or report user

Report or block faultable

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@faultable
faultable / pgp.txt
Created Oct 10, 2019
292E 8F87 9419 4AA8
View pgp.txt
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF2fjkIBCADHjgJfGjpUgUl+32c6rFrQxFzkSaeOb7E3wLb9LtQMd4NZc3z4
zaToC16NWMgPMVwRi4dGDhy7+b4BnKg82s8l0kQ9xoy3f8JtKod7Arz9Neat3mYl
djfml5a4l+tylrfhWwqgE3cmUMJ9JGIqe8i36Jgwb8lmRQMDNz9onoEg+1BJ8kB3
WSXsQgkJI2VNi1ucGwqISlYmN/jAMKkVNW2cQd4U/KtpC6942mJ/vii6Fiocy9sr
/y5B04ZsfeOLtXu9fr+9YkyaNKzCll2RMdUCN2ricdK0JeoxGBIEpzULEZ92ZZSV
agxbiWxXMF8p5ENam7FrZ68egGzsIBEyy8JpABEBAAG0J0Zhcml6IFJpemFsZHkg
PGZhcml6cml6YWxkeUBpY2xvdWQuY29tPokBVAQTAQgAPhYhBEbVIPigT/nt3Ayo
2ykuj4eUGUqoBQJdn45CAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA
@faultable
faultable / uid.js
Created Sep 23, 2019
generate {n} random string using `randomBytes` from `crypto`
View uid.js
const { randomBytes } = require('crypto')
const totalGenerated = 31337
const endResults = []
function generateRandomBytes() {
console.time('randomBytes')
const randomString = randomBytes(6).toString('hex')
console.log('string:', randomString)
console.timeEnd('randomBytes')
@faultable
faultable / LICENSE.txt
Created Jun 14, 2019 — forked from LeverOne/LICENSE.txt
generate random v4 UUIDs (107 bytes)
View LICENSE.txt
DO WTF YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Alexey Silin <pinkoblomingo@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WTF YOU WANT TO PUBLIC LICENSE
View evilfactory-pgp.txt
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF2fmHgBCAC4M+FleUbotHuJ1CxPQcRulilW8ezy80PbQ6q/r3XcuLsill9m
vVnTN3TSwWTUYCOX1/ywpUePGzwK5zkvNfUCrXajBRLn2deF/12kw0F0158rkIJ+
5AompyvN5PlpHceVVWtZ8OWlJQ2+dq5GeAYIJZmymchITRQktBM02WuTIS68YEpo
xbeWTxwfAxEOMj9BBlCOVsUrN/whCpqapH0B1RIUCeo8LCpNbYbCOHgCSSxptonQ
4/0yDHcViE3UF3FqPMRLOt9TmufFLbTHwTrnB0T7P1kaX0Nfp7H7SqbR0p6BU4Ga
GFZk+1WinMIwEZxZfT8mgKJRixtYz5gJZ5zpABEBAAG0JmV2aWxmYWN0b3J5bGFi
cyA8aGVsbG9AZXZpbGZhY3RvcnkuaWQ+iQFUBBMBCAA+FiEEfR/OXSoWdSg7StC8
mCZpGYdHm10FAl2fmHgCGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA
View fariz-pgp.public.txt
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase OpenPGP v1.0.0
Comment: https://keybase.io/crypto
xsBNBFzYuAkBCACzNnQLPLTNY+zkEtiPqwB1Qo63insB/rKXOv6ue8NOiXKVypcc
A+K7pDzm2bF0eG6Vk0HsBvXbKuD1bs7wqYCV37KqNKWQ+PKSTLbuyhmTYGtegURK
+DbsdwldHNXI9wnfYpFNrX1g+2hssuTHWch33xyPHr72x6TNTzUkRlhN+TW6cS5C
5+zR+cZfrrujKMm4nACjWEY5XpM7QhhyCG3C+d0TR2QTYQdScNELNDQ5ZhSkZC4s
6KsBF+UlMSWzz3pLWqUOHyhJnPH9ZUluioYb2MQvZW4qCTFr4T8NiSOLV8MBZfaS
8HSWFzMLfANvdvW2TXqAxYRkx+4ABtOJA6H1ABEBAAHNKkZhcml6IFJpemFsZHkg
View gist:5ffc7ece9b84f63ecd19eabc0ce019bc

Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html

Hi everyone, I'm Chris Wanstrath.

When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But then I took a few moments and thought, Wait, why? Why me? What am I supposed to say that's interesting? Something about Ruby, perhaps. Maybe the future of it. The future of something, at least. That sounds keynote-y.

View final.md
View data-perusahaan-filtered-but-not-edited.md

| No | Nama Media | Jenis | Terbit | Website | Provinsi | Alamat | Status | Detail | Tanggal diperbarui | | |-----|------------------------|--------|-------------|-----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|--------------------------------------------------------------------------------

View fix-wordpress-permissions.sh
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory
@faultable
faultable / 00_readme.md
Last active May 20, 2017
Siapa tau berguna
View 00_readme.md

siapa tau berguna

You can’t perform that action at this time.