Lost your password?

Blogs about: Codesnippet

Featured Blog

RetrieveByAttribute Code Snippet

haditeo wrote 1 year ago: My custom RetrieveByAttribute code snippet is frequently used to retrieve an object based on one att … more →

Tags: Dynamics CRM, CRM, SDK

AS3 Code Snippet: Covert seconds to simple time stamp2 comments

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 →

Tags: ActionScript, development, Internet, AS3

Code snippet: tinyurl link creation api

Mike Luby wrote 1 year ago: Here is a quick code snippet to use the tinyurl link creation api. < ?php //tinyURL function, nee … more →

Tags: Internet, Web 2.0, API, development, php, tinyurl, Code

Parsing Text Files in Java4 comments

utah_guy wrote 1 year ago: The following code is designed to parse (comma, tab, etc.) delimited files in Java. private static A … more →

Tags: Java

How to Concatenate Two String Values in SQL1 comment

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 →

Tags: SQL

How to Do an IF Statement in SQL

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 →

Tags: SQL

Find Files in Directory Using Python1 comment

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 →

Tags: Python

Converting a String to a Boolean in Python6 comments

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 →

Tags: Python, Tip

Sorting Dictionaries in Python

utah_guy wrote 1 year ago: Newer versions of Python have a built-in function called sorted that can help you sort dictionaries. … more →

Tags: Python, Programming

Copying from One Directory to Another in Linux1 comment

utah_guy wrote 1 year ago: cp FileName.txt DirectoryName/ … more →

Tags: Linux

Append a List to a List in Python 1 comment

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 →

Tags: Python, Programming

Simple Method to Calculate Median in Python6 comments

utah_guy wrote 1 year ago: (Note: Please see my latest posts at my new blog!) def getMedian(numericValues):   theValu … more →

Tags: Python, statistics

Filtering Data in Python (Example of Functional Programming Approach)

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 →

Tags: functional programming, Python

Computing Chi-Squared P-Value from Contingency Table in Python2 comments

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 →

Tags: Python, statistics

Silly formatter

Michael wrote 3 years ago: Why use padleft, when you can use formatters?!!! private void button1_Click(object sender, System.Ev … more →

Tags: .NET


Related Tags
All →

Follow this tag via RSS