This file contains hidden or 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
Just so you know, running an md5 sum on the two files (with no alteration to the generated text file) should yield identical results ;) | |
alex@home:~$ md5sum RETEZCE.DFW RETEZCE.DFW.NEW | |
6127b1f6e0cfc23bb1a42959063034d8 RETEZCE.DFW | |
6127b1f6e0cfc23bb1a42959063034d8 RETEZCE.DFW.NEW |
This file contains hidden or 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
git filter-branch -f --msg-filter ' | |
i=0 | |
while read line | |
do | |
if [ $i -eq 0 ]; | |
then | |
if expr "$line" : ".*ASYLUM:.*" > /dev/null; | |
then | |
echo "$line" | |
else |
This file contains hidden or 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
-- --------------------------- -- | |
-- Final Fantasy IV LUA script -- | |
-- -- | |
-- By: Pasky13 -- | |
-- --------------------------- -- | |
-- Globals | |
char_atbm = {0, 0, 0, 0, 0} | |
enemy_atbm = {0, 0, 0, 0, 0, 0, 0, 0} |
This file contains hidden or 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 'goto' | |
def test | |
frame_start | |
label(:start) { goto :b } | |
label(:a) { print "world!\n"; goto :c } | |
label(:b) { print "hello "; goto :a } |
This file contains hidden or 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
--- Weapons --- | |
SPIKE KNUCKLE | |
Type: Gloves | |
Gfx: 00 | |
Pal: 02 | |
Effective: None | |
Critical: 0 | |
Hit: 75 | |
Attack: 2 | |
Inflict: None |
This file contains hidden or 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
Rabite: None | |
Buzz Bee: Mana | |
Mushboom: Mana | |
Chobin Hood: None | |
Lullabud: Mana | |
Iffish: Water | |
Kid Goblin: Earth | |
Eye Spy: Water | |
Green Drop: None | |
Specter: Dark |
This file contains hidden or 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
# Git pre-commit hook to check all staged Ruby (*.rb/haml/coffee) files | |
# for Pry binding references | |
# | |
# Installation | |
# | |
# ln -s /path/to/pre-commit.sh /path/to/project/.git/hooks/pre-commit | |
# | |
# Based on | |
# | |
# http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/ |
This file contains hidden or 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
#!/bin/sh | |
# | |
# init.d script with LSB support. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
This file contains hidden or 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
#!/bin/bash | |
PKG=mongodb-linux-x86_64-2.2.0 | |
URL=http://fastdl.mongodb.org/linux | |
if [ -f /etc/init.d/mongod ] | |
then | |
echo "mongod already installed ... stopping" | |
sudo service mongod stop | |
else |
This file contains hidden or 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
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb | |
index 6bae37b..8057da6 100644 | |
--- a/app/controllers/articles_controller.rb | |
+++ b/app/controllers/articles_controller.rb | |
@@ -83,7 +83,7 @@ class ArticlesController < KnowledgebaseController | |
end | |
def tagged | |
- @tag = params[:id] | |
+ @tag = params[:article_id] || params[:id] |
OlderNewer