Skip to content

Instantly share code, notes, and snippets.

View ianseyer's full-sized avatar

Ian Seyer ianseyer

View GitHub Profile
class LoginForm(forms.Form):
email = forms.EmailField(required=True)
password = forms.CharField(required=True, widget=forms.PasswordInput(render_value=False))
def __init__(self, *args, **kwargs):
super(LoginForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.form_id = 'login'
self.helper.form_class = 'login'
self.helper.form_method = 'POST'
@ianseyer
ianseyer / create.html
Created May 7, 2014 13:50
Form/Modal/Flask
<script type="text/javascript">
// This identifies your website in the createToken call below
Stripe.setPublishableKey('da_key');
// ...
</script>
<script>
jQuery(function($) {
$('#form').submit(function(event) {
var $form = $(this);
Inspired by the machinist’s craft and the volumetric simplicity of the Bauhaus, Tom Bandage attempts to capture the shape of thought through geometric contortions of material. Tom describes his sculpture work as conceptual - not in the sense that there is a concept to be gained or instructed, but rather that the work itself represents the epistemic structure of Concept.
Fueled by the writings of Foucault and Deleuze & Guatarri, his geometries focus on the interaction between form and semiotic reference. In playing with form directly and intentionally avoiding reference to a signifier, his work creates novel viewing experiences that draw forth curiosity through a meditative play on perspective, giving the viewer complete control over what is to be signified.
Fascinated by materiality and its immediate effect on the comprehension of space, Tom leverages high-standard design practice and material selection to conjure the emotionality and weight of industrialism, removing traditional construction materials such
Personal Introduction:
Hi there! I am excited to apply for the Titos’ Art Award program - a huge supporter of the arts community myself, I believe the money awarded through this program could help me bring 3 complementary series together in time for a great sculpture exhibit in Canopy’s beautiful gallery. As a sculptor, the hardest part of producing high quality pieces is material and specialty labor costs - this award would greatly accelerate my progress as an artist, and help make my visions a reality. The 3 series are as follows:
Rheology - an exploration of flows of viscous, earthen materials. I would like to use high-power pumps to circulate materials such as honey and oil through contained, winding pieces, with certain pieces encased in concrete; the focus of this piece is to bring forth a sense of magnitude and scale to the earth’s inner processes - the high pressure and temperature to create rocks and oil, and the intensely complicated social and biological structures of bees to produce honey.
Tensil
@ianseyer
ianseyer / outline.md
Created September 25, 2017 06:35
A collection of thoughts for an expiring data protocol using zk-SNARKS on the ethereum blockchain

Expiring Data

The goal is for data to be accessible to a Reader only if the Owner chooses so.

This could be accomplished by the concept of a "Lease." The Reader is granted, via the Owner, the ability to perform operations on the Data with a set of expiry conditions (time, usage count, etc). See Vanish.

Vanish was achieved by leveraging the BitTorrent DHT to decentralize the storage of data. However, Vanish was proven by a seperate group of researchs to be susceptible to Sybil Attacks ("UnVanish", https://news.utexas.edu/2009/09/29/new-digital-security-program-doesnt-protect-as-promised)

<username>
<password>
@ianseyer
ianseyer / ff
Created January 26, 2017 23:51
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.reactor.ReactorSelectorThread | 2017.01.26 04 at 11:51:00.502 PM UTC | selected keys[1]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.handlers.Acceptor | 2017.01.26 04 at 11:51:00.502 PM UTC | connection[35762]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.reactor.ReactorServer | 2017.01.26 04 at 11:51:00.502 PM UTC | Socket connected[/10.42.32.29]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.reactor.ReactorSelectorThread | 2017.01.26 04 at 11:51:00.502 PM UTC | selected keys[1]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.handlers.PacketChannel | 2017.01.26 04 at 11:51:00.502 PM UTC | bytes read[35762:1756]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.protocol.http.HttpProtocolDecoder | 2017.01.26 04 at 11:51:00.502 PM UTC | parsed name[Host] value[sandbox.knuedge.com]
1/26/2017 5:51:00 PMINFO | com.fatfractal.core.nio.protocol.http.HttpProtocolDecoder | 2017.01.26 04 at 11:51:00.502 PM UTC | parsed name[X-Forwarded-Protocol] val
1/25/2017 2:44:10 PM10.42.142.147 - - [25/Jan/2017:20:44:10 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /lib/objects/object-list.js HTTP/1.1" 200 1823 "https://front-end-lb.frontend-beta.dev.hermosa.knu.aws/index.html" "-/-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" "10.16.230.157" 0.003 0.003 .
1/25/2017 2:44:10 PM10.42.142.147 - - [25/Jan/2017:20:44:10 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /lib/objects/object-edit.js HTTP/1.1" 200 1650 "https://front-end-lb.frontend-beta.dev.hermosa.knu.aws/index.html" "-/-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" "10.16.230.157" 0.005 0.005 .
1/25/2017 2:44:10 PM10.42.142.147 - - [25/Jan/2017:20:44:10 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /lib/th-sortable/th-sortable.js HTTP/1.1" 200 1479 "https://front-end-lb.frontend-beta.dev.hermosa.knu.aws/inde
1/25/2017 1:00:23 PM10.42.142.147 - - [25/Jan/2017:19:00:23 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /queue HTTP/1.1" 302 12 "-" "-/-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" "10.16.230.157" 0.024 0.024 .
1/25/2017 1:01:18 PM10.42.142.147 - - [25/Jan/2017:19:01:18 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /queue HTTP/1.1" 302 12 "-" "-/-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" "10.16.230.157" 0.007 0.007 .
1/25/2017 1:01:47 PM10.42.142.147 - - [25/Jan/2017:19:01:47 +0000] "front-end-lb.frontend-beta.dev.hermosa.knu.aws" "GET /queue HTTP/1.1" 302 12 "-" "-/-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" "10.16.230.157" 0.006 0.006 .
1/25/2017 1:01:48 PM10.42.142.147 - - [25/Jan/2017:19:01:48 +0000] "front-end-lb.frontend-beta.dev
com.fatfractal.engine.net.include.plain.host = 0.0.0.0
com.fatfractal.engine.net.include.ssl.host = 0.0.0.0
com.fatfractal.engine.net.include.plain.port = 5090
com.fatfractal.engine.net.include.ssl.port = 5462
com.fatfractal.engine.scanner.include.interval = 5
com.fatfractal.engine.reactor.include.server.type = asynchronous
com.fatfractal.engine.include.log.level = INFO