obiwanchinobi-blog
obiwanchinobi-blog
ObiwanChinobi aka Dave Tong
58 posts
Dave Tong is a Software Engineer who is addicted to all things Geek.
Don't wanna be here? Send us removal request.
obiwanchinobi-blog · 13 years ago
Photo
Tumblr media
Breakdown of average minutes/visitor on social sites
3 notes · View notes
obiwanchinobi-blog · 13 years ago
Link
Love the simplicity and icons
2 notes · View notes
obiwanchinobi-blog · 13 years ago
Link
0 notes
obiwanchinobi-blog · 13 years ago
Photo
Tumblr media
Sourcebits' elegant landing page
2 notes · View notes
obiwanchinobi-blog · 13 years ago
Link
0 notes
obiwanchinobi-blog · 13 years ago
Text
Add helper tool to project
Add target
2 notes · View notes
obiwanchinobi-blog · 13 years ago
Text
kSMErrorDomainFramework error 5 - The tool at the specified path is not valid
Below is the error produced when Other Linker Flags is not set correctly
XCode debugger:
2012-03-11 21:21:28.771 MyApp[37675:903] Bless Error: Error Domain=kSMErrorDomainFramework Code=5 UserInfo=0x10011b4c0 "The operation couldn’t be completed. (kSMErrorDomainFramework error 5 - The tool at the specified path is not valid.)"
System Console error:
11/03/12 9:21:28 PM /usr/libexec/launchdadd[37611] FAILURE: Failed to create property list! (Cannot parse a NULL or zero-length data) 11/03/12 9:21:28 PM /usr/libexec/launchdadd[37611] FAILURE: Tool has no embedded launchd plist! 11/03/12 9:21:28 PM /usr/libexec/launchdadd[37611] FAILURE: Could not create a request for tool at path bla bla bla
0 notes
obiwanchinobi-blog · 13 years ago
Link
13 notes · View notes
obiwanchinobi-blog · 13 years ago
Photo
Tumblr media
Why are the base lines of the DropBox logo off? The green dotted lines are where I would expect the base of the box to be joined (top the red circles).
4 notes · View notes
obiwanchinobi-blog · 13 years ago
Text
How to draw dashed lines in Photoshop
select brush tool (this can also be done with pencil)
click on Toggle the Brushes panel
click on the Brush Tip Shape section
adjust Spacing
0 notes
obiwanchinobi-blog · 13 years ago
Text
Draw straight lines in photoshop
Select brush tool (this can also be done with pencil)
Click at point A
Hold shift and click at point B
0 notes
obiwanchinobi-blog · 13 years ago
Text
uninitialized constant Mysql while running rake tasks
Using:
rbenv
bundler
mysql2 gem
I have had this twice and the answer is obvious. Make the following change in database.yml:
adapter: mysql2
1 note · View note
obiwanchinobi-blog · 13 years ago
Text
lion rbenv bundler mysql: uninitialized constant MysqlCompat::MysqlRes
On OSX Lion, when using rbenv and bundler I ran into the following problem when trying to run the rake db tasks:
uninitialized constant MysqlCompat::MysqlRes
This issue also came about when I was using rvm instead of rbenv.
To fix...
Add the following to bash profile:
export ARCHFLAGS="-arch x86_64" export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
Run the following in terminal:
bundle config build.mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config bundle install
76 notes · View notes
obiwanchinobi-blog · 13 years ago
Photo
Tumblr media
Jobs still working in the afterlife
18 notes · View notes
obiwanchinobi-blog · 14 years ago
Text
How to create a bash script - Bash script Permission Denied
Create bash file called hello.sh
Add the following contents to it:
#!/bin/bash echo "List this directory!" ls -la
Save it!
Make it executable:
chmod +x java-run.sh
Run it!
./hello.sh
70 notes · View notes
obiwanchinobi-blog · 14 years ago
Link
A must when writing requirements of any kind.
11 notes · View notes
obiwanchinobi-blog · 14 years ago
Text
Users are happier when you cover more, not less
I saw this quote from Jakob Nielsen and it reminds me of programmers who will spend all their time on one thing instead of accomplishing many things when the project is at a crucial stage that requires many things to be done.
Better to accept a wider margin of error in usability metrics than to spend the entire budget learning too few things with extreme precision.
-- Jakob Nielsen
30 notes · View notes