start new:
tmux
start new with session name:
tmux new -s myname
| import javafx.application.*; | |
| import javafx.beans.value.*; | |
| import javafx.collections.*; | |
| import javafx.event.*; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.*; | |
| import javafx.scene.control.cell.MapValueFactory; | |
| import javafx.scene.image.*; | |
| import javafx.scene.layout.*; |
| /** | |
| * Module dependencies | |
| */ | |
| var express = require('express'); | |
| var fs = require('fs'); | |
| var mongoose = require('mongoose'); | |
| var Schema = mongoose.Schema; | |
| // img path |
rsync (Everyone seems to like -z, but it is much slower for me)
| <?xml version="1.0" encoding="UTF-8"?> | |
| <?import java.lang.*?> | |
| <?import javafx.geometry.*?> | |
| <?import javafx.scene.control.*?> | |
| <?import javafx.scene.control.TitledPane?> | |
| <?import javafx.scene.layout.*?> | |
| <?import javafx.scene.layout.BorderPane?> | |
| <BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="mp3player.MP3PlayerController"> |
| When I developed an app for ios by phonegap, I had a trouble in changing the <input> input cursor color. | |
| but now, there is a solution for it: | |
| --------------- | |
| <style> | |
| input { | |
| color: rgb(60, 0, 248); /* change [input cursor color] by this*/ | |
| text-shadow: 0px 0px 0px #D60B0B; /* change [input font] by this*/ | |
| -webkit-text-fill-color: transparent; |
| angular.module('utilsModule').filter("megaNumber", () => { | |
| return (number, fractionSize) => { | |
| if(number === null) return null; | |
| if(number === 0) return "0"; | |
| if(!fractionSize || fractionSize < 0) | |
| fractionSize = 1; | |
| var abs = Math.abs(number); |
| import {Directive, ElementRef} from 'angular2/core'; | |
| import {Subject} from "rxjs/Subject"; | |
| import {Content, IonicApp} from "ionic-angular/index"; | |
| /* | |
| * WIP mashup of | |
| * http://www.joshmorony.com/how-to-create-a-directive-in-ionic-2-parallax-header/ | |
| * and ionic2 infinite scroll techniques to access properties | |
| * and http://codepen.io/kaemak/pen/mHyKa | |
| * to get desired behaviour on scroll up/down |
Ok, I have on-device remote store debugging working with Ionic 2. Unfortunately, time-travel and state import doesn't work with store-devtools yet (see ngrx/store-devtools#33 and ngrx/store-devtools#31), but at least the Inspector, Log Monitor and Graph is working remotely. Here's how:
First, add https://github.com/zalmoxisus/remotedev to the project:
> npm install --save-dev remotedev
Then add these devtools proxy wrapper classes to the project. They provide the same interface as the browser extension so store-devtools will think it's just talking to the chrome extension. I left in the trace debug logging so you can clearly see what's happening in the console, but it's easy to remove if you want.