I hereby claim:
- I am zacksiri on github.
- I am zacksiri (https://keybase.io/zacksiri) on keybase.
- I have a public key ASACOtVJ7O9Ch49pmyCynvf8kuXFwJWh4z7cvd7xP0dRcAo
To claim this, I am signing this object:
#!/bin/bash | |
set -eu | |
_UID=$(id -u) | |
GID=$(id -g) | |
# give lxd permission to map your user/group id through | |
grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root | |
# set up a separate key to make sure we can log in automatically via ssh | |
# with $HOME mounted |
I hereby claim:
To claim this, I am signing this object:
$ sudo -i
# vim /etc/systemd/system/overcommit_memory_1.service
# systemctl enable overcommit_memory_1
# systemctl start overcommit_memory_1
# systemctl status overcommit_memory_1
# cat /proc/sys/vm/overcommit_memory
(0..10).each do |i| | |
"/Users/blah/#{i}.html" | |
end |
defmodule Bank do | |
use Application.Behaviour | |
# See http://elixir-lang.org/docs/stable/Application.Behaviour.html | |
# for more information on OTP Applications | |
def start(_type, _args) do | |
Bank.Supervisor.start_link | |
end | |
def start do |
require 'benchmark' | |
class Selector | |
def initialize(key) | |
@key = key | |
end | |
def selector_if | |
if @key == :success |
require 'benchmark' | |
require 'pry' | |
class Fizzbuzz | |
def initialize(number) | |
@number = number | |
end | |
def self.count(number) | |
count = new(number) |
console.log "Hello World" | |
superheroes = ["superman", "thor", "batman"] | |
for hero in superheroes | |
console.log hero | |
person_1 = | |
name: "Zack" | |
email: '[email protected]' |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE busconfig PUBLIC | |
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
<busconfig> | |
<!-- Only the root user can own the Upstart name --> | |
<policy user="root"> | |
<allow own="com.ubuntu.Upstart" /> | |
</policy> |
upstream unicorn { | |
server unix:/tmp/unicorn.app_name.sock fail_timeout=0; | |
} | |
server { | |
server_name domain.com www.domain.com; | |
listen 80 default deferred; | |
root /opt/apps/app_path/public; |