MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
| 'use strict' | |
| var gulp, sass, babelify, browserify, watchify, source, util; | |
| gulp = require('gulp'); | |
| sass = require('gulp-sass'); | |
| babelify = require('babelify') | |
| browserify = require('browserify'); | |
| watchify = require('watchify'); | |
| source = require('vinyl-source-stream'); |
MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
| <!DOCTYPE html> <!-- HTML5 doctype 不区分大小写 --> | |
| <html lang="zh-cmn-Hans-CN"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <!-- 优先使用IE最新版本和 Chrome --> | |
| <meta name="renderer" content="webkit|ie-comp|ie-stand"> <!-- 360 浏览器内核控制 --> | |
| <!-- | |
| content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用webkit内核,IE兼容内核,IE标准内核。 |
It's a common confusion about terminal colours... Actually we have this:
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| -- hattip https://github.com/lodestone/hyper-hacks | |
| -- hattip https://gist.github.com/ttscoff/cce98a711b5476166792d5e6f1ac5907 | |
| -- A global variable for the sub-key Hyper Mode | |
| k = hs.hotkey.modal.new({}, 'F18') | |
| -- Hyper+key for all the below are setup somewhere | |
| -- The handler already exists, usually in Keyboard Maestro | |
| -- we just have to get the right keystroke sent |