Skip to content

Instantly share code, notes, and snippets.

View gjuoun's full-sized avatar

Jun Guo gjuoun

View GitHub Profile
version: '3.1'
services:
wordpress:
image: wordpress:5.3.2-php7.2-apache
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
@gjuoun
gjuoun / .gitignore
Last active May 6, 2020 18:39
node-starter-tsconfig.json with package.json
node_modules/
.env
@gjuoun
gjuoun / launch.json
Last active May 15, 2021 05:37
VSCode Debugger configuration for typescript with node and deno
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Node",
"args": ["${relativeFile}"],
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"sourceMaps": true,
@gjuoun
gjuoun / cloudSettings
Created July 11, 2020 00:18
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-11T00:18:51.503Z","extensionVersion":"v3.4.3"}
@gjuoun
gjuoun / KeyboardMaestro.kmmacros
Last active March 6, 2022 06:28
MacOs keyboard settings
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>AddToMacroPalette</key>
<false/>
<key>AddToStatusMenu</key>
@gjuoun
gjuoun / settings.json
Created May 10, 2021 03:44
Pylance enforce type checking - VSCode
{
"python.analysis.typeCheckingMode": "basic"
}
@gjuoun
gjuoun / breakPoint.recoil.ts
Last active November 12, 2021 02:07
breakPoint-with-recoil
import { nanoid } from "nanoid";
import { atom } from "recoil";
import UAParser from 'ua-parser-js'
interface BreakPoint{
isMobile: boolean
isLaptop: boolean
isTablet: boolean
}
@gjuoun
gjuoun / node-starter.yml
Last active November 12, 2021 02:09
github-actions
name: GitHub Actions Demo
on: [push]
jobs:
Push-to-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "GitHub Action"
@gjuoun
gjuoun / webpack.config.jsx.js
Last active February 17, 2022 01:34
Webpack Config
const path = require('path')
module.exports = {
entry: './src/index.jsx',
module: {
rules: [
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: ['babel-loader']
@gjuoun
gjuoun / react.babelrc
Created February 17, 2022 01:29
Babel Config
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}