Skip to main content

Workload Scheduler users: You need rlwrap

Submitted by gill on

If you use the Linux shell very much, you find its history functions very useful. You can recall previous commands very easily, just using the arrow keys.
If you use the Workload Scheduler command-line interfaces, conman and composer, you really miss the history. Sure there's the redo command, but its editing capability is limited to the last command you typed.

Firewall rules for HDHomeRun on Fedora 20

Submitted by gill on

$ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 5002 -j ACCEPT
success
$ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 5004 -j ACCEPT
success
$ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 65001 -j ACCEPT
success
$ sudo firewall-cmd --reload

Backup and restore mySQL (MariaDB) database

Submitted by gill on

Backup:
/usr/bin/mysqldump --user=dbuser --password=dbpass --host=localhost --add-drop-table dbname > backups/mydbdump.sql

Restore:
(if the db exist)
# mysql -u root -p[root_password] [database_name] < dumpfilename.sql

mysql -u root -ps3cre3t

mysql> create database dbname;
Query OK, 1 row affected (0.02 sec)

# mysql -u root -ps3cre3t db < /tmp/mydbdump.sql

Motorcycle battery (R1100RS)

Submitted by gill on

Yuasa YT19BL-BS

  • Length (in) 7.438 in.
  • Width (in) 3.250 in.
  • Height (in) 6.875 in.
    WestCo 12V20P
  • 51814, 51913 BMW
    SEALED VRLA, AGM, 12V 20AH, 275 CCA, NON-HAZARDOUS NON-SPILLABLE BATTERIES
    $126.95
    SEALED VRLA, AGM, 12V 20AH, 275 CCA, NON-HAZARDOUS NON-SPILLABLE BATTERIES

    WPS 51913 49-1208

  • Meet Lima

    Submitted by gill on

    It appears the 'beacon' is their service:
    strings on beacon got a lot... what makes me feel this is their 'stuff':
    could not read eth0 IPv4...
    beacon.api.meetlima.com
    /home/denis/lima/git/lima-wanserr-firmware/openwrt/staging

    A quick look it appears that

    pin signal
    9 TX
    8 RX
    7 gnd

    This is the unpopulated set of through-hole pads on the daughter card near the RJ45 end of the card. With jtagulator connected