We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 4 columns, instead of 1. in line 7.
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
/Users/ernesto/webmob-reports/webdevdata-latest//00/goolive.de_00e1e029f6b66ee4d6c2d6cb20a3d4d0.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//00/spark.ru_006d396650a3d177698dfc83631c1cad.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//01/hubic.com_01a371682d84564071cc4ebb7dd7b90d.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//01/ostrovok.ru_011d92c671691eefc4b39bae360dd511.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//01/traffichaus.com_01589fbfece5140e342e8b0b48065e11.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//02/goldenmoustache.com_02eab7bc0923a014e9b39de9b024d2c8.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto/webmob-reports/webdevdata-latest//02/jing.fm_02856bfc25fcb5195920e40a67244338.html.txt,meta,apple-mobile-web-app-capable,yes | |
/Users/ernesto |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"sync" | |
) | |
type LimitedRoundTripper struct { | |
inflight chan interface{} |
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
# Always use the same tmux session in directories with git | |
attach_tmux_for_dirs_with_repos() { | |
if [ "$TERM" != "screen-256color" ]; then | |
if [ -d .git ]; then | |
SESSION_NAME=$(echo -n ${PWD//*\//}-tmux | tr . -) | |
tmux attach -t $SESSION_NAME || tmux new -s $SESSION_NAME | |
fi | |
fi | |
} | |
add-zsh-hook precmd attach_tmux_for_dirs_with_repos |
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
module ActiveSupport #:nodoc: | |
module CoreExtensions #:nodoc: | |
module Hash #:nodoc: | |
module Conversions | |
module ClassMethods | |
def typecast_xml_value(value) | |
case value.class.to_s | |
when 'Hash' | |
if value['type'] == 'array' | |
# If it has more than 2 keys tag has attributes |
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 'active_support' | |
Hash.from_xml(' | |
<projects page="1" per_page="3" type="array"> | |
<project> | |
<name>project 1</name> | |
</project> | |
<project> | |
<name>project 2</name> | |
</project> | |
<project> |
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
import java_cup.runtime.*; | |
import java.io.*; | |
import java.util.Hashtable; | |
import java_cup.runtime.Symbol; | |
parser code {: | |
public static void main(String argv[]) throws Exception { | |
String fInName = argv[0]; | |
int n = 0, nErrors = 0; | |
if (argv.length !=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
=== hpricot-test.rb (1) | |
user system total real | |
bp.xml 0.070000 0.000000 0.070000 ( 0.070721) | |
posts.xml 0.000000 0.000000 0.000000 ( 0.001641) | |
timeline.xml 0.040000 0.000000 0.040000 ( 0.038301) | |
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND | |
hydrus 18686 60.4 0,3 610836 11620 s004 S+ 11:23AM 0:00.29 ruby hpricot-test.rb 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
$ ruby itunes.rb | |
Top Gratuitas | |
==================== | |
1 - WiFi Telefónica | |
2 - Burning Tires™ 3D Lite | |
3 - SHOUTcast Radio | |
4 - COPE | |
5 - Toy Tanks™ 3D Lite | |
6 - SuperDial | |
7 - iMob Online |
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 'lib/tvtrack' | |
config = TVTrack::Config.instance | |
config[:username] = 'USUARIO' | |
config[:password] = 'PASSWORD' | |
puts "Running at #{Time.now}" | |
eztv = TVTrack::Base.instance | |
eztv.download_torrents |
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
class TestController < ApplicationController | |
include Tractis::IdentityVerifications | |
def create | |
valid_tractis_identity_verification!("API-KEY", params) | |
render :text => <<-TEXT | |
<pre> | |
Identified | |
Name: #{params["tractis:attribute:name"]} | |
eID #: #{params["tractis:attribute:dni"]} |
OlderNewer