Skip to content

Instantly share code, notes, and snippets.

View apriendeau's full-sized avatar
💀

Austin Riendeau apriendeau

💀
View GitHub Profile
@apriendeau
apriendeau / configuration-adv.h
Last active April 27, 2021 23:02
Ender-3 Max Configuration
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
2015-09-20 01:19:49 -0600
./configure
--prefix=/usr/local/Cellar/python3/3.5.0
--enable-ipv6
--datarootdir=/usr/local/Cellar/python3/3.5.0/share
--datadir=/usr/local/Cellar/python3/3.5.0/share
--enable-framework=/usr/local/Cellar/python3/3.5.0/Frameworks
--without-ensurepip
--without-gcc

Keybase proof

I hereby claim:

  • I am apriendeau on github.
  • I am apriendeau (https://keybase.io/apriendeau) on keybase.
  • I have a public key whose fingerprint is B0F0 F166 D35F 5F3F 1469 AE65 73E1 309C A67D 3E93

To claim this, I am signing this object:

@apriendeau
apriendeau / gist:254d3c6e6508ad8ea595
Created March 8, 2015 00:25
Setting up boot2docker
#!/bin/bash
boot2docker init
boot2docker start
boot2docker ssh sudo sh -c "\"echo DOCKER_TLS=no > /var/lib/boot2docker/profile\""
boot2docker restart
# Source docker environment variables into current shell.
$(boot2docker shellinit)
@apriendeau
apriendeau / gist:230a06221e99b09d5ce2
Created November 5, 2014 23:10
Docker Remote API push error
```shell
* Hostname was NOT found in DNS cache
* Trying 172.16.46.210...
* Connected to 172.16.46.210 (172.16.46.210) port 2375 (#0)
> POST /images/private-registry/app/push HTTP/1.1
> User-Agent: curl/7.37.1
> Host: 172.16.46.210:2375
> Accept: */*
> X-Registry-Auth: base64creds
>
@apriendeau
apriendeau / index.tmpl
Created October 6, 2014 16:24
Gin html render example
<html>
<head>
<title>{{.title}}</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
@apriendeau
apriendeau / gist:8574904
Created January 23, 2014 08:25
@charset "UTF-8"; gulp-sass
/* styles.scss */
@charset "UTF-8";
/*! Continu App / Copyright 2013 */
@import
"import/variables",
"import/normalize",
"import/mixins",
"import/media-queries",
"import/core",
SystemUIS 186 ariendeau 7u IPv4 0x447e44e7ba0a2b29 0t0 UDP *:*
Finder 187 ariendeau 10u IPv4 0x447e44e7c0737801 0t0 TCP localhost:49180->localhost:26165 (ESTABLISHED)
1Password 210 ariendeau 5u IPv4 0x447e44e7ba640259 0t0 TCP localhost:6258 (LISTEN)
1Password 210 ariendeau 6u IPv6 0x447e44e7bfa50aa1 0t0 TCP localhost:6258 (LISTEN)
1Password 210 ariendeau 7u IPv4 0x447e44e7c108fda9 0t0 TCP localhost:6258->localhost:49245 (ESTABLISHED)
redis-ser 211 ariendeau 4u IPv4 0x447e44e7ba641f39 0t0 TCP localhost:6379 (LISTEN)
mongod 213 ariendeau 9u IPv4 0x447e44e7ba642da9 0t0 TCP localhost:28017 (LISTEN)
mongod 213 ariendeau 10u IPv4 0x447e44e7bd853a89 0t0 TCP localhost:27017 (LISTEN)
SpotifyWe 214 ariendeau 6u IPv4 0x447e44e7ba6410c9 0t0 TCP localhost:4370 (LISTEN)
SpotifyWe 214 ariendeau 7u IPv4 0x447e44e7ba640991 0t0 TCP localhost:4380 (LISTEN)
@apriendeau
apriendeau / get_variables.js
Created August 15, 2012 16:35
Get Url Variables
function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
vars[key] = value;
});
return vars;
}