Skip to content

Instantly share code, notes, and snippets.


pangpond pangpond

Block or report user

Report or block pangpond

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
pangpond /
Created Sep 4, 2019 — forked from kevinelliott/
macOS 10.14 Mojave Mostly-Automated Setup

To support my open-source work, consider adding me on Patreon.

macOS 10.14 Mojave Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.14 Mojave.


The topic of recipe-based frequent fresh reinstalls of macOS is a controversial issue. Some people are against reinstalling macOS, citing that they have never had an issue with Apple provided upgrade installs.

View pokemonlist.json
[{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": ""},
{"url": "https://raw.githu
View React Native Daily use
## When you no idea about build error
watchman watch-del-all && rm -rf node_modules && rm -rf ~/.rncache && yarn && rm -rf /ios/build && react-native run-ios
View docker-clean
# Copyright 2017 Théo Chamley
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in the Software
# without restriction, including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
# to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or
View nginx-conf
server {
charset utf-8;
client_max_body_size 128M;
listen 80;
server_name frontend;
root /var/www/html;
index index.php;
access_log /var/log/nginx/frontend-access.log;
error_log /var/log/nginx/frontend-error.log;
View docker-run-nginx
docker run -d --name nginx --volumes-from php7-fpm --net frontend-network --restart always -p 8080:80 -v ${PWD}/nginx.d:/etc/nginx/conf.d nginx:1.11.9-alpine
View docker-run-php7-fpm
docker run -d --name php7-fpm -v ${PWD}:/var/www/html/ --expose 9001 --net frontend-network --restart always --network-alias phpfpm php7fpm
View docker-create-php7fpm-for-yii2
FROM php:7.1.1-fpm-alpine
MAINTAINER Nathawut Sonraksa <>
RUN apk upgrade --update && apk --no-cache add \
autoconf tzdata file g++ gcc binutils isl libatomic libc-dev musl-dev make re2c libstdc++ libgcc libcurl curl-dev binutils-libs mpc1 mpfr3 gmp libgomp coreutils freetype-dev libjpeg-turbo-dev libltdl libmcrypt-dev libpng-dev openssl-dev libxml2-dev expat-dev \
&& docker-php-ext-install -j$(nproc) iconv mysqli pdo pdo_mysql curl bcmath mcrypt mbstring json xml zip opcache \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
View docker-run-mariadb
docker run -d --name Mariadb -e MYSQL_ROOT_PASSWORD=UlmJP0X8E2etGqdv -e MYSQL_USER=php -e MYSQL_PASSWORD=qrF8UeFJ2Wx8Dn0S -e MYSQL_DATABASE=php --net frontend-network -p 3306:3306 --network-alias maria-db --restart always mariadb:latest
$ composer create-project yiisoft/yii2-app-advanced advanced 2.0.9


"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
You can’t perform that action at this time.