Skip to content

Instantly share code, notes, and snippets.

View oboje's full-sized avatar
🎯
Focusing

Igor Popov oboje

🎯
Focusing
  • New York
View GitHub Profile
@oboje
oboje / Tools.m
Created November 15, 2016 12:09
Obj-C Categories / Helpers
@interface Tools: NSObject
+ (UIColor *)colorWithHex:(NSUInteger)hex;
@end
@implementation Tools
+ (UIColor *)colorWithHex:(NSUInteger)hex
@oboje
oboje / config.bash
Last active October 19, 2019 19:21
macOS Sys Tweaks
#!/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
@oboje
oboje / .gitignore
Created October 18, 2016 10:25
iOS GitIgnore
#Build
Build/
DerivedData/
#Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
@oboje
oboje / cmds
Last active October 7, 2016 13:41
Unix system managements utils
#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
# 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
# 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"];
@oboje
oboje / Tools
Last active October 19, 2019 19:34
#team management, dashboards, etc
https://www.notion.so/
#communication
slack
#ui/ux
sketch,
zeplin
#read array in lldb
memory read -t int -c `size` v
@oboje
oboje / Xcode Theme : Obsidian Code
Last active December 23, 2021 14:15 — forked from jessedc/ObsidianCode.dvtcolortheme
Xcode Theme : Obsidian Code
<?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>
"Effective Engineer"
#Marcus Zarra
"Core Data for the Pragmatic Programmers"
"Core Animation"
"Cocoa Is My Girlfriend"
#Articles :