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
cd $(ProjectDir) | |
if $(ConfigurationName) == Debug npm run compile |
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
package json; | |
import java.util.Arrays; | |
import java.util.List; | |
import static java.util.stream.Collectors.toList; | |
interface IBuildJson { String toJson(); } | |
interface IBuildArrays extends IBuildJson { } | |
interface IBuildProperties extends IBuildJson { } |
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 | |
telnet | |
sleep 1 | |
echo "open smtp.address.some.where 25" | |
sleep 2 | |
echo "HELO $1" | |
sleep 1 | |
echo "MAIL FROM:$2" | |
sleep 1 | |
echo "RCPT TO:$3" |
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
var React = require('react'); | |
var Router = require('react-router'); | |
var { Route, RouteHandler, Link } = Router; | |
var App = React.createClass({ | |
render: function () { | |
return ( | |
<div> | |
<ul> | |
<li><Link to="index">Index</Link></li> |
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
# Upgrading from openwrt attitude adjustment 12.09 to barrier breaker 14.07 on the routerstation pro | |
# 1. | |
# download the sysupgrade file | |
# it can be used to upgrade from the luci ui | |
# it keeps your settings | |
wget http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin | |
# 2. | |
# in luci, navigate to "backup / flash firmware" |
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
# you need to install java 6 (!) for the "Logitech Harmony Remote Software" to run. | |
http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/031-03190.20140529.Pp3r4/JavaForOSX2014-001.dmg |
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
# on one end | |
iperf -s | |
# on the other end | |
iperf -c the-one-end -i10 -t60 |
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
root@router:~# cat /etc/config/network | |
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option type 'bridge' |
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
ls | sed -n 2p |