Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Chase McCarthy code0100fun

🏠
Working from home
Block or report user

Report or block code0100fun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am code0100fun on github.
  • I am code0100fun (https://keybase.io/code0100fun) on keybase.
  • I have a public key ASBQz9E_PqnycVziOHH3utpmQJI7BIkx8mCswY5mUgdN5Ao

To claim this, I am signing this object:

View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@code0100fun
code0100fun / controllers.application.js
Last active May 22, 2019 — forked from cbroeren/controllers.application.js
ember-data 3.6 infinit belongsTo fetch
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View Install protobuf 3 on Ubuntu
# Make sure you grab the latest version
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.8.0-rc1/protoc-3.8.0-rc-1-linux-x86_64.zip
# Unzip
unzip protoc-3.8.0-rc-1-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@code0100fun
code0100fun / web-socket-service-adapter.md
Last active Feb 11, 2019
Websocket service adapter
View web-socket-service-adapter.md
custom_mark12 /** *Structural Things *@opt commentname *@note Notes can *be extended to *span multiple lines */
@code0100fun
code0100fun / export_to_unit8_t.js
Last active Jan 13, 2019 — forked from juliandescottes/export_to_unit8_t.js
Piskel Feature request: Add unit8_t version to "Export as C file" for single color images #606
View export_to_unit8_t.js
var export_to_unit8_t = function () {
var HTML_NEW_LINE = '
';
var width = pskl.app.piskelController.getWidth();
var height = pskl.app.piskelController.getHeight();
var frameCount = pskl.app.piskelController.getFrameCount();
var str = '';
str += '#include <stdint.h>' + HTML_NEW_LINE;
str += '#define SPRITE_SHEET_FRAME_COUNT ' + frameCount + HTML_NEW_LINE;
@code0100fun
code0100fun / 50-black-magic-blue-pill.rules
Created Jan 1, 2019
Udev rules for Black Magic Probe on an STM32 Blue Pill
View 50-black-magic-blue-pill.rules
# UDEV Rules for Black Magic Probe (STM32 Blue Pill)
# copy this file to /etc/udev/rules.d/50-black-magic-blue-pill.rules
# reload rules:
# $ sudo udevadm control --reload-rules && sudo udevadm trigger
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6018", GROUP="plugdev", MODE="0666"
View components.x-cell.js
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'tr',
});
View components.modal-dialog.js
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['modal-dialog'],
});
You can’t perform that action at this time.