Showing posts with label brew. Show all posts
Showing posts with label brew. Show all posts

Saturday, 2 November 2013

Listen to internet radio without Flash on Mac and Linux CLI

NOTE: nice classical music option! https://github.com/klutometis/radio/blob/master/radio.sh
  1. OS type
    1. Mac
      1. brew install mplayer
        1. See this if you hit the bug: https://github.com/mxcl/homebrew/issues/23503
    1. Linux (Debian-based)
      1. apt-get install mplayer
  2. play on CLI
    1. mplayer <stream>
      1. e.g. mplayer http://www.antenne.de/webradio/channels/das-schlager-karussell.m3u 
Or/else:
  1. paste stream link into a browser directly
  2. use VLC to play stream

Read ext4 on Mac


  1. install xcode
  2. install brew
  3. brew install ext4fuse
    1. follow any instructions on changing permissions
  4. ext4fuse <device> <mountpoint>

Saturday, 5 October 2013

Edit files on a remote server via your Mac using ssh, sshfs and brew


  1. install latest xcode
  2. install brew
  3. install sshfs using brew
    1. make sure to change any permissions specified
  4. mkdir mytmpdir
  5. sshfs -o uid=<your local numerical id> root@<remote server>:<remote dir> mytmpdir
    1. e.g. sshfs -o uid=501 root@10.1.0.100:images mytmpdir
  6. edit files that appear in tmpdir, and when you save them, the remote files will be updated
Unmount
  1. umount mytmpdir

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...