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
# frozen_string_literal: true | |
class HeterogramProductMaximizer | |
attr_accessor :words | |
def initialize(words) | |
@words = words | |
@product = 0 | |
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
01 - Nue - (Stench / Scorch Build-Up / Weaken Ranged Weapons / Summon Amrita Spike Wind) | |
02 - Derrick the Executioner (+ Ryunoshin, If you're doing coop) - (Confusion / Poison Build-Up / Reduce Agility / Create Water Area) | |
03 - Honda Tadakatsu (+ Ii Naomasa, If you're doing coop) - (Stench / Reduce Ki Recovery / Stench / Create Yokai Realm) | |
04 - Onryoki (+ Sakata Kintoki, If you're doing coop) - (Torpor / Poison Build-Up / Reduce Agility / Summon Amrita Spike Fire) | |
05 - White Tiger (+ Marume Nagayoshi, If you're doing coop) - (Stench / Increase Enemy Attack / Reduce Agility / Create Yokai Realm) |
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
pg_dump --no-acl --no-owner -h [host] -U username -T reports --data-only -v [db_name] > tmp/db_name.dump | |
psql db_name < tmp/dump_name.dump |
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
function fish_prompt --description 'Write out the prompt' | |
if not set -q __fish_git_prompt_show_informative_status | |
set -g __fish_git_prompt_show_informative_status 1 | |
end | |
if not set -q __fish_git_prompt_hide_untrackedfiles | |
set -g __fish_git_prompt_hide_untrackedfiles 1 | |
end | |
if not set -q __fish_git_prompt_color_branch | |
set -g __fish_git_prompt_color_branch magenta --bold |
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
# RubyGoal - Fútbol para Rubistas | |
# | |
# Este documento contiene varias implementaciones mínimas de un entrenador de RubyGoal.# | |
# | |
# Esta clase debe implementar, como mínimo, los métodos `name` y `formation(match)` | |
# Esta clase debe ser implementada dentro del módulo Rubygoal | |
module Rubygoal | |
class MyCoach < Coach | |
# Indica el nombre del equipo |
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
Básicamente, necesita usar el utilitario OpenSSL. | |
Si tiene acceso a un servidor Unix/Linux, seguramente, ya lo tiene instalado. | |
Si sólo tiene acceso a equipos Windows, puede bajar openSSL de: | |
http://www.slproweb.com/products/Win32OpenSSL.html | |
Los pasos a seguir son los siguientes: | |
- Genere su clave privada (private key) ejecutando desde la línea de comando: |
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
13155 20:59 ~/Workspace/Yeti-Media/Projects/TEDInsideOut (leanucci/users_management) ➔ rake db:migrate VERSION=20120827220828 | |
rake db:migrate | |
== AddUserIdToPortraits: reverting =========================================== | |
-- remove_column("portraits", :user_id) | |
-> 0.0151s | |
== AddUserIdToPortraits: reverted (0.0155s) ================================== | |
== CreateIopAbouts: reverting ================================================ | |
-- drop_table("iop_abouts") | |
-> 0.0014s |
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
17:28 ~ ➔ git config --global pull.rebase true | |
17:28 ~ ➔ cat ~/.gitconfig | |
... otras cosas | |
[pull] | |
rebase = true |
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
5505 15:30 ~/Workspace/Projects/xs (mailman) ➔ cap production deploy | |
* executing `production' | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `deploy' | |
triggering before callbacks for `deploy' | |
* executing `deploy:ask_for_branch' | |
Branch name or tag/commit SHA1 to deploy (default: production) | |
mailman | |
* executing `deploy:update' |
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
Routing tables | |
Internet: | |
Destination Gateway Flags Refs Use Netif Expire | |
default 192.168.200.1 UGSc 16 0 en1 | |
default 10.255.254.0 UGScI 0 0 ppp0 | |
10.255.254.0 192.168.1.122 UH 2 0 ppp0 | |
127 127.0.0.1 UCS 0 0 lo0 | |
127.0.0.1 127.0.0.1 UH 16 18141 lo0 | |
169.254 link#5 UCS 0 0 en1 |
NewerOlder