The following code is designed to parse (comma, tab, etc.) delimited files in Java. private static ArrayList parseDelimitedFile(String filePath, String delimiter) throws Exception { ArrayL… more →
Code Commentshaditeo wrote 1 year ago: My custom RetrieveByAttribute code snippet is frequently used to retrieve an object based on one att … more →
Mike Luby wrote 1 year ago: What this code snippet allows is the ability to pass the number of seconds and return a simple time … more →
Mike Luby wrote 1 year ago: Here is a quick code snippet to use the tinyurl link creation api. < ?php //tinyURL function, nee … more →
utah_guy wrote 1 year ago: The following code is designed to parse (comma, tab, etc.) delimited files in Java. private static A … more →
utah_guy wrote 1 year ago: (The following example was tested in SQLite, but it should work for most versions of SQL.) The synta … more →
utah_guy wrote 1 year ago: (The following example has been tested in SQLite, but it should work for most versions of SQL.) Tech … more →
utah_guy wrote 1 year ago: A nice solution to this is the path Python module. However, the following simple solution will do th … more →
utah_guy wrote 1 year ago: Let’s say you have a string value that you want to convert to a boolean, but you’re not … more →
utah_guy wrote 1 year ago: Newer versions of Python have a built-in function called sorted that can help you sort dictionaries. … more →
utah_guy wrote 1 year ago: cp FileName.txt DirectoryName/ … more →
utah_guy wrote 1 year ago: (Note: Please see my latest posts at my new blog!) An easy way to do this is with the extend functio … more →
utah_guy wrote 1 year ago: (Note: Please see my latest posts at my new blog!) def getMedian(numericValues): theValu … more →
utah_guy wrote 1 year ago: (Note: Please see my latest posts at my new blog!) Let’s say you are doing a cancer study and … more →
utah_guy wrote 1 year ago: (Note: Please see my latest posts at my new blog!) Update: Here is a link to notes from my Stats cla … more →
Michael wrote 3 years ago: Why use padleft, when you can use formatters?!!! private void button1_Click(object sender, System.Ev … more →