This file contains 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
@interface Tools: NSObject | |
+ (UIColor *)colorWithHex:(NSUInteger)hex; | |
@end | |
@implementation Tools | |
+ (UIColor *)colorWithHex:(NSUInteger)hex |
This file contains 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
#!/bin/bash | |
#advance speed of notifications | |
defaults write com.apple.notificationcenterui bannerTime 1.0 | |
#Don’t animate opening applications from the Dock | |
defaults write com.apple.dock launchanim -bool false | |
#Speed up Mission Control animations | |
defaults write com.apple.dock expose-animation-duration -float 0.1 |
This file contains 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
#Build | |
Build/ | |
DerivedData/ | |
#Various settings | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 |
This file contains 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
#will show you your processes, with their parent ID in the second column. | |
ps -xo pid,ppid,stat,command | |
#kills processes | |
ps aux | grep -ie "process name" | awk '{print $2}' | xargs kill -9 |
This file contains 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
# best visual presentation about cough, pneumonia, reasons and processes taking place during illness | |
https://upload.wikimedia.org/wikipedia/commons/transcoded/8/8e/Pneumonia.webm/Pneumonia.webm.480p.webm |
This file contains 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
# 1 | |
/usr/libexec/PlistBuddy -c "Set :GIT_COMMIT_HASH `git rev-parse HEAD`" "${TARGET_BUILD_DIR}"/"${INFOPLIST_PATH}" | |
# 2 | |
[[NSBundle mainBundle] infoDictionary][@"GIT_COMMIT_HASH"]; |
This file contains 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
#team management, dashboards, etc | |
https://www.notion.so/ | |
#communication | |
slack | |
#ui/ux | |
sketch, | |
zeplin |
This file contains 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
#read array in lldb | |
memory read -t int -c `size` v |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0 0 0 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>Menlo-Bold - 11.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0 0 0 1</string> |
This file contains 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
"Effective Engineer" | |
#Marcus Zarra | |
"Core Data for the Pragmatic Programmers" | |
"Core Animation" | |
"Cocoa Is My Girlfriend" | |
#Articles : |