Short excursion into git --track, --set-upstream and --set-upstream-to.
All examples use the aliases co for checkout and br for branch.
Setup:
$ git clone [email protected]:AKSW/OntoWiki.git
| package data | |
| import ( | |
| "github.com/graphql-go/graphql" | |
| "github.com/graphql-go/relay" | |
| ) | |
| var postType *graphql.Object | |
| var queryType *graphql.Object | |
| var Schema graphql.Schema |
| package data | |
| // Data model structs | |
| type Post struct { | |
| Id string `json:"id"` | |
| Text string `json:"text"` | |
| } | |
| // Mock data | |
| var latestPost = &Post{ |
Short excursion into git --track, --set-upstream and --set-upstream-to.
All examples use the aliases co for checkout and br for branch.
Setup:
$ git clone [email protected]:AKSW/OntoWiki.git
| . | |
| ├── actions | |
| ├── stores | |
| ├── views | |
| │ ├── Anonymous | |
| │ │ ├── __tests__ | |
| │ │ ├── views | |
| │ │ │ ├── Home | |
| │ │ │ │ ├── __tests__ | |
| │ │ │ │ └── Handler.js |
| /** @jsx React.DOM */ | |
| 'use strict'; | |
| var React = require("react/addons"); | |
| var _ = require("lodash"); | |
| var $ = require("jquery"); | |
| var AtomReact = require("atom-react"); | |
| var classNames = require('classnames'); |
| sudo apt-get update | |
| sudo apt-get install nginx | |
| #default website |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentelem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeightelem.getClientRects(), elem.getBoundingClientRect()| package main | |
| import "strconv" | |
| import "fmt" | |
| type Color string | |
| type Make string | |
| type Model string | |
| const ( |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
So, you want to send a motherfucking XMLHttpRequest (XHR, or commonly and falsly known as AJAX.) Too bad, just ran out of motherfucking XMLHttpRequests; but I still have one regular. XHR is not magic. It does not autofuckinmagically send things the way you want them do be sent. It does not do the thinking for you. It just sends an Http Request.
You get a hold on such a prime beast like this: