wiki:Notes

Notes

This page and its sub-pages are for collecting notes and links to information about interesting hardware platforms, components, tools, SDKs, libraries, code examples, etc.

Microcontrollers

Wireless

C/C++ Libraries

Web Dev

Cool software

Cool websites

Cloud hosts

Hosts at home

  •  ngrok - “I want to securely expose a local web server to the internet and capture all traffic for detailed inspection and replay.”

Linux

  •  online man pages, for example:  timer_create(2)
  •  how to forge
  •  digital ocean community
  •  http://www.steve.org.uk/
  • Strip DOS newlines:
    • cat foo | col -b > foo2
  • sudo apt-get install openssh-server
  •  SSH keygen
  • With two hosts running under virtualbox with NAT mapping localhost:2022,2023 to host1,host2 port 22:
    kens-mac-mini:~ kwebster$ ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/Users/kwebster/.ssh/id_rsa): 
    Enter passphrase (empty for no passphrase): 
    Enter same passphrase again: 
    Your identification has been saved in /Users/kwebster/.ssh/id_rsa.
    Your public key has been saved in /Users/kwebster/.ssh/id_rsa.pub.
    The key fingerprint is:
    4d:6c:e8:9c:9d:b9:c9:91:07:1b:b1:86:47:fc:3d:98 kwebster@kens-mac-mini.domain.actdsltmp
    The key's randomart image is:
    +--[ RSA 2048]----+
    |         .o      |
    |         =.o     |
    |        o X. +   |
    |       o O BE o  |
    |        S O .  . |
    |         . =     |
    |          +      |
    |                 |
    |                 |
    +-----------------+
    kens-mac-mini:~ kwebster$ cat .ssh/id_rsa.pub | ssh -p 2022 scooby@localhost 'cat >> .ssh/authorized_keys'
    scooby@localhost's password: 
    kens-mac-mini:~ kwebster$ cat .ssh/id_rsa.pub | ssh -p 2023 scooby@localhost 'cat >> .ssh/authorized_keys'
    scooby@localhost's password: 
    
  •  SSH stop timeouts - don't close connections due to inactivity
    • add to client's .ssh/config
      KeepAlive yes
      ServerAliveInterval 30
      
  • C++ development tool setup for MongoDB, first try
  • C++ development tool setup for MongoDB, simpler
  • Wireshark installs via GUI package manager, to set permissions for non-root user:
    • sudo dpkg-reconfigure wireshark-common
    • sudo usermod -a -G wireshark $USER
  •  Nginx with PHP on Ubuntu
  • GlusterFS
  • CentOS
  • mount a Windows share
    sudo apt-get install nfs-common
    sudo apt-get install cifs-utils
    sudo mount.cifs "//192.168.1.30/disk 2/music" /mnt/music --verbose -o rw,guest,noperm,dom=BOOZEHOUNDS,sec=ntlm
    
  •  automatically run a program or script at startup
  •  Installing Jenkins as a Unix daemon
  • chmod recursively by file type:
    • find /opt/lampp/htdocs -type d -exec chmod 755 {} \;

node.js on Ubuntu

Mac OS X

Scripts, libraries, tools, etc.

Healthy food in the Boulder/Denver area

Attachments