Skip to content

Instantly share code, notes, and snippets.

View RustyToms's full-sized avatar

Rusty Toms RustyToms

  • AppAcademy
  • New York, NY
View GitHub Profile
@RustyToms
RustyToms / hosting-on-github.md
Created April 17, 2018 15:59 — forked from TylerFisher/hosting-on-github.md
Basic steps for hosting on Github

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on github.com.
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level directory.
  6. Back in the GitHub application, you should see your files in the left column. Make sure they are all checked. If so, enter a mess
@RustyToms
RustyToms / marble-background.css
Created September 15, 2017 14:17
marble textured background, monochromatic
.thing-with-background {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100%' height='100%' data-ember-extension='1'%3E
%3Cfilter xmlns='http://www.w3.org/2000/svg' id='mono-chrome-turbulence'%3E
%3CfeTurbulence xmlns='http://www.w3.org/2000/svg' baseFrequency='.2' numOctaves='1'/%3E
%3CfeColorMatrix xmlns='http://www.w3.org/2000/svg' type='luminanceToAlpha'/%3E
%3CfeComponentTransfer xmlns='http://www.w3.org/2000/svg'%3E
%3CfeFuncA type='linear' slope='0.2'/%3E
%3C/feComponentTransfer%3E
%3C/filter%3E
%3Crect x='0' y='0' height='100%' width='100%' fill='#263f4a'/%3E
import Ember from 'ember';
import Table from 'ember-light-table';
const { computed, Component, get, set } = Ember;
export default Component.extend({
init() {
this._super(...arguments);
set(this, 'table', new Table(get(this, 'columns'), get(this, 'model')));
import Ember from 'ember';
import Table from 'ember-light-table';
const { computed, Component, get, set } = Ember;
export default Component.extend({
init() {
this._super(...arguments);
set(this, 'table', new Table(get(this, 'columns'), get(this, 'model')));
import Ember from 'ember';
import Table from 'ember-light-table';
const { computed, Component, get, set } = Ember;
export default Component.extend({
init() {
this._super(...arguments);
set(this, 'table', new Table(get(this, 'columns'), get(this, 'model')));
@RustyToms
RustyToms / controllers.application.js
Created September 22, 2016 15:58
svg filter on regular tag
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Component.extend({
string: "property string"
});
@RustyToms
RustyToms / ember.debug.js
Created April 9, 2015 15:27
Test Ember class fix
This file has been truncated, but you can view the full file.
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
* @version 1.13.0-beta.1+canary.5b744538
*/
@RustyToms
RustyToms / gist:3340921ca25e87f73904
Created April 8, 2015 16:17
test version of Ember
This file has been truncated, but you can view the full file.
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
* @version 1.13.0-beta.1+canary.5b744538
*/