Search

Search results

git push after git tag problem (everything up-to-date)

... I pushed it like this: git push origin v0.1 The command the output from git looks like this: $ git push origin v0.1 ... also use this command: git push --tags You can find more information about tagging here on the git-scm.com website . ...

Blog - alvin - Feb 21 2015 - 9:46pm - 0 comments

Teleport - The Unix/Linux cd command, improved

... table of contents   The Teleport command Teleport command help For basic use, tp is just like ... is fantastic. Just what I was looking for. However I find that sometimes I need to list the commands and then jump to a number. This ...

Blog - alvin - Jan 22 2015 - 10:11pm - 25 comments

How to start the Android command line shell

Android FAQ: How do I start the Android command line tool (so I can interact with my Android emulator or device)? ... emulator or device. Android adb commands You can find a complete list of adb commands here on the Android developer website . ...

Blog - alvin - Feb 3 2015 - 12:11am - 0 comments

A Mac iTunes backup script (How I backup my iTunes music using find and tar)

... backup my iTunes music on my Mac OS X systems: find . -name '*.mp3' -type f -mtime -365 -print0 | xargs -0 tar rvf ... the Music folder on my OS X system, then run that command, and it creates the tar file shown at the end of the command. This ...

Text - alvin - Jan 19 2015 - 4:50pm - 0 comments

A collection of Unix/Linux find command examples

...   Abridged examples Basic find command examples Find directories with the Unix find command ...

Blog - alvin - Jul 29 2014 - 3:46pm - 23 comments

A Java JFileChooser example, with ActionEvent, ActionListener, Insets, actionPerformed, showOpenDialog

... applications quite a bit, and I want it to be easier to find on my website.) /** * Copyright (c) 2006 Sun Microsystems, Inc. All ... + "." + newline); } else { log.append("Open command cancelled by user." + newline); } ... } else { System.err.println("Couldn't find file: " + path); return null; } } /** * Create the GUI ...

Source_Code - alvin - Nov 24 2014 - 11:59pm - 0 comments

Converting PDF content to plain text with Scala (or Java)

... its limitations. In my Github project you’ll find a shell script to compile the application into a native Mac OS X ... include Jar files in a Scala shell script, (b) how to read command line arguments in a Scala shell script, or (c) how to precompile a ...

Blog - alvin - Nov 17 2014 - 3:26pm - 0 comments

Generating a list of URLs from Apache access log files, sorted by hit count, using Apache Spark (and Scala)

... the REPL. I start the Spark interpreter (REPL) with this command at my *nix command line: $ MASTER=local[4] ... 'bytes' field I used this next expression to find the lines that my Apache access log file parser project wasn’t ... servers. But alas, that will have to wait until I can find some more free time. Until then, if you were looking for an example of how ...

Blog - alvin - Nov 7 2014 - 5:07pm - 0 comments

Analyzing Apache access logs with Spark and Scala

... you build Spark on your system with SBT by using this command in your Spark installation directory: $ sbt/sbt assembly ... little methods to work with the data. For instance, to find out how many 404 records are in the access log, I first create this ...

Blog - alvin - Nov 7 2014 - 5:25pm - 0 comments

iTunes AppleScript examples (command examples)

... set currentVolume to sound volume end tell This command can be used to decrease the Mac system volume (not the iTunes volume, ... radio script - Play a radio station I couldn't find a great way to play radio stations out of the Radio Stations playlist that ...

Blog - alvin - Nov 3 2014 - 2:58pm - 2 comments