Skip to content

Instantly share code, notes, and snippets.

View dimitardanailov's full-sized avatar

Dimitar Danailov (a.k.a Mitco) dimitardanailov

View GitHub Profile
@dimitardanailov
dimitardanailov / .block
Last active August 19, 2017 11:54
AWS Services and Updates (Bar chart with labels)
license: gpl-3.0
@dimitardanailov
dimitardanailov / README.md
Last active August 19, 2017 11:22
Cloud Conf Varna - Cloud application with AWS lambda functions
@dimitardanailov
dimitardanailov / README.md
Last active July 21, 2017 11:30
View Controller - Lifecycle
viewDidLoad

After instantiation and outlet-setting, viewDidLoad is called. This is an exceptionally good place to put a lot of setup code

- (void)viewDidLoad
{
  [super viewDidLoad]; // always let super have a chance in lifecycle methods
  
 // do some setup of my MVC
@dimitardanailov
dimitardanailov / create_user.sh
Last active August 9, 2023 06:16
Creating a Mac OS X user via shell script
#!/bin/sh
# https://apple.stackexchange.com/questions/82472/what-steps-are-needed-to-create-a-new-user-from-the-command-line/84039#84039
. /etc/rc.common
dscl . create /Users/administrator
dscl . create /Users/administrator RealName "Terminal User Account"
dscl . create /Users/administrator hint "Password Hint"
dscl . create /Users/administrator picture "/Path/To/Picture.png"
dscl . passwd /Users/administrator thisistheaccountpassword
@dimitardanailov
dimitardanailov / .block
Created March 6, 2017 18:41
Simple JSON reader with d3js
license: gpl-3.0
@dimitardanailov
dimitardanailov / .block
Created March 6, 2017 17:59
Simple CSV reader with d3js
license: gpl-3.0