Writing
rsync: Exact copy command
I purchased a new 4 TB external hard drive and backed up about 1 TB from an older 2 TB external. I wanted to preserve the dates and permissions, so rsync was perfect. Adding the command I used, so I can look it up next time. rsync -ravh <source> <target> Ref: http://www.tecmint.com/rsync-local-remote-file-synchronization-commands/
Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog
Source: Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog
SpringBoot: Making use of @Value properties from YAML files for Cucumber tests
In case you use: 1. SpringBoot to build your web applications using Java 2. Test it with Cucumber 3. Use YAML files for configurable property values You can use the YamlPropertiesFactoryBean to make use of @Value for your test configuration. application.yml: myapp: base: url: some_url cucumber.xml (or application context .xml): <context:component-scan base-package="cucumber.runtime.java.spring"/> <context:annotation-config/> <bean id="yamlProperties"…
iOS: Remove broken and already-removed apps in Cydia Installed list
In case you installed a misbehaving app via Cydia, manually removed it using iFile or Filza, but can’t seem to remove it from the “Installed” list/section, here’s what you can do: 1. Using your preferred file manager — in my case, Filza — navigate to “/var/lib/dpkg/status” 2. View the app with “Text Editor” 3. Click…
IntelliJ IDEA: Plugin to generate SerialVersionUID
Easy as pie. 1. Go to: File > Settings > Plugins > Browse repositories > GenerateSerialVersionUID. 2. Install the plugin and restart. 3. Generate the ID by: Code > Generate > serialVersionUID or the shortcut.
iOS: apt-get command not found
In case you’re into jailbreaking your iOS device(s) and like doing things via SSH, you’ll want to install APT 6.0 Transitional in order to have apt-get for package management. Simply install it via Cydia!