RxJS 5 Operators By Example
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
# Hexo Configuration | |
## Docs: https://hexo.io/docs/configuration.html | |
## Source: https://github.com/hexojs/hexo/ | |
# Site | |
title: Hexo | |
subtitle: | |
description: | |
author: John Doe | |
language: zh-CN |
function c() { | |
var e = document.createElement("link"); | |
e.setAttribute("type", "text/css"); | |
e.setAttribute("rel", "stylesheet"); | |
e.setAttribute("href", f); | |
e.setAttribute("class", l); | |
document.body.appendChild(e) | |
} |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
var Article = require('../../../models/article');
Those suck for maintenance and they're ugly.
extension UIView { | |
func addOnClickListener(target: AnyObject, action: Selector) { | |
let gr = UITapGestureRecognizer(target: target, action: action) | |
gr.numberOfTapsRequired = 1 | |
userInteractionEnabled = true | |
addGestureRecognizer(gr) | |
} | |
} |
Open terminal
adb shell
su
mount -o rw,remount,rw /system
import android.content.Context; | |
import android.graphics.Color; | |
import android.graphics.PixelFormat; | |
import android.os.Handler; | |
import android.support.annotation.NonNull; | |
import android.util.TypedValue; | |
import android.view.Gravity; | |
import android.view.View; | |
import android.view.ViewGroup.LayoutParams; |