Skip to content

Instantly share code, notes, and snippets.

View JoniWeiss's full-sized avatar

Joni Weiss JoniWeiss

View GitHub Profile
@JoniWeiss
JoniWeiss / SubKitchen_Dev_Setup.md
Last active January 15, 2017 21:15
SubKitchen Dev Setup

SubKitchen Dev Setup

Pre-requisites

  • Git
git version
  • GitHub Account
  • Assumes Mac with macOS 10.12+
@JoniWeiss
JoniWeiss / A-Little-Gist-on-Git.md
Last active December 18, 2016 22:53
Git Practical

Some practical tips on using Git and Github

  • (from a relative noobe)

Table of Contents

  1. Some basic Git Stuff
  2. Remote repositories
  3. Git Branching
  4. Git
@JoniWeiss
JoniWeiss / atom-macos-context-menu.md
Created November 30, 2016 19:11 — forked from idleberg/atom-macos-context-menu.md
“Open in Atom” in macOS context-menu

Open in Atom

  • Open Automator
  • Create a new Service
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /usr/local/bin/atom -n $@
  • Set “Pass input” to as arguments
  • Save as Open in Atom
@mixin for-phone-only {
@media (max-width: 599px) { @content; }
}
@mixin for-tablet-portrait-up {
@media (min-width: 600px) { @content; }
}
@mixin for-tablet-portait-only {
@media (min-width: 600px) and (max-width: 899px) { @content; }
}
@mixin for-tablet-landscape-up {
@JoniWeiss
JoniWeiss / MomentJS.md
Created November 17, 2016 21:30
Moment JS

Moment JS

@JoniWeiss
JoniWeiss / Accessibility-Resources.md
Last active November 17, 2016 23:13
Accessibility

Accessibility

ARIA (Accessible Rich Internet Applications)

Accessible Rich Internet Applications (ARIA) defines ways to make Web content and Web applications (especially those developed with Ajax and JavaScript) more accessible to people with disabilities. For example, ARIA enables accessible navigation landmarks, JavaScript widgets, form hints and error messages, live content updates, and more.

ARIA is a set of special accessibility attributes which can be added to any markup, but is especially suited to HTML. The role attribute defines what the general type of object is (such as an article, alert, or slider). Additional ARIA attributes provide other useful properties, such as a description for a form or the current value of a progress bar.

ARIA is implemented in most popular browsers and screen readers. However, implementations vary and older technologies don't support it well (if at all). Use either "safe" ARIA that degrades gracefully, or ask users to upgrade to newer technology.

  • [MDN Article on
@JoniWeiss
JoniWeiss / D3-JS v3-to-v4 conversion assignment.md
Last active November 15, 2016 05:17
D3.JS-V4--World_Population_Density
@JoniWeiss
JoniWeiss / u_n_i_x command-_line stuff for developers
Created November 6, 2016 06:29
# UNIX Command-line Stuff for developers I've spent a few years at the UNIX command line professionally and as a student of web development. While I am often surprised at how little most noob developers (and some seasoned ones as well) know about the power of UNIX, I understand completely. We live in a world of the desktop with it's Finders and …
# UNIX Command-line Stuff for developers
I've spent a few years at the UNIX command line professionally and as a student of web development. While I am often surprised at how little most noob developers (and some seasoned ones as well) know about the power of UNIX, I understand completely. We live in a world of the desktop with it's Finders and Explorers. We forget that the command-line .. a.k.a. "Terminal" (or iTerm for people like me) packs a lot of power into it's not-so-pretty interface.
I assume you know a fair amount about getting around in UNIX with cd, ls, mkdir, rm, etc. If you don't, please don't try to understand this, but get yourself some training on basic UNIX (bash, zsh, etc).
## Find
* List directories under the current directory:
```
find . -type d
```
@JoniWeiss
JoniWeiss / bookmarks.md
Created November 2, 2016 01:26
Bookmarks

Some bookmarks for Web Dev resources

React Resource Sets

@JoniWeiss
JoniWeiss / json-help.md
Created November 2, 2016 01:22
JSON Help

JSON Help

  • Using JSON with React
  • There are a number of ways to connect JSON to your REACT app. Here are just a couple of woefully imcomplete methods
  • Using a callback with fetch:
        fetch('./app/test.json')
    // make the request for the json file
    .then(function(response) {
    

// Convert to JSON