Find a Class in a bunch of JAR Files
Coderwallfor j in *.jar; do echo $j:; jar -tvf “$j” | grep -Hsi ClassName; done Iterate over every jar in your folder. Output every JAR Name (to match found classes to JARs lateron) List Content of every JAR ( jar -tvf “$j” ) Grep for that specific ClassName grep -Hsi ClassName Original Post: https://coderwall.com/p/7d-mta/find-a-class-in-a-bunch-of-jar-files
SSH Tunnel RDP Session over another Host
CoderwallLet’s say you want to tunnel an RDP connection via SSH.User: phausSSH-Server: ssh.example.comRDP-Server: win2k8.example.com You need to run that script and keep your session open.You can then access the remote System with a RDP Client over localhost 13389. Original Post: https://coderwall.com/p/wzvxhg/ssh-tunnel-rdp-session-over-another-host
Fixing Error installing cocoa-pods on MacOS
CoderwallIf you installing cocoapods on a vanilla MacOS System you might get some error like this: The important error is make: /opt/local/bin/gmkdir: No such file or directory You need to install coreutils for fixing this. With MacPorts: For Homebrew: Original Post: https://coderwall.com/p/ehijxg/fixing-error-installing-cocoapods-on-macos
use 3rd party Dependencies in your Maven Project
CoderwallDeploy your JAR to your local (file) Repository. You shold also commit this to your CVM System. You can also add JARs as Javadoc or Source. You can now use these JARs in your pom File if they were in a normal Repository: Original Post: https://coderwall.com/p/r28cew/use-3rd-party-dependencies-in-maven-project
Map Char to Alpha Position with Java
CoderwallSometimes, you would like to have Mapping Char to Int ( A = 0, B = 1, etc.)One easy way to do this is using indexOf Original Post: https://coderwall.com/p/ql-wng/map-char-to-alpha-position-with-java
using an ISP SMTP for sendmail
CoderwallJust a Link: http://cri.ch/linux/docs/sk0009.html