This file contains hidden or 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 'CSV' | |
| input_path = ARGV[0] | |
| output_path = ARGV[1] | |
| output_array = Array.new | |
| regex = /^([a-zA-Z]*).*$/ | |
| #class |
This file contains hidden or 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 'CSV' | |
| require 'easy_diff' | |
| dcsexport = ARGV[0] | |
| opsexport = ARGV[1] | |
| def csv_to_hash(file_location) | |
| result = {} | |
| CSV.foreach(file_location) do |row| | |
| results[row.values[0]] = row |
This file contains hidden or 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
| $('#states').html("") |
This file contains hidden or 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
| try { | |
| //some code | |
| } catch(Exception e) { | |
| //do nothing at all with e | |
| } |
This file contains hidden or 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
| jQuery.getJson('http://api.wunderground.com/api/dbed73bab6c58648/conditions/q/70506.json', function(data){ | |
| version = data.response.version | |
| }); |
This file contains hidden or 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
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class AnimatableSprite : FSprite { | |
| private string _file; | |
| private int _currentIndex; | |
| private int _maxFrames; | |
| private Animation _currentAnimation; |
This file contains hidden or 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
| #tickets { | |
| th, td { border:1px; } | |
| } |
This file contains hidden or 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
| $('myPopoverTarget').popover({ | |
| content: function() { | |
| var html = ich.some_content({ foo: 'bar' }, true); | |
| return html; | |
| } | |
| }); |
This file contains hidden or 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
| if (isset($_GET["buildingid")) | |
| echo $_GET["buildingid"]; |
This file contains hidden or 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
| var tame = require('tamejs').runtime; | |
| var __tame_fn_0 = function (__tame_k) { | |
| var __tame_k_implicit = {}; | |
| var i = 0; | |
| var __tame_fn_1 = function (__tame_k) { | |
| var __tame_fn_2 = function (__tame_k) { | |
| i ++ | |
| tame.callChain([__tame_fn_1, __tame_k]); | |
| }; | |
| __tame_k_implicit.k_break = __tame_k; |
NewerOlder