Skip to content

Instantly share code, notes, and snippets.

@cfebs
cfebs / windows_update_powershell.md
Last active April 2, 2024 20:25
Windows update powershell cli (PSWindowsUpdate, Get-WindowsUpdate)
@cfebs
cfebs / vboxhostonlyssh.md
Last active October 22, 2023 12:32
setup a vbox ubuntu server with host only adapter

Virtualbox dev environment w/ static IP

I can never find a great guide on this stuff, so these are more like notes to myself.

The goal here is to have a virtualbox running more or less headless. An ssh client is used separately to actually use the machine. I've found it to be fantastic for a quick dev setup.

lets go

Assumes you have a vbox setup with Ubuntu server (this will work for 16.04) ready to go.

PID TTY STAT TIME COMMAND
244593 ? S 0:00 /home/$USER/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=374320 -- /home/$USER/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- /home/$USER/.local/share/Steam/steamapps/common/Proton - Experimental/proton waitforexitandrun /home/$USER/.local/share/Steam/steamapps/common/DARK SOULS III/Game/DarkSoulsIII.exe
244615 ? S 0:00 /home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/pv-bwrap --args 38 /usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb --generate-locales --fd 23 --regenerate-ld.so-cache /run/pressure-vessel/ldso --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu --set-ld-library-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/
pid 205593's current affinity mask: ff00ff
pid 205622's current affinity mask: ff00ff
pid 205641's current affinity mask: ff00ff
pid 205642's current affinity mask: ffffffff
pid 205643's current affinity mask: ffffffff
pid 205644's current affinity mask: ffffffff
pid 205649's current affinity mask: ff00ff
pid 205650's current affinity mask: ff00ff
pid 205665's current affinity mask: ffffffff
pid 205666's current affinity mask: ffffffff
@cfebs
cfebs / guide.md
Last active February 16, 2022 19:49
Ubuntu guest virtualbox on Windows 10 host with ssh port forwarding

If you want:

  • a Linux guest runnning on a Windows host
  • the ability to ssh to the guest from the Windows host
  • the ability to ssh to the guest from another machine on your home network

About 90% of this comes from: https://gist.github.com/pjdietz/5768124 just with a few fixes for the host only network

Setup

1 Create a host only network in the Virtualbox GUI

@cfebs
cfebs / gifts.md
Last active August 7, 2021 01:38
gift ideas for cfebs
  • [Support people of Belarus][7] Belarusians are being sentenced to months of jail time in horrible conditions for exercising free speech. [Read about the ongoing protests starting in 2020 here][8].
  • [Wikipedia donations][3] proceeds go to Wikipedia - the best website in the world.
  • [SomaFM donations][4] proceeds go to SomaFM an old school internet radio station funded by donations.
    • [SomaFM merch][2]
  • [KEXP donation][5] proceeds go to KEXP a University of Washington affiliated donor powered radio station.
  • [Dublab donation][6] proceeds go to Dublab a nonprofit donor powered LA based radio station.
  • [Lets Encrypt donation][9] proceeds go to the Let's Encrypt (and their parent https://www.abetterinternet.org/), they are a non profit organization that provides free encryption services that power huge portions of internet.
-- Logs begin at Sat 2018-10-20 19:33:21 UTC, end at Tue 2020-08-11 00:23:51 UTC. --
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 56 System.Xml.Linq
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 57 CommandSystem
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 58 System.Xml
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 59 SimplePatchTool
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 60 UnityEngine.TerrainModule
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 61 HeathenEngineeringToolbox
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 62 HeathenSystemsCore
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 63 UnityEngine.TextRenderingModule
Aug 11 00:22:11 prod-drop-2 soldat2-test[22463]: 64 UnityEngine.ParticleSystemModule
  1. All gear employed must be White or Grey. Also, no Heirlooms of any sort.
  2. No transfer of gear, items, or money from any other character (yours or others).
  3. No gear enhancement(s), thus no socketed gems, enchanting or reforging. Exceptions exist for class abilities (example: rogue poisons).
  4. No specializations, talent points, or glyphs. This restriction also applies to talent points for pets.
  5. No professions or secondary skills. An exception is made for First Aid.
  6. No potions/flasks/elixirs (except those labeled as quest Items).
  7. No food buffs or other external buffs (this includes buffs from items and other players).
  8. No grouping or assistance from other characters, even if not grouped.
  9. No dungeons/raids. No battlegrounds/arenas.
  10. No guilds. An exception is made for Iron Man guilds. No guild perks.