[21-10-2013]
vi – useful commands
1. execute shell and put output into edited file In this example I am listing current directory and add file names into edited file :r!ls -1 2. execute shell command :!command_to_execute
1. execute shell and put output into edited file In this example I am listing current directory and add file names into edited file :r!ls -1 2. execute shell command :!command_to_execute
If you want to save some on the Safari Books Online, and you are not yet a subscriber there is a nice offer this fall. Take a look below:
Today, I have received a really good offer from Packt. It is valid till October 17th – so do not hesitate to visit Packt if you have anything at Packt’s book shelfs you have always wanted to get. This is a really good time to make some purchase. Below, you can find official press release […]
If you want to reset your Game Center ID, but you haven’t set up Apple ID just use your Game Center ID at iforgot.apple.com.
Summary: Next must have from Arun Gupta I think that this one is next must have for all Java EE developers who doesn’t like to browse through the Java EE specifications. As a Java EE developer you probably know how many specifications cover given Java EE release. If you keep your fingers on pulse that’s […]
If you’d like visual view of the file system, and you are working with OSX, you can easily achieve that via CLI using “tree” application. You can download it from here http://mama.indstate.edu/users/ice/tree/ After unpacking source (in my case it was downloaded from here: http://mama.indstate.edu/users/ice/tree/src/tree-1.6.0.tgz) just modify the Makefile inside tree-1.6.0 directory by commenting Linux section […]
In order to show each file on separate tab you have to set OakProjectWindowShowTabBarEnabled to true. defaults write com.macromates.textmate OakProjectWindowShowTabBarEnabled -bool true
Summary: Comprehensive and gentle introduction to relational model I remember reading another book from C.J Date some time ago: SQL and Relational Theory. At that time I was simply put off by the content as I thought it was no use from the pratical point of view. This time, I would write different review, and […]
If you want to use multiple ports forwarding simply specify all the forwards as ssh arguments ssh -R 8081:host_A:80 -R 8082:host_B:80 user@host_C What’s the plan? – you will log in into host_C – port 80 from host_A will be exposed as 8081 at host_C – port 80 from host_B will be exposed as 8082 at […]
Just make sure you are using your development certificates while debugging the code on device. Production profiles neither have “get-task-allow” nor “Can be debugged” properties.
If you are looking for the JAX-RPC inside NetBeans 7.4 take a look here: NetBeans 7.0 and JAX-RPC Web Services
Summary: Typical cookbook When it comes to the content of this book, I would vote here for something between three and four stars. Why? Well, first off all, the idea of the book is really good. Sometimes, you simply don’t fell like getting through all the details is a right thing to do. Sometimes, all […]
Well, I have spent like half an hour trying to figure out why gdb loads incorrect executable :) Solution was simpler than I would expect. I have simply forgotten that there is something like ~/.gdbinit and I have used it recently with automation settings for some other session :) So, remember to clear this file […]
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 […]
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.
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
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 […]
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 […]
Simply use javap tool javap -classpath . my.package.MyClass
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