defaults write com.apple.dock mcx-expose-disabled -bool TRUE && killall Dock
defaults delete com.apple.dock mcx-expose-disabled && killall Dock
| # Use it with `goto project` | |
| goto () { | |
| # cancel if no arguments | |
| if [ -z "$1" ]; then | |
| echo "Mau goto kemana??" | |
| return 0 | |
| fi | |
| local UPPER=$(printf "%s" "$1" | tr '[:lower:]' '[:upper:]'); | |
| local P_DIR="/Users/qutek/LocalServer/_$UPPER"; |
| const mix = require('laravel-mix'); | |
| const url = 'http://lab.tinypixel.test'; | |
| const app = './src'; | |
| const config = './config'; | |
| const resources = './resources'; | |
| const assets = './resources/assets'; | |
| const dist = './dist'; | |
| const externals = { |
| #!/bin/bash | |
| # | |
| # This script will remove all node modules | |
| # | |
| # Author: Lafif Astahdziq | |
| # https://lafif.me | |
| # | |
| FOLDER_ROOT=${1:-.} # default to current directory |
| # https://gitlab.com/help/ci/quick_start/README | |
| # https://docs.gitlab.com/ee/ci/introduction/ | |
| # https://docs.gitlab.com/ee/ci/yaml/ | |
| image: dpolyakov/docker-node-latest-with-rsync:latest | |
| # before_script: | |
| # - apt-get update -qq | |
| # - apt-get install -qq git |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>My Iframe</title> | |
| </head> | |
| <body> | |
| <button>Botão</button> | |
| <script type="text/javascript"> |
| const generateCSV = () => { | |
| const wb = XLSX.utils.book_new() | |
| const ws = XLSX.utils.json_to_sheet([{ a: 1, b: 2 }]) | |
| XLSX.utils.book_append_sheet(wb, ws, 'test') | |
| XLSX.writeFile(wb, 'test.csv') | |
| } |