Skip to content

Instantly share code, notes, and snippets.

@espizo
espizo / HowTo
Created September 15, 2021 10:33 — forked from s3rj1k/HowTo
Ubuntu 20.04.2 AutoInstall
# Docs:
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53
# Download ISO Installer:
wget https://ubuntu.volia.net/ubuntu-releases/20.04.2/ubuntu-20.04.2-live-server-amd64.iso
# Create ISO distribution dirrectory:
@espizo
espizo / camera.md
Created May 31, 2017 22:57 — forked from gabonator/camera.md
Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Video stream url for VLC/DVR:

  • rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100

Telnet access

  • telnet 192.168.1.10 23
  • Localhost login: root
  • Password: xmhdipc
@espizo
espizo / webcam.html
Created March 23, 2017 21:09 — forked from MicahStevens/webcam.html
An html file setup to control a Foscam HD camera. Read more here:
<!DOCTYPE html>
<html>
<head>
<title>Webcam</title>
<style type="text/css">
body {
text-align:center;
background-color:#000000;
color: #fff;
}
@espizo
espizo / webcam.html
Created March 23, 2017 21:09 — forked from MicahStevens/webcam.html
An html file setup to control a Foscam HD camera. Read more here:
<!DOCTYPE html>
<html>
<head>
<title>Webcam</title>
<style type="text/css">
body {
text-align:center;
background-color:#000000;
color: #fff;
}
@espizo
espizo / .vimrc
Created January 2, 2017 00:01 — forked from luxflux/.vimrc
Extract issue id from branch name
" get reference for the current issue from git branch name
" assumes your branch name looks like 1337-fixing-a-lot-of-stuff
"
function GitBranchIssue(fixes)
let current_branch = system("git rev-parse --abbrev-ref HEAD")
let ref = substitute(current_branch, '^.\+\/\(\d\+\).\+$', '\1', '')
if a:fixes == 'true'
let prefix = 'fixes'
else
let prefix = 'refs'