A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/usr/bin/env bash | |
| # this can be useful when developing against a custom DNS server, or | |
| # for example, if you made a change to the DNS settings of a domain, and you | |
| # know the authoritative nameserver IP address for a domain, you could use this | |
| # to bypass the intermediate DNS cache, and apply an HTTP request using the new | |
| # DNS settings supplied by your specified (authoritative) nameserver | |
| curl --dns-servers <DNSIP,DNSIP> url.com | 
  
    
      This file contains hidden or 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
    
  
  
    
  | 我是一个普通的H5开发者,我们花了10来个月做了一款微信应用, | |
| 但是因为最新版本的微信,选择使用了还没成熟的X5浏览器, | |
| 导致我们的应用在安卓版上完全无法使用 REST H5特效。 | |
| 我相信这个世界上还有很多和我一样,因为这个问题头痛的开发猿。 | |
| 所以希望能通过这个请愿书,感动TX的领导们,你们向他们学习:https://github.com/crosswalk-project/crosswalk | |
| 希望你们不要让我们开发者失望,X5真的是没法用,而且也没法改成能用,很多项目真的等不了。 | |
| 如果你是开发猿请加颗星,希望能通过群众的响应改善大家的开发环境。 | 
The dayone command line tool was originally written to work with Day One Classic, and by default writes its entries to the default Day One Classic journal directory1. If you want to use the dayone tool to write entries in to Day One 2 instead, there are a couple options.
Option 1. Use this option if you don't use Day One Classic at all.
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * @decorator | |
| * Attach events to DOM element | |
| * | |
| * @param {Element|Function} elemOrFunc: DOM Element, or a function returns element | |
| * @param {String} events: a list events separated with ',' | |
| * | |
| * Usage: | |
| * @attachEvents(window, 'click') | |
| * handleWindowClick(evt) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /* | |
| * The module amap below is a simplest implementation, there is no any updated or proper libraries when I wrote it. | |
| * Since there is a new full-feature library which wrote by another guy, so I just recommend it below. | |
| * https://github.com/leftstick/angular-amap | |
| * | |
| * If you just want version with a few features like below, you could just build your version on top of it. | |
| */ | |
| angular.module('amap', []) | |
| .constant('amapConstant', { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /* | |
| * Usage: | |
| * | |
| * As a decorator: | |
| * | |
| * import defaultTheme from './style.scss'; | |
| * | |
| * @themr(defaultTheme) | |
| * class Comp extends React.Component { ... } | |
| * | 
  
    
      This file contains hidden or 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 { createCipheriv, createDecipheriv, randomBytes } from "crypto"; | |
| const ENCRYPTION_KEY: string = process.env.ENCRYPTION_KEY || ""; // Must be 256 bits (32 characters) | |
| const IV_LENGTH: number = 16; // For AES, this is always 16 | |
| /** | |
| * Will generate valid encryption keys for use | |
| * Not used in the code below, but generate one and store it in ENV for your own purposes | |
| */ | |
| export function keyGen() { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/bash | |
| # Referenced and tweaked from http://stackoverflow.com/questions/6174220/parse-url-in-shell-script#6174447 | |
| proto="$(echo $1 | grep :// | sed -e's,^\(.*://\).*,\1,g')" | |
| # remove the protocol | |
| url="$(echo ${1/$proto/})" | |
| # extract the user (if any) | |
| userpass="$(echo $url | grep @ | cut -d@ -f1)" | |
| pass="$(echo $userpass | grep : | cut -d: -f2)" | |
| if [ -n "$pass" ]; then | 
  
    
      This file contains hidden or 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
    
  
  
    
  | telegraf: | |
| image: telegraf | |
| restart: always | |
| environment: | |
| HOST_PROC: /rootfs/proc | |
| HOST_SYS: /rootfs/sys | |
| HOST_ETC: /rootfs/etc | |
| hostname: localhost | |
| volumes: | |
| - ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro |