This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
// array | |
var a1 = [1, 2] | |
var a2 = [3, 4] | |
var a3 = a1 + a2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
businesses = ( | |
{ | |
categories = ( | |
( | |
Thai, | |
thai | |
) | |
); | |
"display_phone" = "+1-415-931-6917"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Reads data from excel file | |
* | |
* @param path | |
* @param sheetNumber | |
* @param colNumber | |
* @param startRowNumber | |
* @return | |
* @throws Exception | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "begin script install_ff_plugin">> ~/.cim_install_log | |
cd "/tmp/comcast_002/Firefox Plugin/">> ~/.cim_install_log | |
ruby install_ff_plugin.rb "/tmp/comcast_002/Firefox Plugin">> ~/.cim_install_log 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to add some bookmarks to any supported browsers | |
echo "shell script running">> ~/.cim_install_log | |
echo $1>> ~/.cim_install_log | |
echo $2>> ~/.cim_install_log | |
echo "run ruby script from:">> ~/.cim_install_log | |
echo $2/ruby/add_bookmarks.rb>> ~/.cim_install_log | |
cd $2/ruby | |
ruby $2/ruby/add_bookmarks.rb>> ~/.cim_install_log 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# a script to add some bookmarks, loaded from an xml file | |
require "rexml/document" | |
require "json" | |
require "plist" | |
require "fileutils" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rexml/document" | |
require "fileutils" | |
FIREFOX_PROFILES_LOCATION = "Library/Application Support/Firefox/Profiles/" | |
TEMP_DIRECTORY = "comcast_temp_000123" | |
FIREFOX_TOOLBAR_FILENAME = "XfinitydotcomToolbarMAC.xpi" | |
abs_path_xpi_directory = File.dirname($0) | |
# user may pass a commandline argument to override the default location | |
# of the xpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Multi-lang Testing Page</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> | |
<!-- Date: 2011-07-21 --> | |
</head> |