I wrote about…
32-bit 64-bit algorythm background batch command c++ certificate combinatorics configuration contest der dev-c++ dynamic programming eclipse exponential facebook hacking cup import install jar java javascript keyboard keytool layout library mathematics maven modulo arithmetic mysql openCRX openssl pem php private key repository restore slider sort algorythm start svn syntax highlighting ubuntu windows wordpress x509Archives
- February 2013 (1)
- January 2012 (2)
- February 2011 (2)
- January 2011 (11)
- October 2010 (3)
- September 2010 (3)
- March 2004 (1)
- January 2004 (1)
Meta
Tag Archives: java
Fixing tootlip background color in Eclipse
The problem Under Ubuntu the Eclipse tooltip (the one that shows up when you hover over a function or variables) has an anoying black background color. This is due to the fact that Eclipse takes the default background color from … Continue reading
Posted in Programming, System Administration
Tagged c++, configuration, eclipse, java, syntax highlighting, ubuntu
Leave a comment
Facebook Hacking Cup – Round 2 – Scott’s New Trick – Solution
Preparation This problem needs some module arithmetic concepts before we can give a solution.
Posted in Programming
Tagged contest, dynamic programming, facebook hacking cup, java, modulo arithmetic
2 Comments
Facebook Hacking Cup – Round 1B – Slot Machine Hacker – Solution
The problem is actually so simple that a brute force approach is possible:
Posted in Programming
Tagged contest, dynamic programming, facebook hacking cup, java
Leave a comment
Facebook Hacking Cup – Round 1A – Turn on the Lights – Solution 1
The problem can be solved using linear algebra. However there’s also a brute force method which is usable for a board with a maximum of 18 columns. Here I’ll describe the brute force approach.
Facebook Hacking Cup – Round 1A – Wine Tasting – Solution
Acknowledgements So this problem seems suite simple. After some thinking I came up with the idea that C(n,k)*(n-k-1)! would give me the number of combinations with exactly k correct wines out of n glasses. Infact C(n,k) is the number of … Continue reading
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup, java
Leave a comment
Facebook Hacker Cup – Qualification Round – Studious Student – Solution
This problem seems simple. Just store the words in an array of strings and sort them:
Posted in Programming
Tagged contest, dynamic programming, facebook hacking cup, java, sort algorythm
1 Comment
Facebook Hacker Cup – Qualification Round – Peg Game – Solution
At first this problem puzzled me because the example: x.x.x.x.x x…x.x x…x.x.x x.x…x x.x.x.x.x G ‘x’ indicates a peg, ‘.’ indicates empty space. For me gave a solution of 0.63.
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup, java
Leave a comment
Facebook Hacker Cup – Qualification Round – Double Squares – Solution
This problem seems to have an obvious solution:
Importing openSSH keys into a Java keystore
As Agent Bob points out in this post importing an SSH key in to a Java keystore isn’t as painless as it should be. So just download ImportKey.java.
Posted in Programming, System Administration
Tagged certificate, der, import, java, keytool, openssl, pem, private key, x509
Leave a comment
Installing an external JAR into Maven
Sometimes you have to use a library that isn’t available in Maven repository. In this case you must take the JAR and install it in the local repository using the install plugin: for example to install an hipotetical jar foo-1.0.2.jar … Continue reading