Show .hidden folders and files in Os X Leopard
Some applications such dump itty bitty hidden files that will screw up your workflow if you don't manage them. Here's how to quickly identify...
Digital Product Manager & Social Entrepreneur. Mostly write about AWS, Swift, R, and Ruby.
Some applications such dump itty bitty hidden files that will screw up your workflow if you don't manage them. Here's how to quickly identify...
Here's why I use em: 1. Pixels are precise, but they're not very flexible. If you increase your browser's font-size, things may...
Here are some Regular Expression basics in Actionscript 3. 1. RegExp.text(string) returns a Boolean 2. RegExp.exec(string) returns an Object 3. String.search(pattern) returns...
Basic example of how to open a text file and print them (including line-numbers) into a new text file. Example 1 - Long-hand counter = 1 old_file = File....
Import CSV file LOAD DATA INFILE "/data.csv" INTO TABLE alldata FIELDS TERMINATED BY ","; #Dump DB data to CSV file SELECT * INTO OUTFILE '...
DHCP stands for Dynamic Host Configuration Protocol. Its most popular function is dynamically assigning IP addresses to devices within a network....
This is the first of two ways to send Text to Flash using HTML and JavaScript. To follow my example, you must download and link to [SWFObject](http:...
The first example strips out the HTML. The second example shows how to target a single quote using unicode. //////////////////////////////////////////// //Example 1: //////////////////////////////////////////// var re:RegExp = /<font face=\u0022(...
This shows how to create Cascading Style Sheets using ActionScript. /************************** CSS Translation of Properties **************************/ /* HTML ActionScript color color display display font-family fontFamily font-size fontSize font-weight fontWeight margin-left marginLeft...
Open up terminal, paste the code below, then log your user out. # Make Hidden Files Apparent defaults write com.apple.Dock showhidden -bool yes # Make Hidden Files Unapparent...
You can run functions in parallel without any problems as long as you have enough memory in your computer and none of your functions are dependent on one...
Encrypting / Decrypting Passwords using EzCrypto
There are many functions available for Time, Month, Day, and Year. Below are a few examples. # Find out the Current Time t = Time.now # Find out the Month,...
Before you save a password to a database, it may make sense to encrypt it. That way, when you do some user authentication, you can compare the users...
# A. Import the YAML Library require 'yaml' # B. Create an array names = %w[chris sandy josie billy suzie] # Example 1 : Converting an array into YAML using:...
Download the Credit Card Library from Lucas Carlson. sudo gem install creditcard # Checksum Digit, there is an algorithm that checksum must match # A. Import the libraries require '...
Here's a short example of how to parse an RSS feed using Ruby. require 'rss' require 'open-uri' open('https://www.chrisjmendez....
Hi, my name is Chris, and I'm a native Angelino with a passion for the music industry, social impact, and technology. I am currently the Director...
You need the Form Plug-in [http://jquery.malsup.com/form/] to make this work. <script type="text/javascript" charset="utf-8" src="/js/...
So here's the scenario, suppose your loading an image, SWF, etc., but if any other kind of error occurs in your application, you want an error...