Skip to content

Instantly share code, notes, and snippets.

🦄
#indiehacker

Ribhararnus Pracutian oknoorap

🦄
#indiehacker
Block or report user

Report or block oknoorap

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
@oknoorap
oknoorap / verify.txt
Created Nov 7, 2017
Blockstack verify
View verify.txt
Verifying my Blockstack ID is secured with the address 16nb8L334gsV7t1cWLcvKBQeeZjeypBdjo https://explorer.blockstack.org/address/16nb8L334gsV7t1cWLcvKBQeeZjeypBdjo
@oknoorap
oknoorap / test.md
Last active Aug 30, 2017
WordPress 4.8.1 Unknown SSL protocol error in connection to api.helpscout.net:443
View test.md
$customer = array(
  'type' => 'customer',
  'email' => $customer_email
);

$fields = array(
	'mailbox' => array( 'id' => $mailbox_id ),
	'customer' => $customer,
	'subject' => $subject,
View keybase.md

Keybase proof

I hereby claim:

  • I am oknoorap on github.
  • I am oknoorap (https://keybase.io/oknoorap) on keybase.
  • I have a public key whose fingerprint is DF01 A8A6 2ECB 380A 3011 48E8 54C9 3EAF 81A1 D026

To claim this, I am signing this object:

@oknoorap
oknoorap / admin-redirect.php
Created Sep 7, 2016 — forked from kharissulistiyo/admin-redirect.php
Admin Page Redirection After WordPress Theme Activated
View admin-redirect.php
/**
* WordPress snippet
* Admin page redirection
* Put this inside theme setup function
*/
global $pagenow;
if ( is_admin() && 'themes.php' == $pagenow && isset( $_GET['activated'] ) ) {
@oknoorap
oknoorap / index.js
Last active Apr 23, 2016
Javascript search nested Array of Object
View index.js
var body = {
id: 'body',
elements: [{
id: 'abc',
elements: []
}, {
id: 'def',
elements: [{
id: 'ghi',
elements: [{
@oknoorap
oknoorap / install-32.sh
Last active Aug 1, 2016
Install Golang 1.4.2, NodeJS, MongoDB, PM2, Nginx in Ubuntu
View install-32.sh
#!/bin/bash
wget https://storage.googleapis.com/golang/go1.6.3.linux-386.tar.gz
tar go1.6.3.linux-386.tar.gz
sudo rm -rf /opt/go
sudo rm -rf /opt/gopkg
sudo mv go /opt/
sudo mkdir -p /opt/gopkg
export GOPATH="/opt/gopkg"
export GOROOT="/opt/go"
@oknoorap
oknoorap / htmr.md
Last active Dec 22, 2015
HTMR (HyperText Markup Redesign) Proposal
View htmr.md

As an example we have file "index.htmr" :

/* Variable Declarations */
@var {
   assets: "/public/assets/";
};

/* Global Config */
@charset "utf8";
You can’t perform that action at this time.