Skip to content

Instantly share code, notes, and snippets.

View joshmccall221's full-sized avatar
🎧
Working from home

Josh McCall joshmccall221

🎧
Working from home
View GitHub Profile
@joshmccall221
joshmccall221 / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@joshmccall221
joshmccall221 / spacemacs
Last active February 24, 2017 02:53
Spacemacs
# curl -0 <url> | bash
sudo apt-get update && /
sudo apt-get -y install emacs && /
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d && /
emacs
#http://askubuntu.com/questions/379123/can-i-zoom-out-windows-or-scale-the-whole-desktop
xrandr --output LVDS1 --mode 1920x1080 --scale 2x2 --fb 3840x2160 --panning 3840x2160
# 3k
# xrandr --output LVDS1 --mode 1920x1080 --scale 1.5x1.5 --fb 2880x1620 --panning 2880x1620
url: https://y7kim.github.io => yoursite.com
baseurl: /agency-jekyll-theme/ => /
# Site settings
title: Awesome Title
email: your-email@domain.com
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
# Team names, titles and social links
@joshmccall221
joshmccall221 / solarized_setup.js
Last active July 3, 2017 17:39 — forked from baldwicc/solarized_setup.js
Solarized Light and Solarized Dark for Chrome Secure Shell (nassh), with fonts
/**
* STEP 1: Setup
* - Open Chrome Secure Shell settings
* - Open JS Console (CTRL+SHIFT+J)
* - Copy and paste the following:
*/
var s7d_colours = {
'base03': '#002b36',
'base02': '#073642',
'base01': '#586e75',

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import { connect } from 'ember-redux';
const stateToComputed = st => {
const {state} = st;
const {list} = state;
const listString = list.map(i=>`
<div style="box-shadow: 4px 4px 8px 4px rgba(0,0,0,0.2);transition: 0.3s;width: 80%;">
<div style="padding: 20px 16px;">
import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import { connect } from 'ember-redux';
const stateToComputed = state => {
return state;
};
const dispatchToActions = dispatch => {
return {