Skip to content

Instantly share code, notes, and snippets.

@bferg314
bferg314 / Pi4CitrixClient.md
Last active April 24, 2020 02:27
How to set up a Raspberry Pi 4 to use Citrix Workspace

Pi4 - A Dual Monitor Thin Client for Citrix

What you need

  • A Raspberry Pi 4 - You can get a kit for $80 or so on amazon. Get one with a fan!
  • Additional mini HDMI to HDMI adapter. The kit ususally somes with 1, get 2 for dual monitors.
  • Monitor, Keyboard, Mouse... I'll assume you have these laying around because you are interested in this project.
  • Decent SD Card. The kits might come with one, but it is nice to have an extra!
  • Download Balena Etcher to copy the image onto your SD Card.

Note

@bferg314
bferg314 / UbuntuServerVMs.md
Last active January 25, 2020 01:26
Adventures in creating some VMs on a headless 18.04 Ubuntu Server

Hardware

Dell Optiplex 7010 USFF I got on NewEgg for about $110
8GB ram and an i5
Needed a display port emulator to convince the BIOS there is a monitor attached. Another $8.

Ubuntu

Grabbed the latest 18.04 LTS. Installed it using the normal installation routine.
Configured SSH right out of the gate.

Configuration

@bferg314
bferg314 / setup_buntu.sh
Last active October 24, 2018 00:04
Setup ubuntu & derivatives
#!/bin/sh
sudo apt-get install -y \
software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo add-apt-repository ppa:webupd8team/terminix
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
@bferg314
bferg314 / elk_install.ps1
Last active January 25, 2019 07:20
Download and Install ELK on Windows
# This install script will...
# Download and install ELK
# Install X-Pack
# Launch Elastic
# Run the set password script for elastic
# Change the version and the install path to whatever you want
$elk_version = "6.2.0"
$install_path = "c:/apps"
@bferg314
bferg314 / setproxy.bat
Created August 16, 2017 18:29
Sets proxy for current session on windows, great for pip!
@echo off
set "psCommand=powershell -Command "$pword = read-host 'Enter Password for %username%' -AsSecureString ; ^
$BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
[System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""
for /f "usebackq delims=" %%p in (`%psCommand%`) do set password=%%p
set HTTP_PROXY=http://%username%:%password%@proxy.company.com:1234
set HTTPS_PROXY=https://%username%:%password%@proxy.company.com:1234