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 { Directive, ElementRef, forwardRef, Input, Renderer2 } from '@angular/core'; | |
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; | |
import { fromEvent } from 'rxjs/observable/fromEvent'; | |
import { merge } from 'rxjs/observable/merge'; | |
import { timer } from 'rxjs/observable/timer'; | |
import { Subscription } from 'rxjs/Subscription'; | |
export const DEFAULT_VALUE_ACCESSOR : any = { | |
provide: NG_VALUE_ACCESSOR, | |
useExisting: forwardRef(() => NgControlOptionsDirective), |
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
#!/bin/bash | |
# fork from https://community.webfaction.com/questions/8894/installing-mosh | |
# set up standard build environment | |
mkdir -p $HOME/src $HOME/tmp | |
export C_INCLUDE_PATH="$HOME/include:$C_INCLUDE_PATH" | |
export LIBRARY_PATH="$HOME/lib:$LIBRARY_PATH" | |
export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH" | |
export CPPFLAGS="-I$HOME/include $CPPFLAGS" | |
export LDFLAGS="-L$HOME/lib $LDFLAGS" |
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
require 'formula' | |
class Jhcal < Formula | |
homepage 'http://www2.tokai.or.jp/y_okamon/myfreesoft/jhcal/jhcal.html' | |
url 'http://www2.tokai.or.jp/y_okamon/myfreesoft/jhcal/jhcal-2.0.tar.gz' | |
sha1 'ae09d530c3e89da8624245f95378a7991b597101' | |
def install | |
system "make" | |
bin.install "jhcal" |
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
require 'formula' | |
class GtkClearlooksEngine < Formula | |
homepage 'http://clearlooks.sourceforge.net/' | |
url 'http://prdownloads.sourceforge.net/clearlooks/clearlooks-0.6.2.tar.bz2' | |
version '0.6.2' | |
sha1 'a0bf0e17c7b75fd4906683947ce17dd5598d0f65' | |
depends_on 'gtk+' | |
depends_on :x11 |