Create a Database
mysql> CREATE DATABASE php_app;
Create a table
Create a Database
CREATE TABLE admin
Create a Database
mysql> CREATE DATABASE php_app;
Create a table
Create a Database
CREATE TABLE admin
linux current folder disk usage
du -h -d 1
Key mappings | |
Add your preferred key mappings to your .vimrc file. | |
" RSpec.vim mappings | |
map <Leader>t :call RunCurrentSpecFile()<CR> | |
map <Leader>s :call RunNearestSpec()<CR> | |
map <Leader>l :call RunLastSpec()<CR> | |
map <Leader>a :call RunAllSpecs()<CR> |
https://github.com/h5bp/Front-end-Developer-Interview-Questions | |
https://github.com/paddingme/Front-end-Web-Development-Interview-Question |
import * as webpack from "webpack"; | |
import * as ExtractTextPlugin from "extract-text-webpack-plugin"; | |
import * as ManifestPlugin from "webpack-manifest-plugin"; | |
import {TypedContext} from "../server/TypedContext"; | |
const css = new ExtractTextPlugin(TypedContext.isProduction() ? "[name].[contenthash].css" : "[name].css"); | |
const manifest = new ManifestPlugin({ | |
writeToFileEmit: true |
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms) | |
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms) |
// ==UserScript== | |
// @name Github Unsubscribe | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Unsubscribe merged or closed threads! | |
// @author You | |
// @match https://github.com/notifications | |
// @grant none | |
// ==/UserScript== |
#!/bin/bash | |
set -eof pipefail | |
# download proxy list from provider | |
proxies=$(cat /tmp/dler | awk -F \= '{ print $1"," }' | tr -d '\n' | sed 's/,$//') | |
echo "[Proxy] | |
$(cat /tmp/dler) |
from datetime import datetime | |
import re | |
import os | |
import shutil | |
# migrate obsidian note to logseq | |
# input: - [ ] Rename `dev-triage-china` to `cn-triage` 📅 2023-09-01 | |
# output: | |
# - TODO aa | |
# SCHEDULED: <2023-08-30 Wed> |