I hereby claim:
- I am donilan on github.
- I am doni (https://keybase.io/doni) on keybase.
- I have a public key ASCDRtxIq0fso6gX8bwx8HEMtdTjiruO7MGIuDsCURS5Ygo
To claim this, I am signing this object:
#!/bin/bash | |
# Install stuff # | |
################# | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel mysql-devel libxml2-devel libxslt-devel unixODBC-devel sqlite sqlite-devel -y | |
# Alias shasum to == sha1sum (will prevent some people's scripts from breaking) |
require 'csv' | |
class MyCsv < CSV | |
# The line of the last row read from this file. | |
attr_reader :line | |
def shift | |
if @_before_lineno != @lineno | |
@_before_pos = pos | |
@_before_lineno = @lineno | |
end |
FROM phusion/passenger-full | |
# Set correct environment variables. | |
ENV HOME /root | |
# Use baseimage-docker's init process. | |
CMD ["/sbin/my_init"] | |
EXPOSE 80 |
FROM richarvey/nginx-php-fpm | |
RUN usermod -u 1000 www-data | |
RUN groupmod -g 1000 www-data | |
WORKDIR /usr/share/nginx/html |
function exceptionalException(message) { | |
'use strict'; | |
if (exceptionalException.emailErrors !== false) { | |
exceptionalException.emailErrors = confirm('We had an error reporting an error! Please email us so we can fix it?'); | |
} | |
} | |
//test | |
//exceptionalException('try 1!'); | |
//exceptionalException('try 2!'); |
[DEFAULT] | |
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not | |
# ban a host which matches an address in this list. Several addresses can be | |
# defined using space separator. | |
ignoreip = 127.0.0.1 | |
# "bantime" is the number of seconds that a host is banned. | |
bantime = 3600 | |
# A host is banned if it has generated "maxretry" during the last "findtime" |
#!/usr/bin/bash | |
yum install -y yum-utils | |
yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
yum makecache fast | |
yum update -y | |
yum install docker-ce -y |
(defun copy-from-osx () | |
(shell-command-to-string "pbpaste")) | |
(defun paste-to-osx (text &optional push) | |
(let ((process-connection-type nil) | |
(lang (getenv "LANG")) | |
(default-directory "~")) | |
(setenv "LANG" "en_US.UTF-8") | |
(let ((proc (start-process "pbcopy" "*Messages*" "pbcopy"))) | |
(process-send-string proc text) |
I hereby claim:
To claim this, I am signing this object:
cat <<EOF > ~/.emacs | |
(custom-set-variables | |
'(auto-save-default nil) | |
'(create-lockfiles nil) | |
'(make-backup-files nil)) | |
EOF |