Skip to content

Instantly share code, notes, and snippets.

@daveshow
daveshow / build-php.sh
Created June 26, 2012 16:36
This is the install example with php info and 3.7.2
#!/bin/bash
rm -rf workspace eclipse
mkdir workspace
tar -xzf eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz
cat eclipse/eclipse.ini |tr '\n' '\\'|sed 's:-vmargs.*::'|tr '\\' '\n' > eclipse.ini
cat >> eclipse.ini << HERE
-vmargs
-server
<class cl="TaskerData" sr="">
<tv>1.2.2b3</tv>
<class cl="Profile" sr="prof84">
<cdate>1333071465043</cdate>
<clp>true</clp>
<edate>1340046627764</edate>
<id>84</id>
<mid0>82</mid0>
<mid1>83</mid1>
<nme>Auto Off Unpaired Bluetooth</nme>

Keybase proof

I hereby claim:

  • I am daveshow on github.
  • I am daveshow (https://keybase.io/daveshow) on keybase.
  • I have a public key ASC-XoT9F7u6vjq9kaM67VI8sc9FroUKPdM4rFUZlUGW0go

To claim this, I am signing this object:

@daveshow
daveshow / Dockerfile
Created April 16, 2022 19:54
cadvisor build
FROM golang:buster AS builder
ARG VERSION
RUN apt-get update \
&& apt-get install make git bash gcc \
&& mkdir -p $GOPATH/src/github.com/google \
&& git clone https://github.com/google/cadvisor.git $GOPATH/src/github.com/google/cadvisor
WORKDIR $GOPATH/src/github.com/google/cadvisor
RUN git fetch --tags \