I hereby claim:
- I am joekr on github.
- I am joekratzat (https://keybase.io/joekratzat) on keybase.
- I have a public key whose fingerprint is 5A15 7CE4 86C8 9D90 9B64 452D F31D 8021 A7ED 1C26
To claim this, I am signing this object:
apiVersion: cluster.x-k8s.io/v1beta1 | |
kind: Cluster | |
metadata: | |
labels: | |
cluster.x-k8s.io/cluster-name: "${CLUSTER_NAME}" | |
name: "${CLUSTER_NAME}" | |
namespace: "${NAMESPACE}" | |
spec: | |
clusterNetwork: | |
pods: |
# Set nginx base image | |
FROM nginx | |
# Copy custom configuration file from the current directory | |
COPY nginx.conf /etc/nginx/nginx.conf |
I hereby claim:
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = '2' | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = 'hashicorp/precise64' | |
# Configurate the virtual machine to use 2GB of RAM |
class Message < ActiveRecord::Base | |
belongs_to :recipient, :polymorphic => true | |
belongs_to :sender, :polymorphic => true | |
end |
package main | |
import "fmt" | |
import "net/http" | |
import "time" | |
import "os" | |
func main() { | |
if len(os.Args) < 2 { | |
fmt.Println("Need a url", len(os.Args)) |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.5+' | |
} | |
} | |
apply plugin: 'android-library' |
class User < ActiveRecord::Base | |
def my_public_method | |
self.my_private_method | |
end | |
private | |
def my_private_method | |
true |
upstream unicorn_server { | |
# This is the socket we configured in unicorn.rb | |
server unix:/srv/www/example/shared/sockets/unicorn.sock fail_timeout=0; | |
} | |
server{ | |
listen 80 default; | |
server_name example; | |
root /srv/www/example/current/public; | |
try_files $uri/index.html $uri.html $uri @unicorn; |
/path/to/unicorn/log/unicorn.stderr.log | |
/path/to/production/log/production.log | |
{ | |
daily | |
missingok | |
rotate 14 | |
compress | |
dateext | |
# this is important if using "compress" since we need to call |