Skip to content

Instantly share code, notes, and snippets.

Jude Aakjaer santouras

Block or report user

Report or block santouras

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am santouras on github.
  • I am santouras ( on keybase.
  • I have a public key whose fingerprint is 14F9 654C C68B A910 1442 3DE4 9D04 A057 27BB 8F6F

To claim this, I am signing this object:

View foosball-swagger.yml
swagger: '2.0'
title: Foosball API
description: Play games, calculate winners and losers.
version: "1.0.0"
# the domain of the service
# array of all schemes that your API supports
- https
View Dockerfile
# add application directory
RUN mkdir /app
ADD Gemfile Gemfile
ADD Gemfile.lock Gemfile.lock
# add local gems that bundle will need
ADD vendor/gems/rails_multisite vendor/gems/rails_multisite
View atbash_cipher.rb
class Atbash
ARR = ('a'..'z').to_a
def self.encode str
downcase. { |c| cipher(c) }.join.
scan(/.{1,5}/).join(" ")
santouras / Unique.php
Created Aug 29, 2012
Failing ZF2 validator requiring Service Locator
View Unique.php
namespace My\Validator;
use Zend\Validator\AbstractValidator;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class Unique extends AbstractValidator
View Preferences.sublime-settings
"color_scheme": "Packages/User/Monokai (SL).tmTheme",
"default_line_ending": "unix",
"draw_white_space": "all",
"enable_tab_scrolling": false,
"font_size": 12,
santouras /
Created May 25, 2012
bind setup for local wildcard domains on .dev domain
$TTL 60
dev. IN SOA icecream (
472 ; Serial
10 ; Refresh
10 ; Retry
120 ; Expire
120 ) ; Negative Cache TTL
dev. IN NS
santouras / httpd.conf
Created May 25, 2012
httpd conf for wildcard dev virtualhosts
View httpd.conf
<Virtualhost *:80>
VirtualDocumentRoot "/var/www/%1/public"
ServerAlias *.dev
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
ErrorLog ${APACHE_LOG_DIR}/vhosts-error_log
SetEnv APPLICATION_ENV "development"
<Directory "/var/www/*">
Options Indexes FollowSymLinks MultiViews
You can’t perform that action at this time.