Skip to content

Instantly share code, notes, and snippets.

¯\_ (ツ) _/¯

Chai Phonbopit Phonbopit

¯\_ (ツ) _/¯
View GitHub Profile

Keybase proof

I hereby claim:

  • I am phonbopit on github.
  • I am phonbopit ( on keybase.
  • I have a public key ASAv28GwmvNxXfh45vViTOwzD_xvF50Wrljojz5QAKONpAo

To claim this, I am signing this object:

Phonbopit / index.html
Created May 23, 2020
React 101 - EP. 1
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>React 101 By Devahoy</title>
<script crossorigin src=""></script>
<script crossorigin src=""></script>
Phonbopit / app.js
Created Apr 11, 2020
ตัวอย่าง Code ตอนที่ 10 - Mongoose
View app.js
const express = require('express');
const mongoose = require('mongoose');
const options = {
useNewUrlParser: true,
useUnifiedTopology: true
mongoose.connect('mongodb://localhost:27017/hello-mongoose', options);
const CatModel = mongoose.model(
Phonbopit / LoginForm.js
Created Nov 3, 2018
View LoginForm.js
import React from 'react'
class LoginForm extends React.Component {
render() {
return (
<section className="section container">
<div className="columns is-centered">
<div className="column is-half">
<div className="field">
Phonbopit /
Created Aug 31, 2016 — forked from ohanhi/
Learning FP the hard way: Experiences on the Elm language

Learning FP the hard way: Experiences on the Elm language

by Ossi Hanhinen, @ohanhi

with the support of Futurice 💚.

Licensed under CC BY 4.0.

Editorial note

Phonbopit /
Created Aug 30, 2016 — forked from martndemus/
How to setup a Oracle 12c database on DigitalOcean

Step 0:

Start downloading the install files from Oracle

Step 1:

Create a blank CentOs 6.5 instance

Convert to Oracle Linux: (source)

curl -O 
Phonbopit / randomString.js
Created Jul 22, 2016 — forked from dchest/randomString.js
Generates cryptographically secure uniform random string in browsers and Node.js [IN DEVELOPMENT]
View randomString.js
// randomString(length)
// --------------------
// Generates and returns a cryptographically secure
// uniform alphanumeric random string.
// Examples:
// randomString(14) // "oXYWpc1vODNR3M"
// randomString.hex(8) // "663c722b65943b9b"
Phonbopit /
Created Feb 3, 2016 — forked from nathansmith/
Resources for learning web design & front-end development
You can’t perform that action at this time.