[19-07-2013]
After downloading the JDeveloper I have encountered the issue with starting it on OS X. I have an ugly fix, but it works. If you go to Terminal, and start JDeveloper by typing open JDeveloper.app and you get the message LSOpenURLsWithRole() failed with error -10810 for the file JDeveloper.app There is a workaround 1. Create […]
[10-07-2013]
If you have new Kindle Paperwhite you are probably shocked with the recommended content that occupy half of the screen (these are premium offers from Amazon). You can turn it off by going to: Settings -> Device Options -> Personalize your Kindle -> Recommended Content That’s it.
[23-06-2013]
If you want to ignore some breakpoints in gdb you can achieve that using “ignore”. Let’s say we want to analyze following code /* This is main.c */ #include int main() { int i; for(i=0;i
[23-06-2013]
Summary: Pointers straight to the point Pointers are the nemesis of most of newcomers to C. There are few issues related to this topic. Pointers arithmetics is confusing, people get confused when it comes to characters and strings, array based arithmetics using pointers will not make any beginner happy. And, after all of that, comes […]
[11-06-2013]
If you want to print value each time breakpoint is hit you can use command inside gdb. // main.c #include int main() { for(int i=0;icont >end (gdb) run Starting program: /Users/michalo/test/main Reading symbols for shared libraries +……………………….. done Breakpoint 1, main () at main.c:7 7 int b = i; // we want to print this […]
[04-06-2013]
Simply use javap tool javap -classpath . my.package.MyClass
[29-05-2013]
The Humble Indie Bundle 8 is already there and is waiting for your participation. When it comes to me, it is worth buying for the soundtracks themselves. My favourite so far? “Wormhole Surfing” by SonicPicnic https://www.humblebundle.com
[17-05-2013]
Summary: Computer Science 101 The book is a simple, short introduction to computer science and programming. It’s an unusual book as it is really short and concise (side note: compare it to The Art of Computer Programming by Donald E. Knuth – 3168 pages). However, this doesn’t mean it is unusable, contrary, it is a […]
[27-04-2013]
Summary: I simply like the style This is the next release of the series related to iOS Programming. This time, Matt focuses on iOS 6 release. Comparing to previous releases, you will find here information regarding new APIs new configuration settings and new features in XCode 4.X version. This release is focused on LLVM and […]
[23-04-2013]
PEM to P12 openssl pkcs12 -export -in usercert.pem -inkey userkey.pem -out mycert.p12 P12 to PEM openssl pkcs12 -nocerts -in mycert.p12 -out userkey.pem openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out usercert.pem chmod 0400 userkey.pem chmod 0600 usercert.pem PEM to JKS keytool -import -file userkey.pem -keystore keystore.jks \ -storepass _store_password_comes_here_ P12 to JKS keytool -v -importkeystore -srckeystore […]
[12-04-2013]
Summary: broadly covering the topic, however, sometimes too shallow This book is not about how to implement the game, or how to make graphics, or which software to use. This book covers topics that have to be addressed prior to any development starts at all. Designing Games is devoted to the topic of game mechanics […]
[22-03-2013]
Sometimes, the easiest solutions are the best :) If you want to redirect input/output in gdb session it is as simple as that: (gdb) run < input_stream_file > output_stream_file
[22-03-2013]
This is quite silly application that I wrote for fun some time ago. It can be regarded as cryptic one. Just put following lines into ‘program.c’ file and you can enjoy running it as described below: echo =1/*”beat that ;)” | tail -c13 #*/;main(){printf(“beat that ;)\n”);} shell>gcc -o program program.c shell>./program beat that ;) shell>bash […]
[10-03-2013]
At some point Apple decided to remove source view of the page within Safari. At least, my default installation in Mountain Lion doesn’t allow to show Page Content directly from the page/menu level. If you want to see page source, you have to enable development menu (Preferences -> Advanced) Then, you will be able to […]
[07-03-2013]
Recently, I have found that my Snagit installation doesn’t contain tools that were available just after installing it. I don’t know what exactly have I done to make them disappear, however, I wanted them back. If you can’t find tools in the Snagit (take a look below) You have to simply restore defaults. Just right-click […]
[22-02-2013]
There is a really cool tcsh related tutorial at IBM’s pages: http://www.ibm.com/developerworks/aix/library/au-tcsh/ Definitely worth reading!
[21-02-2013]
Summary: Right explanation of complex things This is yet another book from C.J. Date on the relational theory. This time, C.J. takes you on the journey of View updates. The topic is controversial as this is not that obvious whether it is possible to perform view updates or not. C.J. approaches the topic from the […]
[10-02-2013]
If you have ever got this message from “ssh -x user@host” “An error occured while starting the X11 server: Cannot establish any listening sockets – Make sure an X server isn’t already running.” make sure to check whether you have /tmp/.X11-unix directory. If you do so, simply remove it shell> rm -rf /tmp/.X11-unix X11 server […]
[03-02-2013]
Summary: Very comprehensive Thanks to this book I was able to write my small app (MuteMyMic). As my application is based on low level APIs for sound input/output in OS X, I had to find some sort of comprehensive guid related to the topic. And this is the book I have found the best on […]
[29-01-2013]
NetBeans IDE 7.3 RC1 is ready for download You can find it here: http://bits.netbeans.org/netbeans/7.3/rc1/