- No line delete
- cmd+left goes to the beginning of the line, not beginning of the text
- cmd + shift + left highlights line + indentation
- pasting a line w/ indentation pastes indentation
- Option-right from the beginning of the line jumps to the end of the first token, not the beginning
- Cmd + / doesn't reliably uncomment commented lines
- No multiple carets
- No multi-line typing, only deleting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>stay standalone</title> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.5,user-scalable=no"> | |
<script type="text/javascript"> | |
(function() { | |
// prevents links from apps from oppening in mobile safari | |
// this javascript must be the first script in your <head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// New-style Flexbox SCSS Mixins | |
// | |
// Documentation shamelessly stolen from | |
// Chris Coyier <http://css-tricks.com/snippets/css/a-guide-to-flexbox/> | |
// ----------------------------------------------------------------------------- | |
// Flex Container Properties | |
// ----------------------------------------------------------------------------- | |
// This defines a flex container; block. Thus, it enables a flex context for all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (plex) { | |
let timeout; | |
plex.addEventListener('contextmenu', (e) => { | |
const button = plex.querySelector('[class*="AudioVideoFullPlayer-isVideo"]'); | |
const miniPlayer = plex.querySelector('[class*="MiniPlayerContainer-miniPlayer"]') | |
const wasVideoBlocked = (button && button.contains(e.target) || (miniPlayer && miniPlayer.contains(e.target))); | |
toggleBlock(wasVideoBlocked, button, miniPlayer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redfin,zillow,trulia,real deal,IPO,lawsuit,401k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
am = "!f() { git add .; git commit --amend; }; f" | |
bl = branch --list | |
bd = "!f() { git branch -D $1; }; f" | |
# Create a new branch based off origin/master or switch to a branch if it already exists | |
br = "!f() { cur_branch=$(git rev-parse --verify refs/heads/$1 2> /dev/null); if [[ -z $cur_branch ]]; then git checkout -b $1 ${2:-origin/master} --no-track; else git checkout $1; fi }; f" | |
# Switch to a new branch and delete the old branch | |
brd = "!f() { cur_branch=$(git rev-parse --abbrev-ref HEAD); git br $1 $2; git branch -d $cur_branch --force; }; f" | |
c = "!f() { if [[ ! -z "$1" ]]; then git commit -m \"$1\"; else git commit; fi; }; f" | |
ca = "!f() { git add .; git c \"$1\"; }; f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Application} from 'probot'; | |
import {Context} from 'probot/lib/context'; | |
export = (app: Application) => { | |
app.on('pull_request', async (context: Context) => { | |
context.logger.info('Pull Request event', context.payload); | |
}); | |
app.on('check_suite.requested', async (context: Context) => { | |
await context.github.checks.create({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ChecksUpdateResponse, ChecksUpdateParamsOutput, ChecksCreateResponse, Response, ReposCompareCommitsResponse} from '@octokit/rest'; | |
export interface ICheckRun { | |
start(): Promise<Response<ChecksCreateResponse> | false>; | |
run(compare: Response<ReposCompareCommitsResponse>): Promise<void>; | |
finish(success: boolean, output?: ChecksUpdateParamsOutput): Promise<Response<ChecksUpdateResponse>>; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ChecksUpdateResponse, ChecksUpdateParamsOutput, ChecksCreateResponse, Response, ReposCompareCommitsResponse} from '@octokit/rest'; | |
import {WebhookPayloadCheckRun, WebhookPayloadCheckSuite, WebhookPayloadPullRequest} from '@octokit/webhooks'; | |
import {GitHubAPI} from 'probot/lib/github'; | |
import {Context} from 'probot/lib/context'; | |
import {Logger} from 'probot/lib'; | |
export default class CheckRun { | |
public context: Context; | |
public github: GitHubAPI; |
OlderNewer