Skip to content

Instantly share code, notes, and snippets.

View bantic's full-sized avatar
💭
Status!

Cory Forsyth bantic

💭
Status!
View GitHub Profile
function setup() {
console.log('hello from p5 setup');
}
window.setup = setup;
function draw() {
window.ellipse(50, 50, 80, 80);
}
window.draw = draw;
@bantic
bantic / bookmarklets.md
Created February 9, 2019 20:10
Sample bookmarklets for the in-class exercises in week 2
# This one worked!
movl $0x41414301, %esi #; set rsi to memory position for filename
movb $0xff, %dl #;; # of bytes to read
syscall
# add a null terminator
xor %rax, %rax
movl $0x414143e8, %esi
movb %al, (%esi)
; This has a segfault and seems to hang after echoing the
; string it read from stdin
movl $0x41414301, %esi #; set rsi to memory position for filename
movb $0xff, %dl #;; # of bytes to read
syscall
# add a null terminator
movb %al, %cl
addl $0x41414301, %eax
@bantic
bantic / controllers.application.js
Created November 29, 2018 17:24
Route-Recognizer Issue #145 with Dynamic
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@bantic
bantic / controllers.application.js
Created November 29, 2018 17:17
Route-Recognizer Issue 145
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@bantic
bantic / cloudSettings
Created October 16, 2018 14:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-10-16T14:23:37.502Z","extensionVersion":"v3.1.2"}
import Ember from 'ember';
export default Ember.Component.extend({
});
@bantic
bantic / components.my-component-2.js
Created September 14, 2018 00:58
yield component
import Ember from 'ember';
export default Ember.Component.extend({
});
@bantic
bantic / components.my-component.js
Created September 10, 2018 23:31
component 2-way bindings
import Ember from 'ember';
export default Ember.Component.extend({
});