Skip to content

Instantly share code, notes, and snippets.

Avatar

Leandro Marcucci leanucci

View GitHub Profile
View Nioh.txt
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)
View gist:3f51648fd037fd6062921dd9b6f082b6
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
View fish_prompt.fish
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
View template.rb
# 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
@leanucci
leanucci / cert-req-howno
Created Nov 18, 2013
Como generar el CSR. Copia tomada de la cache de Google ya que el documento no siempre está disponible, aunque sigue vigente al 17/NOV/2013.
View cert-req-howno
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:
View gist:3615059
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
View pull.rebase.log
17:28 ~ ➔ git config --global pull.rebase true
17:28 ~ ➔ cat ~/.gitconfig
... otras cosas
[pull]
rebase = true
View gist:1810069
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'
View gist:1624914
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
View gist:1140446
Status Code: 500
Exception:
Stacktrace:
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","1"],"authorOrCommitter":false,"branches":{"name":"production"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"gitorious.vurbia.local"},"buildChooser":{"stapler-class":"hudson.plugins.git.util.DefaultBuildChooser"},"clean":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"relativeTargetDir":"","remotePoll":false,"repo":{"name":"","refspec":"","url":"git@git.gitorious.local:xs/xephstratus.git"},"scmName":"","skipTag":false,"value":"1","wipeOutWorkspace":false}
at hudson.model.Descriptor.newInstance(Descriptor.java:560)
at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1408)
at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1333)
at hudson.scm.SC
You can’t perform that action at this time.