Skip to content

Instantly share code, notes, and snippets.


CHANN channprj

View GitHub Profile
channprj / nginx.conf
Created Aug 25, 2016 — forked from timmyomahony/nginx.conf
Python, UWSGI, Supervisor & Nginx
View nginx.conf
upstream uwsgi {
server {
listen 80;
root /sites/mysite/;
access_log /sites/mysite/log/nginx/access.log;
channprj /
Created Mar 29, 2017 — forked from hit9/
colored python logging. And add a level 'success'
class Color(object):
utility to return ansi colored text.
colors = {
'black': 30,
'red': 31,
'green': 32,
'yellow': 33,
channprj /
Created Sep 8, 2017 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


channprj / voices.txt
Created Oct 16, 2017 — forked from mculp/voices.txt
List of voices available by the `say` command on OS X
View voices.txt
Agnes en_US # Isn't it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana.
Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst.
Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne.
Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme.
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh en_US # Do not pull the wool over my eyes.
Bells en_US # Time flies when you are having fun.
channprj /
Created Mar 2, 2018 — forked from matthewriley/
Install Git 2.13.0 from source on RHEL 7.x

Install Git 2.13.0 from source on RHEL 7.x

These are the Terminal commands I recently used (June 2016) to install Git 2.13.0 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
yum install autoconf cpio curl-devel expat-devel gcc gettext-devel make openssl-devel perl-ExtUtils-MakeMaker zlib-devel
wget -O v2.13.0.tar.gz
channprj /
Created Mar 5, 2018 — forked from colinvh/
AWS Region Names

Alternative naming schemes for AWS regions


The intent is to define terse, standards-supported names for AWS regions.


channprj / MultiLayoutApp.js
Last active Apr 6, 2018 — forked from madcoda/App.js
React-Router v4 Multi Layout
View MultiLayoutApp.js
import React, { Component } from 'react'
import { BrowserRouter as Router, Route, Link, Match, Redirect, Switch } from 'react-router-dom'
import OverviewPage from './page/OverviewPage'
import AccountPage from './page/AccountPage'
Layouts, inline define here for demo purpose
you may want to define in another file instead
channprj /
Created Aug 13, 2018 — forked from benkulbertis/
Cloudflare API v4 Dynamic DNS Update in Bash
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
ip=$(curl -s
channprj / gist:44b1fd6a1568b56ff5c36f6da1b2bd1e
Created Aug 21, 2018 — forked from vladimirtsyupko/gist:10964772
Git force pull to overwrite local files
View gist:44b1fd6a1568b56ff5c36f6da1b2bd1e
git fetch --all
git reset --hard origin/master
git pull origin master
channprj / media-query.css
Created Aug 24, 2018 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {