Skip to content

Instantly share code, notes, and snippets.

View zberkom's full-sized avatar

Zachary zberkom

  • LeadSimple
  • Portland, OR
View GitHub Profile
@zberkom
zberkom / sitemap.json
Last active April 9, 2018 19:14
Sitemap json snippet
[
{
"id": "agent1",
"blog": false
},
{
"id": "agent2",
"blog": true
}
{
@zberkom
zberkom / ci_install_elasticsearch
Created December 19, 2016 22:13
Semaphore Elasticsearch Installation script
#! /usr/bin/env bash
ES_VERSION=${1:-'5.1.1'}
DEB='elasticsearch-'"$ES_VERSION"'.deb'
URL="https://download.elasticsearch.org/elasticsearch/elasticsearch/$DEB"
if ! [ -e $SEMAPHORE_CACHE_DIR/$DEB ]; then (cd $SEMAPHORE_CACHE_DIR; wget $URL); fi
sudo service elasticsearch stop
sudo dpkg -r elasticsearch
# No custom compile script is necessary for using brunch with sass,
# so be sure to remove that from your phoenix_static_buildpack config
# if you have one
# Add node-sass to your package.json devDependencies
"devDependencies": {
"standard": "^5.4.1",
"node-sass": "^3.4.1"
}
@zberkom
zberkom / gist:86c20dbe428c849c407d
Last active August 29, 2015 14:21
Random DevOps Stuff
Virtual host
- pave vh:create
- creates
SSH
- username@host/domain
FTP
- Filezilla
- port 22
@zberkom
zberkom / keybase.md
Created April 16, 2015 00:33
Keybase proof

Keybase proof

I hereby claim:

  • I am zberkom on github.
  • I am zberkom (https://keybase.io/zberkom) on keybase.
  • I have a public key whose fingerprint is 3EB7 1353 BE00 A1CF B3AA 18FE 0087 AB27 EFF2 0029

To claim this, I am signing this object: