ST(Sublime Text)安装emmet插件后,输入!
,按tab
键就可以快速得到一个简易的html5模板,甚是便捷:
<!DOCTYPE html>
<html lang="en">
<head>
ST(Sublime Text)安装emmet插件后,输入!
,按tab
键就可以快速得到一个简易的html5模板,甚是便捷:
<!DOCTYPE html>
<html lang="en">
<head>
Pure CSS Emoji
A Pen by Peter Butcher on CodePen.
``` r | |
library(tidyverse) | |
dbf = data.frame(color=character(0), x=numeric(0), y=numeric(0), stringsAsFactors = F) | |
## Distractive woman | |
# Left arm | |
dbf = bind_rows(dbf, crossing(color='skin', x=seq(4,5), y=seq(1,9))) | |
dbf = bind_rows(dbf, data.frame(color='skin', x=5, y=10)) |
local GITHUB_API_PATH = "https://api.github.com" | |
local GITHUB_API_USER = "" | |
local GITHUB_API_TOKEN = "" | |
local GITHUB_REPOS = { | |
"tdlm/os-x-self-destruct" | |
} | |
local rate_limit_percentage | |
local menu_bar_refresh_time = 60 |
-- main.scpt | |
-- Cocoa-AppleScript Applet | |
-- | |
-- This app can close and open applications when an other application, | |
-- the trigger, is launced or terminated. This can be useful when two | |
-- applications interfere with eachother or when one is dependend on the | |
-- other (e.g. with setting an VPN connection). | |
-- | |
-- | |
-- Roemer Vlasveld (roemer.vlasveld@gmail.com) |
#!/bin/bash | |
# A script to set up a new mac. Uses bash, homebrew, etc. | |
# Focused for ruby/rails development. Includes many utilities and apps: | |
# - homebrew, rvm, node | |
# - quicklook plugins, terminal fonts | |
# - browsers: chrome, firefox | |
# - dev: iterm2, sublime text, postgres, chrome devtools, etc. | |
# - team: slack, dropbox, google drive, skype, etc |
#' --- | |
#' title: "Something fascinating" | |
#' author: "Jenny Bryan" | |
#' date: "`r format(Sys.Date())`" | |
#' output: github_document | |
#' --- |
library(repr) | |
# Change plot size to 4 x 3 | |
options(repr.plot.width=4, repr.plot.height=3) | |
curve(sin(x), from = 0, to=2*pi, n = 100) | |
# Change plot size to 8 x 3 | |
options(repr.plot.width=8, repr.plot.height=3) | |
curve(sin(x), from = 0, to=4*pi, n = 200) |
/** | |
* A quick baseline grid overlay using css+svg. | |
* Inspired by [Basehold.it](https://basehold.it/). | |
* @author leshido | |
*/ | |
body { | |
position: relative; | |
} |
GitHub's compare view is available at:
https://github.com/$USER/$REPO/compare/$REV_A...$REV_B
Naturally, $USER
and $REPO
are the owner (user/organization) and repository names, respectively.
$REV{A,B}
are the two sides of the compare view; they can either be a ref in $USER
's repository, i.e. the name of a branch, tag or a commit SHA, or it can be a ref in $OWNER
's fork of the repository by using the format $OWNER:$REF
.
You can get a diff or patch for the result of the compare view by appending .diff
or .patch
to the URL, respectively.