start new:
tmux
start new with session name:
tmux new -s myname
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
tell application "Finder" to set theFile to POSIX path of (selection as alias) | |
tell application "Finder" to set fileExtension to name extension of (selection as alias) |
To remove a submodule you need to:
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
How to make an application icon for macOS using
iconset
&iconutil
#!/bin/bash | |
# Install | |
brew install llvm | |
brew install libomp | |
# Compile | |
# clang++ test.cpp -o test -Xpreprocessor -fopenmp -lomp |