Skip to content

Instantly share code, notes, and snippets.

@stefanfoulis
stefanfoulis / README.md
Last active June 10, 2021 03:18
raspberry pi setup

my raspberry pi setup

  • basic setup
  • auto-login on startup
  • chromium
  • shared user with google sync for bookmarks in chromium
  • auto-start chromium with shared bookmark in fullscreen mode (
  • setup synergy
  • setup ssh tunnel for synergy (with restricted rights) (client: ssh -f -N -L 24800:server-hostname:24800 server-hostname)
  • share ssh with zeroconf
@Schnouki
Schnouki / popcorntime-vpn.sh
Last active November 12, 2024 00:33
OpenVPN for a single application using network namespaces -- helper scripts
#!/usr/bin/env zsh
# Initialize VPN
sudo vpnns up
sudo vpnns start_vpn
# Popcorn time!
sudo ip netns exec frootvpn sudo -u $USER popcorntime
# Cleanup
@tejastank
tejastank / gist:c63d5a5dd8d848d1c06c30919fb1ba83
Last active June 14, 2019 12:10
Window Odoo PostgreSQL Database Backup And Restore
#Snippetbucket, odoo backup for window platform
#SnippetBucket.com for Enterprise Business & Integrated Automation
#email: [email protected]
Here's the steps to do that on Windows 7:
Backup:
Step 1: cd into Postgres bin directory so you can run pg_dump.exe
command: $ cd \Program Files\PostgreSQL\9.3\bin
version: '3.1'
services:
unifi:
container_name: unifi
restart: unless-stopped
image: linuxserver/unifi
volumes:
- /srv/docker/unifi:/config
environment:
- PGID=0