Skip to content

Instantly share code, notes, and snippets.

View markusdosch's full-sized avatar

Markus Dosch markusdosch

View GitHub Profile

Weil wir heute darüber geredet haben, hier ein paar Links, um die Kommandozeile/Terminal zu meistern.

  1. Ein „linuxmäßigeres“ Terminal als das normale Windows-Terminal installieren: https://www.cygwin.com/ bringt die Linux-Tools zu Windows. Die Linux-Befehle und –Tools mit der Kommandozeile beherrschen zu können ist viel wichtiger, weil man das z.B. auch bei Webservern braucht. Außerdem sind so gut wie alle Anleitungen zu Kommandozeilen im Internet im Hinblick auf Linux geschrieben. Anmerkung: Batch-Anweisungen kann man mit Cygwin auch ausführen - http://stackoverflow.com/questions/15736898/running-a-shell-script-through-cygwin-on-windows
  2. http://lifehacker.com/5990668/master-the-command-line-this-weekend?utm_expid=66866090-55.VeucWPObSOiOW4XRx2RJDA.0&utm_referrer=https%3A%2F%2Fwww.google.de%2F

Zu vim und git:

  • vim lernt man z.B. da http://www.openvim.com/ oder mit dem eingebauten vimtutor (einfach mal googeln, wie man den aufruft). Wenn du dich, nachdem du vim kennen gelernt hast, fragst, warum jemand
@markusdosch
markusdosch / atom-javascript-development.md
Created December 5, 2015 15:17
Atom for JavaScript Web Development
@markusdosch
markusdosch / programmierlink-sammlung.md
Created December 11, 2015 10:03
Programmierlink-Sammlung
@markusdosch
markusdosch / useful-git-commands-tricks.md
Last active March 23, 2016 09:34
Useful git commands & tricks
@markusdosch
markusdosch / raspberry-pi-hidden-network.md
Last active January 1, 2016 14:25
Raspberry Pi Find and connect to hidden network
  1. (already installed on a normal RaspPi installation) install the wireless-tools (sudo apt-get install wireless-tools)
  2. sudo iwlist wlan0 scan essid *yourSSID* -> now the networks gets found and you can connect to it.
  3. Problem right now: Command from 2 has to be retyped every restart so that the network gets found. Solution: Edit /etc/wpa_supplicant/wpa_supplicant.conf (includes entries for all known networks): Add scan_ssid=1 to the entry of the hidden network -> so raspbi will look and connect to this hidden network

additional information

@markusdosch
markusdosch / raspberry-pi-fix-endless-boot-loop.md
Created January 1, 2016 15:19
Raspberry Pi fix endless boot loop
  1. Connect via ssh
  2. raspi-config
  3. Click something with "file system" or "partition table"
  4. Reboot
  5. Should work
@markusdosch
markusdosch / node-mongo-dokku-aws-ec2.md
Last active March 12, 2019 14:38
Node.js App with MongoDB on Dokku (hosted on Amazon EC2)
  1. Create an Ubuntu Server 14.04 LTS Instance (I typically use "Spot Requests" for machines which do not need to stay alive for a long time)
  • Configure Security Groups (inbound rules): All Traffic - All - All - 0.0.0.0/0; SSH - TCP - 22 - 0.0.0.0/0
  • Launch instance
  1. Connect to the instance via PuTTY
  • Host Name: ubuntu@<The Public DNS (see description of the instance)>
  • Connection -> SSH -> Auth -> Authentification parameters -> Select the *.ppk key pair file
  • Open Connection & accept fingerprint
  1. Install Dokku (source: http://dokku.viewdocs.io/dokku/installation/)
  • wget https://raw.githubusercontent.com/dokku/dokku/v0.4.13/bootstrap.sh
  • sudo DOKKU_TAG=v0.4.13 bash bootstrap.sh