Skip to content

Instantly share code, notes, and snippets.

Avatar

Kiswono Prayogo kokizzu

View GitHub Profile
View wsl2-ubuntu
# network/dns not working?
# do not compress %TEMP%
# snap not working?
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
View jwt_golang_example.go
package main
import (
"io/ioutil"
"log"
"strings"
"net/http"
"encoding/json"
"fmt"
"time"
@kokizzu
kokizzu / note.txt
Created May 17, 2020
YHWH <> AllahSWT
View note.txt
Daripada debat, disimpulkan saja, AllahSWT tidak sama dengan YHWH, YHWH bukanlah Allah SWT
Membandingkan tuhan masing-masing agama Abrahamaic (karena kekristenan menurut Mat5:17 dan islam (ayat?) mengaku menyempurnakan agama sebelumnya), barangkali ada yang mau menyanggah
Tuhan Yahudi itu YHWH, kitab-nya Tanakh (atau kalau di Alkitab, perjanjian lama)
Tuhan Kristen itu Yesus, yaitu penggenapan nubuat2/ramalan bahwa YHWH sendiri akan menjadi manusia untuk menyelamatkan semua yang percaya
Tuhan Islam itu Allah SWT, kitabnya Quran, yang ini lain sendiri karena katanya ayatnya disampaikan jibril secara langsung kepada nabi M
@kokizzu
kokizzu / resources.md
Last active Nov 24, 2020
The Way, Truth, and Life
View resources.md
View global.js
function toDate( unix ) {
if( !unix ) return '';
if( unix<9876543210 ) unix *= 1000;
return (new Date( unix )).toISOString().substr( 0, 10 );
}
function toTime( unix ) {
if( !unix ) return '';
if( unix<9876543210 ) unix *= 1000;
return (new Date( unix )).toISOString().substr( 0, 19 ).replace( 'T', ' ' );
View update_all_git_repo.rb
#!/usr/bin/env ruby
require 'json'
require 'ap'
username = 'kokizzu'
repos = []
repos_len = 0
page = 1
@kokizzu
kokizzu / introrx.md
Created Sep 23, 2019 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
View graceful-shutdown.go
// old version: https://marcofranssen.nl/go-webserver-with-gracefull-shutdown/
package main
import (
"context"
"log"
"net/http"
"os"
"os/signal"
View rdhcpd.rb
' Copyright (c) 2007, Tony Ivanov
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
@kokizzu
kokizzu / React Native: Animated - Code
Created Mar 31, 2017 — forked from sahrens/React Native: Animated - Code
Example code from ReactEurope 2015 talk - React Native: Animated
View React Native: Animated - Code
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
You can’t perform that action at this time.