Skip to content

Instantly share code, notes, and snippets.

View khunemz's full-sized avatar
🌏
Working from anywhere

Chutipong Roobklom khunemz

🌏
Working from anywhere
View GitHub Profile
@khunemz
khunemz / GitCommitEmoji.md
Created July 2, 2022 01:22 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@khunemz
khunemz / php.ini
Created July 28, 2020 03:00
php.ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@khunemz
khunemz / Angular Build Prod
Created March 19, 2020 08:58
Angular Build Prod
ng build --base-href "/otcmobile/" --prod
@khunemz
khunemz / php.ini
Created March 1, 2020 16:13
php.init with debugging with xdebug in Windows10
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@khunemz
khunemz / vscodesettings
Created August 4, 2019 06:00
vscodesettings
.
@khunemz
khunemz / learn_react_1
Created September 13, 2018 15:37
learn_react_1_by_khunemz
// Write JavaScript here and press Ctrl+Enter to execute
// React, ReactDOM
class Button extends React.Component {
// constructor(props) {
// super(props);
// this.state = { cnt: 0 };
// }
@khunemz
khunemz / gist:308f1f2a20fccc01e9d518f985841234
Created August 19, 2018 09:18
Thailand Province Eng List MySQL insert
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUserId , OrderRank) values (2 , "Bangkok" , now() , now() , -1 , -1 , 1);
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUserId , OrderRank) values (2 , "Amnat Charoen" , now() , now() , -1 , -1 , 2);
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUserId , OrderRank) values (2 , "Ang Thong" , now() , now() , -1 , -1 , 3);
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUserId , OrderRank) values (2 , "Bueng Kan" , now() , now() , -1 , -1 , 4);
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUserId , OrderRank) values (2 , "Buriram" , now() , now() , -1 , -1 , 5);
insert into tb_sys_catitem (CatId , CatItemDesc , CreatedDate , UpdatedDate , CreatedByUserId , UpdatedByUs
@khunemz
khunemz / Program.cs
Created January 19, 2017 10:21
Program.cs
using RabbitMQ.Client;
using System;
namespace RabbitMqSignalR
{
internal class Program
{
private const string QueueName = "Testmessage";
private const string ExchangeName = "ChatExchange";
private static ConnectionFactory _factory;
@khunemz
khunemz / gist:f495e7ea8da4a3db83e4b48843e6faf8
Created September 6, 2016 11:30
custom_zshrc_of_chutipong_roobklom
# alias Rails
# rails with template
# wget https://raw.githubusercontent.com/khunemz/dry_and_snippets/master/bt.rb
# rails _4.2.7_ new app -m bt.rb
alias rn='rails new'
alias r4n='rails _4.2.7_ new'
alias rgm='rails generate migration'
alias rgc='rails generate controller'