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
$ 'main' | |
\ | |
-n1:2:-{list_reverse}-{list_reverse}-{list_print}-# | |
-n1:2:-{list_reverse}-{list_print}-# | |
test for list_append | |
--n1:0:-n2:3:-{list_append}-{list_print}-# | |
test for list_len |
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
U-Boot 1.1.4 (Jul 17 2012 - 17:01:37) | |
OM2P-LC (ar9331) U-boot | |
DRAM: #### TAP VALUE 1 = f, 2 = f | |
64 MB | |
Top of RAM usable for U-Boot at: 84000000 | |
Reserving 224k for U-Boot at: 83fc4000 | |
Reserving 384k for malloc() at: 83f64000 | |
Reserving 44 Bytes for Board Info at: 83f63fd4 | |
Reserving 36 Bytes for Global Data at: 83f63fb0 |
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
Netgear # tftp 2800000 openwrt-octeon-vmlinux-initramfs.elf;bootoctlinux 2800000 | |
Using octeth0 device | |
TFTP from server 192.168.0.23; our IP address is 192.168.0.1 | |
Filename 'openwrt-octeon-vmlinux-initramfs.elf'. | |
Load address: 0x2800000 | |
Loading: ################################################################# | |
############ | |
done | |
Bytes transferred = 10650760 (a28488 hex) | |
ELF file is 64 bit |
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
Netgear # flinfo | |
Bank # 1: CFI conformant FLASH (portwidth:16 x chipwidth: 16) Size: 16 MB in 128 Sectors | |
Erase timeout 16384 ms, write timeout 1 ms, buffer write timeout 4096 ms, buffer size 32 | |
Sector Start Addresses: | |
BEC00000 (RO) BEC20000 (RO) BEC40000 (RO) BEC60000 (RO) BEC80000 | |
BECA0000 BECC0000 BECE0000 BED00000 BED20000 | |
BED40000 BED60000 BED80000 BEDA0000 BEDC0000 | |
BEDE0000 BEE00000 BEE20000 BEE40000 BEE60000 | |
BEE80000 BEEA0000 BEEC0000 BEEE0000 BEF00000 |
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
.. | |
Calibrating delay loop... OK. | |
Found chipset "Intel ICH7M". Enabling flash write... OK. | |
Found flash chip "MX25L1605" (2048 kB, SPI) at physical address 0xffe00000. | |
Found flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) at physical address 0xffe00000. | |
Found flash chip "MX25L1605D/MX25L1608D" (2048 kB, SPI) at physical address 0xffe00000. | |
Multiple flash chip definitions match the detected chip(s): "MX25L1605", | |
"MX25L1605A/MX25L1606E", "MX25L1605D/MX25L1608D" | |
Please specify which chip definition to use with the -c <chipname> option. | |
root@x60s:~/flashrom# ./flashrom -p internal -c MX25L1605 -w /root/corboot/build/coreboot.rom |
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
opkg update | |
opkg install luci-app-statistics collectd-mod-olsrd olsrd-mod-txtinfo \ | |
collectd-mod-network | |
echo " | |
config 'statistics' 'collectd_network' | |
option 'enable' '1' | |
config 'collectd_network_server' | |
option 'host' 'monitor.berlin.freifunk.net'" >> /etc/config/luci_statistics |
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
ip_add: | |
ip a a 104.204.0.46/28 dev ens2 | |
ip_del: | |
ip a d 104.204.0.46/28 dev ens2 | |
ip_route_add: | |
ip r a 104.204.0.48/30 via 104.204.0.33 | |
ip r a 104.204.0.52/30 via 104.204.0.33 | |
ip r a 104.204.0.56/30 via 104.204.0.34 |
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 java.util.ArrayList; | |
import java.util.List; | |
import java.lang.StringBuffer; | |
public class Foo { | |
public static void main(String[] args) { | |
List<StringBuffer> list = new ArrayList<StringBuffer>(); | |
list.add(new StringBuffer("foo")); | |
System.out.println(list.get(0)); | |
list.get(0).append("bar"); |
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/sh | |
if [ "$#" -lt "7" ]; then | |
echo "usage: $0 <user> <password>" \ | |
"<network 104.13.9> <range start> <range end> <plz> <description>" | |
exit 1 | |
fi | |
# Postleitzahl, Beschreibung | |
plz="$6" |
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
_rev=$(curl "http://openwifimap.net/openwifimap/$1" \ | |
| python -c 'import json,sys;print(json.load(sys.stdin)["_rev"])') | |
curl -X DELETE "http://openwifimap.net/openwifimap/$1?rev=$_rev" |