Skip to content

Instantly share code, notes, and snippets.

View npverni's full-sized avatar

Nathan Verni npverni

  • Tropic
  • 56th and Wabasha
View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
@npverni
npverni / relay.js
Created February 11, 2016 13:53
relay.js
class CreateCommentMutation extends Relay.Mutation {
static fragments = {
story: () => Relay.QL`
fragment on Story { id }
`,
};
getMutation() {
return Relay.QL`
mutation{ createComment }
`;
emails [master] % npm install -g ember-cli
npm http GET https://registry.npmjs.org/ember-cli
npm http 304 https://registry.npmjs.org/ember-cli
npm http GET https://registry.npmjs.org/broccoli/0.7.2
npm http GET https://registry.npmjs.org/broccoli-env/0.0.1
npm http GET https://registry.npmjs.org/broccoli-es6-concatenator/0.1.4
npm http GET https://registry.npmjs.org/broccoli-uglify-js/0.1.1
npm http GET https://registry.npmjs.org/broccoli-static-compiler/0.1.4
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/connect-livereload
nnoremap <Leader>yf :let @*=expand("%:p")<cr>:echo "Copied file name to clipboard"<cr>
" Copy current filename to system clipboard
nnoremap <Leader>yf :let @*=expand("%:p")<cr>:echo "Copied file name to clipboard"<cr>
product_handle customer_first_name customer_last_name customer_email payment_profile_first_name payment_profile_last_name payment_profile_full_number payment_profile_expiration_month payment_profile_expiration_year
basic Harvey Upton hilma_schimmel6@example.com Harvey Upton 1 12 2021
basic Mckenna Medhurst tristian_kuhlman7@example.com Mckenna Medhurst 1 11 2022
basic Keara Pfannerstill john8@example.com Keara Pfannerstill 1 10 2023
basic Marvin Von alvah9@example.com Marvin Von 1 11 2024
basic Luis Lebsack lawrence10@example.com Luis Lebsack 1 12 2025
@npverni
npverni / gist:5314233
Created April 4, 2013 20:48
The site is down, but the original article is here: http://blogs.suntimes.com/ebert/2009/01/theres_a_small_cafe.html
ll by ourselves alone
By Roger Ebert on January 9, 2009 8:19 PM
In Venice there is a small bridge leading over a side canal. Halfway up the steps is a landing, and a little cafe has found its perch there. In front of this cafe is a table with two chairs. If you chose the chair with its back to the cafe, you can overlook the steps leading from the canal path, or rivetta, ahead of you. This is a quiet neighborhood crossroads, a good place to sit with a cup of cappuccino and the Herald-Trib you got from the newsstand behind Piazza San Marco.
Of course you must have a newspaper, a book, a sketchpad--anything that seems to absorb you. If you are simply sitting there, you will appear to be a Lonely Person and people will look away from you. If you seem preoccupied, you can observe them more closely. In any event, I do not sit there for the purpose of people-watching.
No, I am engaged in Being By Myself in a City Where No One Knows Who I Am and No One I Know Knows Where to Find Me. I have such places in many ci
VALIDATE:
REQUEST:
<?xml version="1.0"?>
<Txn>
<CardHolderName>James Jamerson</CardHolderName>
<CardNumber>4111111111111111</CardNumber>
<DateExpiry>0813</DateExpiry>
<Cvc2>123</Cvc2>
We are about to study the idea of a computational process. Computational processes are abstract beings that inhabit computers. As they evolve, processes manipulate other abstract things called data. The evolution of a process is directed by a pattern of rules called a program. People create programs to direct processes. In effect, we conjure the spirits of the computer with our spells.
The programs we use to conjure processes are like a sorcerer's spells. They are carefully composed from symbolic expressions in arcane and esoteric programming languages that prescribe the tasks we want our processes to perform.
A computational process, in a correctly working computer, executes programs precisely and accurately. Thus, like the sorcerer's apprentice, novice programmers must learn to understand and to anticipate the consequences of their conjuring.
—Abelson and Sussman, SICP (1993)