press F12 on the Dell startup screen
- disable safe boot
- Change SATA Operation from "RAID On" to "AHCI"
- Enable Legacy Boot as well as UEFI
Instructions are here: https://www.ubuntu.com/download/desktop
press F12 on the Dell startup screen
Instructions are here: https://www.ubuntu.com/download/desktop
#!/usr/bin/env bash | |
#Build and install neovim for Debian | |
#See: https://neovim.io/ | |
#See: https://github.com/neovim/neovim/wiki/Building-Neovim#quick-start | |
#Save current dir | |
pushd . | |
#Install dependencies |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<title>Webduino Blockly Timeout Demo</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="https://webduino.io/components/webduino-js/dist/webduino-all.min.js"></script> | |
<script src="https://blockly.webduino.io/webduino-blockly.js"></script> | |
<script src="https://blockly.webduino.io/lib/runtime.min.js"></script> |
There are two main modes to run the Let's Encrypt client (called Certbot
):
Webroot is better because it doesn't need to replace Nginx (to bind to port 80).
In the following, we're setting up mydomain.com
.
HTML is served from /var/www/mydomain
, and challenges are served from /var/www/letsencrypt
.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
Grr this took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.
First install motion
:
~> sudo apt-get install motion
Then create a config file:
~> mkdir ~/.motion
~> nano ~/.motion/motion.conf
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt-get install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~ |
import requests | |
import pandas as pd | |
from bs4 import BeautifulSoup | |
categories = { | |
'7846': 'Mobile caterer', | |
'7838': 'Farmers/growers', | |
'14': 'Importers/Exporters', | |
'7843': 'Pub/bar/nightclub', | |
'4613': 'Retailers - other', |
It's a common confusion about terminal colours... Actually we have this:
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
# -*- coding: utf-8 -*- | |
for url in [ | |
'http://dev.openlayers.org/theme/default/style.css', | |
'http://dev.openlayers.org/examples/style.css', | |
'http://dev.openlayers.org/OpenLayers.js' | |
]: | |
response.files.append(url) | |
def map(): |