Skip to content

Instantly share code, notes, and snippets.

@z3cka
z3cka / README_rhel6.md
Last active November 8, 2017 17:59 — forked from anonymous/README_rhel6.md
SHARE Analytics on Red Hat 6

Requirements

  • install git sudo yum install git

  • build deps for python via pyenv sudo yum install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel

  • more db deps sudo yum install -y postgresql postgresql-server postgresql-contrib postgresql-devel

  • "initialize the postgres cluster sudo service postgresql initdb && \ sudo service postgresql start

  • install NVM curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash

@z3cka
z3cka / open-now.html
Last active June 15, 2017 17:09 — forked from anonymous/jonathan.html
open-now.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<style>
span {
color: white;
<?php
/* From https://www.usps.com/send/official-abbreviations.htm */
$us_state_abbrevs_names = array(
'AL'=>'ALABAMA',
'AK'=>'ALASKA',
'AS'=>'AMERICAN SAMOA',
'AZ'=>'ARIZONA',
'AR'=>'ARKANSAS',
@z3cka
z3cka / photo.html
Last active December 30, 2015 23:49 — forked from anonymous/photo.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Gabe's Portfolio</title>
<link href="Main.css" rel="stylesheet" type="text/css" />
<meta charset="utf-8">
<title>Untitled Document</title>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gabe's Portfolio</title>
<link href="Main.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="Shadowbox/shadowbox-3.0.3/shadowbox.css">
<?php
/**
* @package Jtouch for Joomla 1.5
* @copyright Copyright (C) 2011 - 2012 MobileMeWs.com. All rights reserved.
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
@z3cka
z3cka / gist:5988292
Last active December 19, 2015 16:59 — forked from crifkin/gist:5986419
NOTE: version numbers are at the time of this writing
1. Download and install Virtualbox (4.2.16)
2. Download and install Vagrant (1.2.3)
3. Check ruby and rubygems versions
4. Install berkshelf gem
gem install berkshelf --version '>= 1.4.0' --no-ri --no-rdoc
5. Install berkshelf vagrant plugin
vagrant plugin install vagrant-berkshelf --plugin-version '1.2.0'
6. Add vagrant basebox provided in Crifkin Training package (precise64_chef11.box)