- Scarf: http://uprising-studios.com/es/proyectos/scarf-walking-souls/
- Helion: http://www.bytecoregames.com/presskit/#projects
- Unnamed: http://unnamedgameblog.com/category/news/
- Zenith: http://gadgets.ndtv.com/games/features/dr-house-meets-final-fantasy-in-zenith-a-game-co-developed-in-india-716554
- Megamagic: https://www.kickstarter.com/projects/beautifungames/megamagic-wizards-of-the-neon-age
- 8 days: http://store.santaclaragames.com/games/8days/
- Trespassers will be shot: imposible encontrar enlace :(
- Wadus
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
# current | |
add_ad_hoc_metadata_key "Available Offline" do | |
return false if [territory_iso, business_model].any?(&:blank?) | |
target = title.series.try(:mov_series) || title.mov_title | |
availabilities = metadata(target, "WHATS'On:Offline Availability") | |
availabilities.any? do |entry| | |
entry = OfflineAvail.new(*entry.split('^')) | |
entry.business_model_matches?(business_model) && |
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
;; Code folding | |
(add-hook 'ruby-mode-hook | |
(lambda () (hs-minor-mode))) | |
(eval-after-load "hideshow" | |
'(add-to-list 'hs-special-modes-alist | |
`(ruby-mode | |
,(rx (or "def" "class" "module" "do" "{" "[")) ; Block start | |
,(rx (or "}" "]" "end")) ; Block end | |
,(rx (or "#" "=begin")) ; Comment start |
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
require 'execjs' | |
# JS file path with the Kigo price calculation algorithm. | |
kigo_js_path = "#{Rails.root}/db/kigo_price_calculation.js" | |
source = %Q( | |
var price_info = '{}'; | |
var checkin = new Date('2016-05-07'); | |
var checkout = new Date('2016-05-17'); | |
var guests = 2; |
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
Dos escenarios con una propiedad con un calendario tipo 2, con dos períodos de disponibilidad (de s1 a e1 y de s2 a e2), para unas fechas dadas (de fi a ff): | |
s1 fi ff e1 s2 e2 | |
--------|----|-----|-----|--------|------|-------- | |
s1 fi e1 s2 ff e2 | |
--------|----|----------|--------|----|---|-------- |
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
>> response | |
=> #<HTTParty::Response:0x1019182f8 parsed_response={"datos"=>{"codiclie"=>"UATG10560533", "email"=>"diego.fernandez.fernandez@gmail.com", "nombre"=>"Diego", "apellido1"=>"Fernández", "apellido2"=>nil, "deseainfo"=>"N", "TipoIdentificacion"=>"N", "NumeroIdentificacion"=>nil, "sexo"=>nil, "tipousuario"=>"ECI", "pais"=>"ESPAÑA", "provincia"=>nil, "codpostal"=>nil, "municipio"=>nil, "localidad"=>nil, "tipovia"=>nil, "via"=>nil, "numerovia"=>nil, "puerta"=>nil, "telefono1"=>nil, "telefono2"=>nil, "birthdate"=>nil, "idPais"=>"011", "cnumecli"=>"UATG10560533"}}, @response=#<Net::HTTPOK 200 OK readbody=true>, @headers={"set-cookie"=>["TESTPRE=r4049877317; path=/; expires=Fri, 1 Jan 2016 01:01:50 GMT", "JSESSIONID_PROFILE=0000dkYFKTufUw7IMb4bi62GktN:13e6chc1k; Path=/"], "p3p"=>["CP=\"NON CUR OTPi OUR NOR UNI\""], "content-type"=>["text/xml;charset=ISO-8859-1"], "date"=>["Thu, 21 Feb 2013 16:50:48 GMT"], "content-length"=>["680"], "content-language"=>["en-US"], "connection"=>["close"]}> | |
>> response.parsed_ |
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
class Ability | |
include CanCan::Ability | |
def initialize(user) | |
user ||= User.new | |
if user.has_role?(:metadmin) | |
can :manage, :all | |
can :manage, Carousel, market_id: user.market_id | |
elsif user.has_role?(:editor) |
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
irb(main):005:0> Hotel.first | |
Hotel.first | |
Hotel Load (58.6ms) SELECT `hotels`.* FROM `hotels` LIMIT 1 | |
EXPLAIN (68.0ms) EXPLAIN SELECT `hotels`.* FROM `hotels` LIMIT 1 | |
EXPLAIN for: SELECT `hotels`.* FROM `hotels` LIMIT 1 | |
+----+-------------+--------+------+---------------+------+---------+------+------+-------+ | |
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | | |
+----+-------------+--------+------+---------------+------+---------+------+------+-------+ | |
| 1 | SIMPLE | hotels | ALL | NULL | NULL | NULL | NULL | 1 | | | |
+----+-------------+--------+------+---------------+------+---------+------+------+-------+ |
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
$('<image selector>').bind('dragstart', function(e) { | |
var old_src = e.originalEvent.dataTransfer.getData('text/html'); | |
var new_src = old_src.replace('str_to_replace','str_replacement'); | |
e.originalEvent.dataTransfer.setData('text/html', new_src); | |
}); |
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
"Para Platón el lenguaje escrito (Fedro, 274b i s., ver texto ) es solamente un pálido reflejo del lenguaje hablado, y la escritura debe entenderse solamente como un medio para apoyar la memoria y como una especie de pasatiempo, de juego o de recreación." |
NewerOlder