Skip to content

Instantly share code, notes, and snippets.

@pwFoo
pwFoo / Caddyfile
Created December 12, 2016 21:32 — forked from talbergs/Caddyfile
Docker[ Caddy php7 ]
0.0.0.0:80
fastcgi / phpfmp:9000 php
@chriswayg
chriswayg / create-cloud-template.sh
Last active May 1, 2024 20:47
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
@mike1237
mike1237 / ubuntu_chromebook.md
Last active April 19, 2020 00:32 — forked from timrs2998/ubuntu_chromebook.md
Ubuntu on Acer CB3-111-C670 Chromebook

This markdown file explains how to run Ubuntu on your Acer CB3-111-C670 Chromebook from a USB 3.0 flash drive.

NOTE: We are using a USB 3.0 flash drive with Linux installed with persistent storage, since the internal eMMC storage is slower than USB 3.0.

Disable Hardware Write Protection

Remove all 12 screws from the back of the laptop and remove the rear cover. Remove the write protection screw Reassemble machine

@crutkas
crutkas / InstallWinGet.ps1
Last active June 30, 2024 07:15
InstallWinGet PowerShell
function InstallWinGet()
{
$hasPackageManager = Get-AppPackage -name "Microsoft.DesktopAppInstaller"
if(!$hasPackageManager)
{
$releases_url = "https://api.github.com/repos/microsoft/winget-cli/releases/latest"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$releases = Invoke-RestMethod -uri "$($releases_url)"
@zik4000
zik4000 / esphome_hx711_smart_scale.yaml
Created September 28, 2021 01:24 — forked from markusressel/esphome_hx711_smart_scale.yaml
ESPHome sample configuration for an HX711 powered Smart Scale including Auto-Tare functionality.
## Node configuration ##
esphome:
name: smart_scale
platform: ESP8266
board: nodemcuv2
globals:
- id: initial_zero
type: float