Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Milos Bejda mbejda

🎯
Focusing
Block or report user

Report or block mbejda

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
@mbejda
mbejda / states_by_fips.json
Created Oct 1, 2019 — forked from eupharis/states_by_fips.json
State FIPS JSON (Abbreviation and Name)
View states_by_fips.json
{
"01": {
"abbreviation": "AL",
"name": "Alabama"
},
"02": {
"abbreviation": "AK",
"name": "Alaska"
},
"03": {
@mbejda
mbejda / states_by_fips.json
Created Oct 1, 2019 — forked from eupharis/states_by_fips.json
State FIPS JSON (Abbreviation and Name)
View states_by_fips.json
{
"01": {
"abbreviation": "AL",
"name": "Alabama"
},
"02": {
"abbreviation": "AK",
"name": "Alaska"
},
"03": {
@mbejda
mbejda / Caddyfile
Created Apr 15, 2019 — forked from abiosoft/Caddyfile
Caddy wordpress docker-compose
View Caddyfile
:80
root /usr/src/wordpress
gzip
fastcgi / wordpress:9000 php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?_url={uri}
}
log stdout
errors stderr
@mbejda
mbejda / install-ruby.sh
Created Jun 5, 2016 — forked from lukearmstrong/install-ruby.sh
Install enough to get Ruby and Sass working on RHEL/CentOS
View install-ruby.sh
# lol redhat
su
# Install deps
yum install libyaml libyaml-devel openssl libxml2-devel bison libxslt-devel openssl-devel tcl tk libffi tcl-devel tk-devel libffi-devel
# Download Ruby
cd /usr/local/src/
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar -xvzf ruby-1.9.3-p392.tar.gz
@mbejda
mbejda / nginx.conf
Created Mar 19, 2016 — forked from sansmischevia/nginx.conf
nginx http proxy to s3 static websites
View nginx.conf
##
## This nginx.conf servers as the main config file for webflow reverse proxy
##
## RCS:
## https://gist.github.com/sansmischevia/5617402
##
## Hardening tips:
## http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.html
##
@mbejda
mbejda / gist:fac59b9e43ea20f27351
Last active Aug 29, 2015 — forked from frozeman/gist:b3f016de58b04c99cfc3
PhantomJS Async Steps Pattern
View gist:fac59b9e43ea20f27351
var page = new WebPage(), testindex = 0, loadInProgress = false;
page.onConsoleMessage = function(msg) {
console.log(msg);
};
//This sets loadInProgress to true when a form is submitted and the page gets redirected.
page.onNavigationRequested = function() {
loadInProgress = true;
}
page.onLoadStarted = function() {
You can’t perform that action at this time.