View .eslintrc.js
{
"plugins": [
"angular"
],
"extends": [
"angular"
],
"env": {
"node": true,
"es6": true
View twitter-search.js
var Twit = require('twit')
var output;
var T = new Twit({
consumer_key: '..',
consumer_secret: '..',
access_token: '..',
access_token_secret: '..',
timeout_ms: 60*1000, // optional HTTP request timeout to apply to all requests.
View Protocols with PATs and composition.swift
//: Playground - noun: a place where people can play
import UIKit
protocol Action {
associatedtype Input
associatedtype Presenter
static func present(i: Input, p: Presenter)
}
View Confirm.vue
<template>
<v-dialog v-model="dialog" :max-width="options.width" @keydown.esc="cancel()">
<v-toolbar dark :color="options.color" dense>
<v-toolbar-title class="white--text">{{ title }}</v-toolbar-title>
</v-toolbar>
<v-card tile>
<v-card-text v-show="!!message">{{ message }}</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="primary darken-1" flat="flat" @click.native="agree()">Yes</v-btn>
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-117917069-1"></script>
<meta charset="UTF-8">
<title>US Mass Shootings, 1982-2018</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
View grafana custom.ini
# The full public facing url
#root_url = %(protocol)s://%(domain)s:%(http_port)s/
root_url = http://localhost:80/grafana/
View MainGuiceModule.java
package pampushko.vk.parser.cell_styles;
import com.google.inject.AbstractModule;
import com.google.inject.Scopes;
import org.apache.poi.ss.usermodel.CellStyle;
import pampushko.vk.parser.cell_styles.annotation.HeaderStyle;
/**
*
*/
View App.js
import React, { Component } from "react";
import logo from "./logo.svg";
import "./App.css";
class App extends Component {
constructor(props) {
super(props);
this.state = {
newItem: "",
list: []
View GitHub-Forking.md

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j