brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
import sys | |
from gi.repository import Gtk, Gdk, WebKit | |
class BrowserTab(Gtk.VBox): | |
def __init__(self, *args, **kwargs): | |
super(BrowserTab, self).__init__(*args, **kwargs) | |
go_button = Gtk.Button("go to...") | |
go_button.connect("clicked", self._load_url) | |
self.url_bar = Gtk.Entry() |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
The problem is that some lines in the file are missing timestamps when they aren't continuations of any previous line. It's dumb, really.
The mysql query log is seriously bullshit format, but nothing logstash can't unscrew.
The main goal here is to show how we can fix the 'missing timestamp' problem.
% ruby bin/logstash agent -e '
The problem is that some lines in the file are missing timestamps when they aren't continuations of any previous line. It's dumb, really.
The mysql query log is seriously bullshit format, but nothing logstash can't unscrew.
The main goal here is to show how we can fix the 'missing timestamp' problem.
% ruby bin/logstash agent -e '
# -*- coding: utf-8 -*_ | |
""" | |
A dictionary-like object to represent items as attributes, but still behaves | |
like a dict in every way. | |
""" | |
__author__ = 'Jathan McCollum' | |
__maintainer__ = 'Jathan McCollum' | |
__email__ = '[email protected]' |
# Congifuration Files | |
vi /opt/local/etc/php.ini | |
vi /opt/local/etc/php-fpm.conf | |
vi /opt/local/etc/nginx/nginx.conf | |
# Restart services | |
svcadm [refresh|restart|enable|disable] nginx | |
svcadm [refresh|restart|enable|disable] php-fpm |
module main | |
{- | |
I assume you're coming here from | |
http://chromaticleaves.com/posts/idris-and-dependent-types.html | |
If not, please take a moment to read it. It's a very important white paper. | |
Completely serious, too. | |
Now that we have that out of the way, this gist is a contrived example that |
This is a quick and dirty guide on how to deploy Selenium on Kubernetes.
It is required that you have Kubernetes cluster up and running. If you don't have one, GKE is pretty nifty: https://cloud.google.com/container-engine/
Deploy the Seleniumb Hub:
kubectl create -f selenium-hub-rc.yaml
kubectl create -f selenium-hub-svc.yaml