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
def new | |
slug = Slug.where(name: params[:slug_text]).first | |
return redirect_to :root unless slug | |
@place = slug.sluggable | |
return redirect_to :root unless @place | |
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
diff -ur orig/ext/readline/readline.c fixed/ext/readline/readline.c | |
--- orig/ext/readline/readline.c 2014-03-18 13:53:31.866359527 +0100 | |
+++ fixed/ext/readline/readline.c 2014-03-18 13:56:26.390247250 +0100 | |
@@ -1883,7 +1883,7 @@ | |
rl_attempted_completion_function = readline_attempted_completion_function; | |
#if defined(HAVE_RL_PRE_INPUT_HOOK) | |
- rl_pre_input_hook = (Function *)readline_pre_input_hook; | |
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook; | |
#endif |
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
provider "aws" { | |
region = "${var.aws_region}" | |
} | |
module "base" { | |
source = "../base" | |
} | |
resource "aws_security_group" "core-services" { | |
name = "core-services" |
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
#!/usr/bin/python3 | |
import pygame | |
import sys | |
class Game(): | |
def __init__(self): | |
self._running = True |