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
.pagination { | |
font-size: 12px; | |
} | |
.pagination > * { | |
margin-right: 0.1em; | |
padding: 0.3em 0.4em; | |
} | |
.pagination a:hover { |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<!-- | |
Example pom for delegating maven goals to msbuild so it builds the "solution" | |
A solution can be a group of projects, but here we only have one. | |
It should also be possible to have one maven project per solution project, | |
and have a parent pom to deletegate the build. | |
--> | |
<parent> | |
<artifactId>your-artifact-id</artifactId> |
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
Last login: Sun Dec 20 14:29:10 on ttys002 | |
AbelBook:~ amuino$ ping -A 192.168.1.1 | |
PING 192.168.1.1 (192.168.1.1): 56 data bytes | |
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=4.740 ms | |
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.887 ms | |
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=9.605 ms | |
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=2.828 ms | |
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.905 ms | |
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=1.396 ms | |
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=2.945 ms |
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
pantalla:~/dev/nilistics/Plant/pom-converter | |
amuino$ ping 192.168.1.2 | |
PING 192.168.1.2 (192.168.1.2): 56 data bytes | |
64 bytes from 192.168.1.2: icmp_seq=5 ttl=64 time=4105.769 ms | |
64 bytes from 192.168.1.2: icmp_seq=6 ttl=64 time=3155.822 ms | |
64 bytes from 192.168.1.2: icmp_seq=13 ttl=64 time=104.651 ms | |
64 bytes from 192.168.1.2: icmp_seq=14 ttl=64 time=480.029 ms | |
64 bytes from 192.168.1.2: icmp_seq=15 ttl=64 time=963.999 ms | |
64 bytes from 192.168.1.2: icmp_seq=16 ttl=64 time=11.477 ms | |
64 bytes from 192.168.1.2: icmp_seq=19 ttl=64 time=5145.009 ms |
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 File.dirname(__FILE__) + '/../test_helper' | |
require 'signup_controller' | |
# Re-raise errors caught by the controller. | |
class SignupController; def rescue_action(e) raise e end; end | |
# | |
# Adivinen pq falla el assert_not_nil current_user, cuando no debería :-) | |
# | |
class SignupControllerTest < ActionController::TestCase |
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
This file comes form http://groups.google.com/group/twitter-api-announce/browse_thread/thread/6a16efa375532182?hl=en | |
The original is missing a couple of commas near the end. |
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
Something in rails 3.0.3 broke mysql2. | |
It seems to also break some other gems: | |
https://github.com/ProtectedMethod/restful_acl/issues/issue/9 |
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
Compro 1 queso por 10€+IVA(4%) y 100 botellas de vino por 1000€+IVA(18%). | |
Total IVA soportado: 0.40€ + 180€ = 180.04€ | |
Vendo 1 queso por 1010€+IVA(4%) y regalo 100 botellas de vino. | |
Total IVA repercutido: 40.40€ | |
Balance: Hacienda me tiene que devolver 140.04€. Gano dinero incluso sin incluir margen de beneficio en la venta… |
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
# Open irb on the kata directory | |
ruby-1.9.2-p0 > require "./string_calculator_spec" | |
=> true | |
ruby-1.9.2-p0 > s = Separator.new("//[**][+++]\n") | |
=> /,| | |
|["**|+++"]/ | |
ruby-1.9.2-p0 > #Ojo al último patrón! Eso matchea cualquier caracter dentro de [] | |
ruby-1.9.2-p0 > "1++2***3".split(s) |
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
# Repo de 12meses12katas añadido como "upstream" | |
git remote add upstream https://github.com/12meses12katas/Enero-String-Calculator.git | |
# Obtener última versión (sin modificar working tree) | |
git fetch upstream | |
# Mezclar los commits de 12meses12katas en nuestro working tree | |
git merge upstream/master | |
## OPCIONALMENTE, se puede hacer git merge --squash upstream/master para "comprimir" |
OlderNewer