I need a beer

sábado, 13 de octubre de 2018

Launch iPhone simulator from command line

  • xcrun simctl list
  • /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID

miércoles, 11 de abril de 2018

P12 to Firebase

Download from developer account private key openssl pkcs12 -nocerts -out keydistribution.pem -in keydistribution.p12
openssl x509 -in aps.cer -inform DER -out aps.pem -outform PEM
openssl pkcs12 -export -out mexico.p12 -inkey keydistribution.pem -in aps.pem

martes, 20 de marzo de 2018

miércoles, 7 de marzo de 2018

Config git on server

# on John's computer $ cd myproject $ git init $ git add . $ git commit -m 'initial commit' $ git remote add origin git@gitserver:/srv/git/project.git $ git push origin master

viernes, 2 de febrero de 2018

miércoles, 31 de enero de 2018

Change timezone Centos 7

  • list timezones: # timedatectl list-timezones
  • verify currently timezone: # timedatectl
  • change: # timedatectl set-timezone America/Lima
  • verify again: # timedatectl
Enjoy =).

Launch iPhone simulator from command line

xcrun simctl list /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID