- Add a breakpoint to catch on all exceptions - under the breakpoints menu on the left click the + sign at the bottom and add “Add Exception Breakpoint”
- Run - cmd+r
- Build - cmd+b
grant all privileges on prod.* to 'produser'@'%' identified by 'password'; | |
GRANT USAGE ON *.* TO 'newproduser'@'%' REQUIRE SSL; | |
flush privileges; | |
show grants for newproduser; |
show status like 'Ssl_cipher'; | |
select user, host from mysql.user where ssl_type != '' |
convert -quality 75 img.png img.jpg # jpg is a lossy format so will prob be smaller than png | |
- or - | |
to keep in png format use: | |
pngquant --quality=0-80 img.png |
brew doctor | |
brew update |
cat CertificateSigningRequest.certSigningRequest | openssl asn1parse |
$ python -m SimpleHTTPServer 8080 | |
run in the directory of the files you want to serve |
// == Basics == | |
// objective-c is the same as C (just a superset of C) | |
// [, @, NS are the objective-c clues (things not allowed in C) | |
// NS == NextStep operating system | |
// Mac OSX is built on objective-c | |
NSLog // print | |
NSLog(@"There are %i minutes in a %i year", minutesInAYear, numYear); |