I hereby claim:
- I am santouras on github.
- I am santouras (https://keybase.io/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:
brew install mysql | |
gem install mysql2 -- \ | |
--with-mysql-lib=$(brew --prefix mysql)/lib \ | |
--with-mysql-dir=$(brew --prefix mysql) \ | |
--with-mysql-config=$(brew --prefix mysql)/bin/mysql_config \ | |
--with-mysql-include=$(brew --prefix mysql)/include |
#!/usr/bin/env bash | |
vm='minikube' | |
natnet='vboxipv6' | |
echo 'Fixing virtualbox/minikube IPV6 problems' | |
if ! command -v vboxmanage &> /dev/null; then | |
echo 'vboxmanage is not installed' | |
exit 1 |
I hereby claim:
To claim this, I am signing this object:
swagger: '2.0' | |
info: | |
title: Foosball API | |
description: Play games, calculate winners and losers. | |
version: "1.0.0" | |
# the domain of the service | |
host: api.playfoosball.com | |
# array of all schemes that your API supports | |
schemes: | |
- https |
# add application directory | |
RUN mkdir /app | |
WORKDIR /tmp | |
ADD Gemfile Gemfile | |
ADD Gemfile.lock Gemfile.lock | |
# add local gems that bundle will need | |
ADD vendor/gems/rails_multisite vendor/gems/rails_multisite |
class Atbash | |
ARR = ('a'..'z').to_a | |
def self.encode str | |
str. | |
downcase. | |
each_char.map { |c| cipher(c) }.join. | |
scan(/.{1,5}/).join(" ") | |
end | |
private |
<?php | |
namespace My\Validator; | |
use Zend\Validator\AbstractValidator; | |
use Zend\ServiceManager\ServiceLocatorAwareInterface; | |
use Zend\ServiceManager\ServiceLocatorInterface; | |
class Unique extends AbstractValidator |
{ | |
"color_scheme": "Packages/User/Monokai (SL).tmTheme", | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"enable_tab_scrolling": false, | |
"font_size": 12, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"Markdown" |
$TTL 60 | |
dev. IN SOA icecream root.icecream.dev ( | |
472 ; Serial | |
10 ; Refresh | |
10 ; Retry | |
120 ; Expire | |
120 ) ; Negative Cache TTL | |
; | |
dev. IN NS icecream.dev. |
<Virtualhost *:80> | |
VirtualDocumentRoot "/var/www/%1/public" | |
ServerName vhosts.dev | |
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 |