Skip to content

Instantly share code, notes, and snippets.

View jessfraz's full-sized avatar
📞
call me on my shell phone

Jess Frazelle jessfraz

📞
call me on my shell phone
View GitHub Profile
@jessfraz
jessfraz / boxstarter.ps1
Last active April 11, 2024 16:02
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@jessfraz
jessfraz / rawaccess-and-img.md
Last active April 23, 2018 22:36
img and acs-engine

deploying acs-engine with rawaccess

$ git clone git@github.com:jessfraz/acs-engine
$ git checkout rawaccess
$ make
$ ./bin/acs-engine deploy --subscription-id $SUBSCRIPTION_ID \
	--dns-prefix jessfraz-rawaccess \
	--location eastus --auto-suffix \
	--api-model examples/kubernetes.json 

In a terminal start a server.

$ python -m SimpleHTTPServer 8000

In another terminal set up the cgroups freezer.

@jessfraz
jessfraz / Dockerfile
Created December 28, 2018 22:54
Scrape best papers site
FROM python:2-alpine
RUN pip install \
beautifulsoup4 \
requests
COPY papers.py /usr/local/bin/
RUN chmod +x /usr/local/bin/papers.py
WORKDIR /root
@jessfraz
jessfraz / Dockerfile
Created December 28, 2018 23:00
Scrape CIA public PDF files
FROM python:2-alpine
RUN apk add --no-cache \
gcc \
libxml2-dev \
libxslt-dev \
musl-dev
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/include/libxml2
ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/libxml2
@jessfraz
jessfraz / include.toml
Last active November 20, 2020 00:15
GitHub asciidoc mishaps
[[includes]]
name = "thing"
@jessfraz
jessfraz / README.adoc
Last active November 18, 2021 18:10
8-bit breadboard computer Kit 2: Registers and ALU

8-bit breadboard computer Kit 2: Registers and ALU