I hereby claim:
- I am ricklancee on github.
- I am ricklancee (https://keybase.io/ricklancee) on keybase.
- I have a public key whose fingerprint is D6D2 CE64 E9C0 5C9D D40F 58F5 0A35 C0A1 0129 64C2
To claim this, I am signing this object:
| import * as React from 'react' | |
| import {withInjectedProp, InjectedProps} from './simple-typescript-react-stateless-hoc' | |
| interface Props { | |
| bar: string | |
| } | |
| export const ComponentWithFoo = withInjectedProp(class extends React.Component<Props & InjectedProps, State> { | |
| render() { |
| { | |
| "extends": ["tslint-react", "tslint-eslint-rules"], | |
| "rules": { | |
| "align": [ true, "parameters" ], | |
| "array-bracket-spacing": [true, "always", { "singleValue": false, "objectsInArray": false, "arraysInArrays": false }], | |
| "ban": false, | |
| "block-spacing": [true, "always"], | |
| "brace-style": [true, "1tbs"], | |
| "class-name": true, | |
| "comment-format": [true, "check-space"], |
| <?php | |
| namespace App\Services; | |
| use Illuminate\Support\Facades\Facade; | |
| /** | |
| * @see \Illuminate\Session\SessionManager | |
| * @see \Illuminate\Session\Store | |
| */ | |
| class NotificationFacade extends Facade | |
| { |
I hereby claim:
To claim this, I am signing this object:
| function addSeriesToStorage(series, episode) { | |
| if (series && episode) { | |
| let items = localStorage.getItem('w-'+series); | |
| if (!items) { | |
| localStorage.setItem('w-'+series, JSON.stringify([episode])); | |
| } else { | |
| items = JSON.parse(items); | |
| if (items.indexOf(episode) === -1) { | |
| items.push(episode); |
| function prompt_char { | |
| echo '$' | |
| } | |
| function virtualenv_info { | |
| [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' | |
| } | |
| function collapse_pwd { | |
| echo $(pwd | sed -e "s,^$HOME,~,") |
If your project follows a semantic versioning, it may be a good idea to automatize the steps needed to do a release. Below you have a simple recipe that bumps the project version, commits the changes to git and creates a new tag.
var gulp = require('gulp');
var runSequence = require('run-sequence');
var conventionalChangelog = require('gulp-conventional-changelog');| /** Light */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 300; | |
| src: local('Open Sans Light'), | |
| url('../fonts/Open_Sans/OpenSans-Light.ttf') format('ttf'); | |
| unicode-range: U+000-5FF; /* Latin glyphs */ | |
| } |
| #!/bin/bash | |
| _hosts() { | |
| hostfile="/etc/hosts" | |
| addusage="Usage: `basename $0` --add address host" | |
| remusage="Usage: `basename $0` --remove host" | |
| case "$1" in | |
| --add) | |
| if [ $# -eq 3 ]; then |
| <?php | |
| final class Dto | |
| { | |
| use Gettable; | |
| private $title; | |
| private $description; | |
| public function __construct($title, $description) { |