see
see
Build
gcc -framework GLUT -framework OpenGL -lc++ main.cpp
see
build
clang++ -std=c++11 -stdlib=libc++ -framework GLUT -framework OpenGL main.cpp
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
#!/usr/bin/env bash | |
export VERBOSE=false | |
export DRYRUN=false | |
export HELP=false | |
export AWS_REGION= | |
export AWS_PROFILE= | |
export AWS_DEBUG= | |
# declare -x DESIRED_COUNT=false |
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
# Check what MacOS error means | |
# @link https://discussions.apple.com/thread/7705551 | |
security error -67062 | |
# grep | less with color | |
grep -Ri --color=always ... | less -R | |
# NOTE: This seems to be not work well | |
# # Remove ec2 rows from ~/.ssh/known_hosts | |
# # (Because of `ECDSA host key for example.com has changed and you have requested strict checking.`) |
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
# List help | |
tmux list-keys | |
# Find help from binding | |
tmux list-keys | grep 'prefix' | grep 'C-s' | |
# Show key-table, key command etc. | |
tmux list-keys | awk '{print $1}' | sort | uniq | |
tmux list-keys | awk '{print $2}' | sort | uniq | |
... |
- https://github.com/tamakiii/tamakiii (private repository)
~/Sites/tamakiii/tamakiii master*
❯ git diff
diff --git a/README.md b/README.md
index b3111b0..d142092 100644
--- a/README.md
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
# reset submodule's diffs like `modified: .fzf (new commits)` | |
# @link https://stackoverflow.com/questions/10906554/how-do-i-revert-my-changes-to-a-git-submodule | |
git submodule update --init | |
# Get current branch | |
# @link https://man.openbsd.org/sed.1#SED_REGULAR_EXPRESSIONS | |
# > One special feature of sed regular expressions is that they can default to the last regular expression used. | |
# > If a regular expression is empty, i.e., just the delimiter characters are specified, the last regular expression | |
# > encountered is used instead. The last regular expression is defined as the last regular expression used as part of | |
# > an address or substitute command, and at run-time, not compile-time. For example, the command “/abc/s//XXX/” will |
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
$ docker-compose exec service mysql -u root -p -e "SELECT @@global.secure_file_priv;"
Enter password:
+---------------------------+
| @@global.secure_file_priv |
+---------------------------+
| /var/lib/mysql-files/ |