- Stocksy – http://www.stocksy.com
- Little Visuals – http://littlevisuals.co
- Picjumbo – http://picjumbo.com
- The Pattern Library – http://thepatternlibrary.com
- New Old Stock – http://nos.twnsnd.co
- ImageBrief – http://www.imagebrief.com
- Compfight – http://compfight.com
- Unsplash – http://unsplash.com
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
| tile init nooverrides | |
| set %grid_size 0 | |
| sub scangrid | |
| for %x -20 20 | |
| { | |
| for %y -20 20 | |
| { | |
| set %posX #charposx + %x | |
| set %posY #charposy + %y |
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
| @echo off | |
| echo Configuring MESA environment variables for Dota 2. | |
| echo Credits http://puppet-master.net by Nicolas.Kirsch | |
| call "..\..\config\mesa_check_env.bat" | |
| SET SOURCE_BIN_PATH=%STEAMDIR%\steamapps\common\dota 2 beta\bin | |
| SET GAME_PROJECT=%STEAMDIR%\steamapps\common\Dota 2 beta\dota | |
| SET GAME_PROJECT_SRC=%MESADIR%\projects\Dota_2_src | |
| SET GAME_PROJECT_NAME="dota" |
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
| @echo off | |
| echo Configuring MESA environment variables for Dota 2. | |
| echo Credits http://puppet-master.net by Nicolas.Kirsch | |
| call "..\..\config\mesa_check_env.bat" | |
| SET SOURCE_BIN_PATH=%STEAMDIR%\steamapps\common\dota 2 beta\bin | |
| SET GAME_PROJECT=%STEAMDIR%\steamapps\common\Dota 2 beta\dota2 | |
| SET GAME_PROJECT_SRC=%MESADIR%\projects\Dota_2 | |
| SET GAME_PROJECT_NAME="Dota 2" |
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
| # FIXME: Impossible to store the joined table in memory | |
| def self.all_diseases_for_cat(cat) | |
| cat_diseases = self.arel_table | |
| diseases = Disease.arel_table | |
| # .joins("RIGHT OUTER JOIN #{ Disease.table_name } | |
| # ON #{ self.table_name }.#{ cat_diseases[:disease_id].name } | |
| # = #{ Disease.table_name }.#{ diseases[:id].name }") | |
| # RightOuterJoin created by me because I was bored |
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
| # Never trust parameters from the scary internet, only allow the white list through. | |
| def user_params | |
| real_params = params.require(:user).permit(:email, :password, :password_confirmation, :role, :note) | |
| if real_params[:password].blank? | |
| real_params.delete(:password) | |
| real_params.delete(:password_confirmation) | |
| end | |
| real_params | |
| end |
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
| Personally i feel the "summoner" doesn't play like a summoner at all. Primary job is applying dots, and the pet is just a ranged dot, or a melee dot with the option of a melee tanky dot. | |
| It may just be my expectations were in the wrong, but i was completely hoping for a Yuna-esque summoner where my action bar was filled with pet commands and abilities where a good summoner could do their role while keeping both of them out of aoes. | |
| As it is right now 90% of the time the pet dies you(me) don't notice it until you try and fire off enkindle or the other two generic abilities, a complete failure of a summoner class imho. At this point i wouldn't mind if they just gutted summons and made them fire and forget abilities like the versions from FF3-FF9 were. |
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
| class UsersController < AdminController | |
| before_action :set_user, only: [:show, :edit, :update, :destroy] | |
| # GET /users | |
| # GET /users.json | |
| def index | |
| @users = User.all | |
| end | |
| # GET /users/1 |
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
| it "DELETE #destroy" do | |
| dummy = FactoryGirl.create(:dummy) | |
| delete :show, id: dummy.id | |
| dummy.reload | |
| dummy.persisted?.should be_false | |
| end |
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
| (03:10:14) Francesco Belladonna: uhm | |
| (03:10:20) Francesco Belladonna: my testsuite is bigger than my code... | |
| (03:10:24) Francesco Belladonna: there is something wrong with this | |
| (03:11:30) Preston St. Pierre: no, it's totally right | |
| (03:11:35) Francesco Belladonna: mh | |
| (03:11:39) Preston St. Pierre: the testsuite is there to protect your code, so it has to be slightly bigger | |
| (03:11:40) Francesco Belladonna: I still feel bad | |
| (03:11:41) Preston St. Pierre: think about it | |
| (03:11:46) Preston St. Pierre: a condom has to be slightly bigger than your penis |