hours_per_year = 365*24
puts hours_per_year
minutes_per_decade = hours_per_year1060
| #!/bin/bash | |
| ## | |
| ## .git/hooks/post-merge | |
| ## | |
| ## Runs all special post-merge hooks | |
| ## | |
| this_dir="$(dirname "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
| "$this_dir/require_signoff" |
| #!/usr/bin/env ruby | |
| # 1. Install hunspell | |
| # $ brew install hunspell | |
| # 2. Download a dictionary and install it in a path listed by `hunspell -D` | |
| # $ open http://wiki.services.openoffice.org/wiki/Dictionaries | |
| # 3. Move this file into your repository | |
| # $ mv commit-msg /path/to/repo/.git/hooks |
| .logo_container | |
| #cube.default | |
| .figure.front | |
| .figure.back | |
| .figure.right | |
| .figure.left | |
| .figure.top | |
| .figure.bottom |
| # Generated by iptables-save v1.4.10 on Sun Apr 22 03:00:29 2012 | |
| *filter | |
| :INPUT DROP [59:1664] | |
| :FORWARD DROP [0:0] | |
| :OUTPUT ACCEPT [49:5928] | |
| -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| -A INPUT -p icmp -m icmp --icmp-type 11 -j ACCEPT | |
| -A INPUT -p icmp -m icmp --icmp-type 4 -j ACCEPT | |
| -A INPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT | |
| -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT |
| [mysqld_safe] | |
| socket = /tmp/mysql.sock | |
| [server] | |
| character_set_server=utf8 | |
| collation_server=utf8_unicode_ci | |
| skip_character_set_client_handshake | |
| default_table_type=innodb | |
| transaction-isolation=READ-COMMITTED |
| class FortuneTellerMachine | |
| def initialize | |
| @coins = 0 | |
| end | |
| def start | |
| puts "Hola ¿Quiéres saber tu fortuna?" | |
| @coins += 1 | |
| if @coins == 1 | |
| puts "necesito otra moneda, yo quiero moneda." |
| class FortuneTellerMachine | |
| WELCOME = "Hola ¿Quiéres saber tu fortuna?" | |
| REQUEST = "Fortuna por monedas, yo quiero yo quiero monedas (2): " | |
| CHANGE_BACK = "Here is your change" | |
| COST = 2 | |
| def initialize | |
| clear | |
| end |
| % Document design: {"_id": "namespace/edf42", ...} | |
| fun({Doc}) -> | |
| Id = proplists:get_value(<<"_id">>, Doc, null), | |
| NameSpace = binary:bin_to_list(Id), | |
| case re:split(NameSpace, "[/]") of | |
| [_] -> null; | |
| [Type, BaseId] -> Emit(Type, BaseId) | |
| end | |
| end. |