linux

Linux dd from server

Let’s say you have a huge image file on a file server and you want to dd the image to an SD card or a local drive.

Samba server on Linux Mint 18

A Samba server lets you share files and folders with Windows and Mac users over your network. Samba is no longer included in Linux Mint 18 but these instructions will get you up and running quickly.

Headless Setup Wifi on Raspberry Pi Stretch

A Raspberry Pi can be configured from scratch without using a monitor or a keyboard (headless setup). But Raspbian Stretch uses a different system to configure wifi than Jessie or earlier Raspbian Linux versions.

How to Install Jekyll on Linux Mint

I was having problems installing Jekyll on Linux Mint 17 and Linux Mint 18. Jekyll is a really good and simple static website creator which also has a lot of templates available for it. Here’s the complete steps.

Using virtualenv with Python

Python modules can get to be a mess. When someone tries to run your code, they have to install all the modules you’ve used. With all the Python programs you try out, your local install might have a gazillion modules installed.

Automount USB drives in Linux Mint

There’s a desktop GUI to automount a USB external drive in Debian-based Linux, but if you’re running headless, here’s how to do it via the command line. This udev script will automatically mount the removable drive as /media/label where label is the label of the drive.

Back to Top ↑

python

ImportError: cannot import name ‘main’

I got this error trying to install Python pip on a fresh Ubuntu 16.04 install. Turns out pip 10.0 installs itself to ~/.local/bin instead of the typical location of /usr/bin/pip and it can’t find other modules it needs.

Using virtualenv with Python

Python modules can get to be a mess. When someone tries to run your code, they have to install all the modules you’ve used. With all the Python programs you try out, your local install might have a gazillion modules installed.

Back to Top ↑

git

The Best Git Tutorial

The best tutorial so far is not from git itself; too technical and not enough background. The one I really liked most is from Atlassian.

Back to Top ↑

backup

Back to Top ↑

jekyll

How to Install Jekyll on Linux Mint

I was having problems installing Jekyll on Linux Mint 17 and Linux Mint 18. Jekyll is a really good and simple static website creator which also has a lot of templates available for it. Here’s the complete steps.

Back to Top ↑

sphinx

Back to Top ↑

Ubuntu

Samba server on Linux Mint 18

A Samba server lets you share files and folders with Windows and Mac users over your network. Samba is no longer included in Linux Mint 18 but these instructions will get you up and running quickly.

ImportError: cannot import name ‘main’

I got this error trying to install Python pip on a fresh Ubuntu 16.04 install. Turns out pip 10.0 installs itself to ~/.local/bin instead of the typical location of /usr/bin/pip and it can’t find other modules it needs.

Back to Top ↑

web

Back to Top ↑

apache

Back to Top ↑

wordpress

Back to Top ↑

serial

Back to Top ↑

usb

Back to Top ↑

tar

Back to Top ↑

ssh

Linux dd from server

Let’s say you have a huge image file on a file server and you want to dd the image to an SD card or a local drive.

Back to Top ↑

apt

Back to Top ↑

packages

Back to Top ↑

server

Back to Top ↑

automount

Automount USB drives in Linux Mint

There’s a desktop GUI to automount a USB external drive in Debian-based Linux, but if you’re running headless, here’s how to do it via the command line. This udev script will automatically mount the removable drive as /media/label where label is the label of the drive.

Back to Top ↑

usb drive

Automount USB drives in Linux Mint

There’s a desktop GUI to automount a USB external drive in Debian-based Linux, but if you’re running headless, here’s how to do it via the command line. This udev script will automatically mount the removable drive as /media/label where label is the label of the drive.

Back to Top ↑

file permissions

Back to Top ↑

smtplib

Back to Top ↑

gmail

Back to Top ↑

virtualenv

Using virtualenv with Python

Python modules can get to be a mess. When someone tries to run your code, they have to install all the modules you’ve used. With all the Python programs you try out, your local install might have a gazillion modules installed.

Back to Top ↑

network

Back to Top ↑

storage

Back to Top ↑

pandas

Back to Top ↑

anaconda

Back to Top ↑

raspberry pi

Headless Setup Wifi on Raspberry Pi Stretch

A Raspberry Pi can be configured from scratch without using a monitor or a keyboard (headless setup). But Raspbian Stretch uses a different system to configure wifi than Jessie or earlier Raspbian Linux versions.

Back to Top ↑

wifi

Headless Setup Wifi on Raspberry Pi Stretch

A Raspberry Pi can be configured from scratch without using a monitor or a keyboard (headless setup). But Raspbian Stretch uses a different system to configure wifi than Jessie or earlier Raspbian Linux versions.

Back to Top ↑

git server

Back to Top ↑

micropython

Back to Top ↑

esp8266

Back to Top ↑

acpi

Back to Top ↑

suspend

Back to Top ↑

wake

Back to Top ↑

pip

ImportError: cannot import name ‘main’

I got this error trying to install Python pip on a fresh Ubuntu 16.04 install. Turns out pip 10.0 installs itself to ~/.local/bin instead of the typical location of /usr/bin/pip and it can’t find other modules it needs.

Back to Top ↑

samba

Samba server on Linux Mint 18

A Samba server lets you share files and folders with Windows and Mac users over your network. Samba is no longer included in Linux Mint 18 but these instructions will get you up and running quickly.

Back to Top ↑

galliumos

Back to Top ↑

chromebook

Back to Top ↑

source control

The Best Git Tutorial

The best tutorial so far is not from git itself; too technical and not enough background. The one I really liked most is from Atlassian.

Back to Top ↑

continuous integration

The Best Git Tutorial

The best tutorial so far is not from git itself; too technical and not enough background. The one I really liked most is from Atlassian.

Back to Top ↑

ci

The Best Git Tutorial

The best tutorial so far is not from git itself; too technical and not enough background. The one I really liked most is from Atlassian.

Back to Top ↑

text

Draw Diagrams Online

Why draw diagrams online when there is Visio, Powerpoint, Inkscape, Illustrator and many more? For super simplicity, that’s why! Here are some examples.

Back to Top ↑

graphics

Draw Diagrams Online

Why draw diagrams online when there is Visio, Powerpoint, Inkscape, Illustrator and many more? For super simplicity, that’s why! Here are some examples.

Back to Top ↑

sftp

Back to Top ↑

read the docs

Back to Top ↑

udev

Back to Top ↑

jpg

Batch Resize JPG Images in Linux

Here’s a super fast way to convert a bunch of .jpg images to a lower resolution without changing the aspect ratio. This is especially useful in reducing image sizes for websites.

Back to Top ↑

convert

Batch Resize JPG Images in Linux

Here’s a super fast way to convert a bunch of .jpg images to a lower resolution without changing the aspect ratio. This is especially useful in reducing image sizes for websites.

Back to Top ↑

resize

Batch Resize JPG Images in Linux

Here’s a super fast way to convert a bunch of .jpg images to a lower resolution without changing the aspect ratio. This is especially useful in reducing image sizes for websites.

Back to Top ↑

mqtt

Periodically publish IP to MQTT server

Here’s how I periodically have my various computers publish their IP address to an MQTT server. The message are set with “retain” flag so subscribing to the MQTT server will show all the IPs of my computers.

Back to Top ↑

dd

Linux dd from server

Let’s say you have a huge image file on a file server and you want to dd the image to an SD card or a local drive.

Back to Top ↑

linux, slack, service

Back to Top ↑

ffpmeg

Back to Top ↑

tasmota

Back to Top ↑

home automation

Back to Top ↑