Skip to content

Instantly share code, notes, and snippets.

Avatar

Bryan Dixon PhD javawolfpack

View GitHub Profile
@javawolfpack
javawolfpack / Makefile
Created Sep 25, 2019
Two Target Makefile
View 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 Jan 11, 2019
Simple attempt at ImageFormField
View form.dart
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 Jan 11, 2019
Trying to make an ImageFormField
View form.dart
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 / sources.list
Last active May 19, 2020
Full generated sources.list for focal
View sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu focal main restricted
deb-src http://us.archive.ubuntu.com/ubuntu focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu focal-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu focal-updates main restricted
View .gdbinit
break explode_bomb
break phase_2
display/i $rip
run solution.txt
View gist:c4c284dc78f4991f265efbbeda37a800
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
View gist:9b97e1e08e23a248e3d419a7e026e3e6
kubectl run -i --rm --tty mpi-test --overrides='
{
"apiVersion": "batch/v1",
"spec": {
"template": {
"spec": {
"volumes": [
{
"secret": {
"secretName": "ssh-key-secret"
@javawolfpack
javawolfpack / default.conf
Last active Nov 15, 2018
Simple NGINX config for Django
View default.conf
server {
listen 80;
server_name example.org;
charset utf-8;
#listen 443 ssl;
# location /static {
View 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:

@javawolfpack
javawolfpack / test.html
Created Aug 8, 2015
Gist of AJAX test code
View test.html
<script>
new Ajax.Request('/test2', {
method:'get',
onSuccess: function(transport) {
var response = transport.responseText || "no response text";
//alert("Success! \n\n" + response);
$('content').replace(response)
new Ajax.Request('/test3', {
method:'get',
onSuccess: function(transport) {