Skip to content

Instantly share code, notes, and snippets.

View kevinmcalear's full-sized avatar

Kevin McAlear kevinmcalear

View GitHub Profile
var npm = require("npm");
var fs = require("fs-extra");
var chokidar = require("chokidar");
var packagePaths = [
"../mobile-app/node_modules/shared-package/lib",
"../web-app/node_modules/shared-package/lib",
];
var noop = () => {};
@kevinmcalear
kevinmcalear / Application.js
Created March 10, 2017 21:26 — forked from koistya/App.js
How to add `onscroll` event in ReactJS component
'use strict';
var React = require('react');
var ExecutionEnvironment = require('react/lib/ExecutionEnvironment');
var Application = React.createClass({
componentDidMount() {
if (ExecutionEnvironment.canUseDOM) {
document.documentElement.addEventListener('scroll', this.handleScroll);
'''
flask-tweepy-oauth
an example showing how to authorize a twitter application
in python with flask and tweepy.
find the rest of the app here: https://github.com/whichlight/flask-tweepy-oauth
'''

Excluded Inventions

Consultant shall have the right to retain ownership of any inventions, original works of authorship, discoveries, concepts or ideas, which are unrelated to Consultant’s present work (or the actual or demonstrably anticipated research or development of the Company) under this Agreement; or that the Consultant developed entirely on his own time without using the Company’s equipment, supplies, facilities and does not contain any Company trade secrets, proprietary materials or any other protected intellectual property owned by the Company. Consultant represents that the exclusion of such Inventions from this Section 9 (Inventions) will not materially affect Consultant’s ability

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after