Get in the zone with me for a good 15 minutes, maybe you’ll catch a few eclipse tricks and you’ll learn a little bit about how I think (and make mistakes along the way of fixing something on FrostWire)
Related Posts
How to process thousands of WordPress posts without hitting or raising memory limits.
So you need to write a script that processes all the posts in your wordpress database, you don’t need to use the stupid wordpress loop because you’re not writing web facing code, you might just need to fix some metadata on each one of the posts, but every time you iterate through your posts, no […]
How to run your Kotlin gradle built app from the command line
So you build your Kotlin app, you went through the trouble of creating a build.gradle script that you build with gradle assemble this outputs a a “build/libs/kotlin.jar” .jar file, but you have no clue how to run your Kotlin code from the command line. Doing it by hand with “java -cp ” is too much […]
How to enable source highlighting when doing `less mycodefile.ext`
How to enable source highlighting when doing less mycodefile.ext Install source-highlight sudo apt install source-highlight Configure it on your .bash_profile lessWithSourceHighlightSetup() { # location of the script may vary src_hilite_pipe_script=`dpkg -L libsource-highlight-common | grep lesspipe` export LESSOPEN=”| ${src_hilite_pipe_script} %s” export LESS=’ -R ‘ } lessWithSourceHighlightSetup Use it on any code file less -N /path/to/mycode.ext view […]