- windows
> dir /b | clip - linux
$ ls | xclip -se c - mac
$ ls | pbcopy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| #xcode-select --install | |
| #/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| #brew install bison | |
| #brew install wget | |
| #brew install openssl | |
| #brew install libxml2 | |
| #brew link libxml2 --force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://stackoverflow.com/questions/37879448/mysql-fails-on-mysql-error-1524-hy000-plugin-auth-socket-is-not-loaded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # run php-cgi.php -b 127.0.0.1:9123 | |
| server { | |
| listen 8000; | |
| listen [::]:8000; | |
| server_name blog.local; | |
| root c:/www/blog; | |
| index index.php index.html index.htm index.nginx-debian.html; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| APP_NAME=app | |
| APP_ENV=local | |
| APP_KEY=base64:wE9tKIHu8aQGcLu6oZfUcqD/U3jdOgYrcoZ/UqY8K2c= | |
| APP_DEBUG=true | |
| APP_URL=http://localhost:8000 | |
| LOG_CHANNEL=stack | |
| DB_CONNECTION=mysql | |
| DB_HOST=127.0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:443> | |
| DocumentRoot "/dir/to/document" | |
| ServerName domain | |
| SSLEngine on | |
| SSLCertificateFile /dir/to/cert/file.pem | |
| SSLCertificateKeyFile /dir/to/cert/file.key | |
| <FilesMatch "\.(cgi|shtml|phtml|php)$"> | |
| SSLOptions +StdEnvVars | |
| </FilesMatch> | |
| </VirtualHost> |
This is a list of the most helpful keyboard commands I use within top.
h shows help on interactive commands. Also see the top manual page
q to quit the program.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Debug Pytest", | |
| "type": "python", | |
| "request": "launch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [xdebug] | |
| zend_extension="<path/to/xdebug.so>" | |
| xdebug.remote_enable=1 | |
| xdebug.remote_port=9000 | |
| xdebug.remote_autostart=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [init] | |
| defaultBranch = master | |
| [user] | |
| name = <username> | |
| email = <email> | |
| signingkey = <GnuPG key id> | |
| [core] | |
| editor = code | |
| [commit] | |
| gpgsign = true |