I hereby claim:
- I am philipsoutham on github.
- I am philipsoutham (https://keybase.io/philipsoutham) on keybase.
- I have a public key ASBpIYZhMQz4OGsmPR0YzkgOsGH0fRAfoYTgkFqJkU1ZxQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
## Inspired by http://negativo17.org/nvidia-driver/ | |
# | |
yum clean all | |
yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
yum-config-manager --add-repo=http://negativo17.org/repos/fedora-nvidia.repo | |
yum -y install nvidia-driver akmod-nvidia kernel-devel kernel-modules kernel-modules-extra |
#!/usr/bin/env bash | |
pushd $(dirname $0) > /dev/null; CURRABSPATH=$(readlink -nf "$(pwd)"); popd > /dev/null; # Get the directory in which the script resides | |
set -x | |
MUSLPKG="musl:musl.tgz:http://www.musl-libc.org/releases/musl-1.1.4.tar.gz" | |
LEVTPKG="libevent:libevent2.tgz:https://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
TMUXPKG="tmux:tmux.tgz:http://iweb.dl.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz" | |
NCRSPKG="ncurses:ncurses.tgz:http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz" | |
TEMPDIR="$CURRABSPATH/tmp" | |
TMPLIB="tempinstall/lib" | |
TMPINC="tempinstall/include" |
#cloud-config | |
coreos: | |
etcd: | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
discovery: https://discovery.etcd.io/<token> | |
fleet: | |
public-ip: $private_ipv4 | |
units: | |
- name: format-ephemeral.service |
docker ps -a -q | xargs docker rm | |
docker images | grep -v "IMAGE ID" | awk '{ print $3}' | xargs docker rmi |
package main | |
import ( | |
"fmt" | |
golucy "github.com/philipsoutham/golucy/v0.0.1" | |
"io/ioutil" | |
"os" | |
) | |
func main() { |
package golucy | |
// Copyright 2013 Philip Southam | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// |
# golang & golucy | |
FROM ubuntu:latest | |
MAINTAINER Philip Southam "philip@zefr.com" | |
# BUILD DEPS | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install build-essential autoconf libtool git curl wget bzr openssh-client mercurial -y |
package main | |
import ( | |
"fmt" | |
"github.com/philipsoutham/golucy" | |
) | |
func main() { | |
ixLocation := "/tmp/lucy_index" | |
schema := &golucy.Schema{ |