Skip to content

Instantly share code, notes, and snippets.

View javawolfpack's full-sized avatar

Bryan Dixon PhD javawolfpack

View GitHub Profile
node "csci345.localdomain" {
file { '/home/bryan/example_file.txt':
ensure => "file",
owner => "bryan",
group => "bryan",
mode => "700",
content => "Congratulations!
Puppet has created this file.
@javawolfpack
javawolfpack / sources.list
Last active August 27, 2022 23:39
Full generated sources.list for jammy
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu jammy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted
@javawolfpack
javawolfpack / Makefile
Created September 25, 2019 19:24
Two Target Makefile
VERSION = 1
hello = ./hello
hello2 = ./hello2
CC = gcc
CXX = g++
CFLAGS = -Wall -O -g
FILES = $(hello) $(hello2)
all: $(FILES)
@javawolfpack
javawolfpack / form.dart
Created January 11, 2019 20:50
Simple attempt at ImageFormField
class ImageFormState extends FormFieldState<File> {
File _image;
Future getImage() async {
var image = await ImagePicker.pickImage(source: ImageSource.camera);
this._image= image;
}
@override
Widget build(BuildContext context) {
@javawolfpack
javawolfpack / form.dart
Created January 11, 2019 20:49
Trying to make an ImageFormField
class ImageFormState extends FormFieldState<File> {
File _image;
Future getImage() async {
var image = await ImagePicker.pickImage(source: ImageSource.camera);
this._image= image;
}
@override
Widget build(BuildContext context) {
@javawolfpack
javawolfpack / default.conf
Last active November 15, 2018 20:51
Simple NGINX config for Django
server {
listen 80;
server_name example.org;
charset utf-8;
#listen 443 ssl;
# location /static {
@javawolfpack
javawolfpack / .gdbinit
Created February 16, 2018 21:59
GDB Init File
break explode_bomb
break phase_2
display/i $rip
run solution.txt
Starting Chef Client, version 12.12.15
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- runit (0.14.2)
- package (0.0.0)
- gitlab (0.0.1)
- registry (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
kubectl run -i --rm --tty mpi-test --overrides='
{
"apiVersion": "batch/v1",
"spec": {
"template": {
"spec": {
"volumes": [
{
"secret": {
"secretName": "ssh-key-secret"
@javawolfpack
javawolfpack / keybase.md
Last active September 2, 2015 03:24
keybase.md

Keybase proof

I hereby claim:

  • I am javawolfpack on github.
  • I am javawolfpack (https://keybase.io/javawolfpack) on keybase.
  • I have a public key whose fingerprint is 98A9 3E8C 2C30 C047 F87F 5448 52B3 42F3 E513 2140

To claim this, I am signing this object: