Skip to content

Instantly share code, notes, and snippets.

@markcerv
markcerv / friends-who-like-law
Last active October 21, 2022 12:52
friends-who-like-law
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
# or fireup Boxstarter Shell, and then type in:
# Install-BoxstarterPackage -PackageName <<<THE ___RAW__ URL OF THIS GIST>>> -DisableReboots
#
# Want to find more package? visit: https://chocolatey.org/search?q=
@markcerv
markcerv / .mrc_boot_script
Last active October 10, 2021 23:58
.mrc_boot_script
#If we made it in here, then that's a good thingg
read -r -t 15 -p "Run the only on boot commands? [y/N] " response
response=${response,,} # tolower
if [[ "$response" =~ ^(yes|y)$ ]]
then
echo "All of these commands need sudo, so be prepared to enter in a password"
sleep 2
@markcerv
markcerv / README.txt
Last active June 9, 2021 04:34
3 months of sample hotel data, 2 updates
I receive hotel room price updates a few times a week.
I am trying to determine 'best way' to do a few things.
Issue#1) Determine the changes that occur from one update to the next. I'd like to know
* Did price go up (or down)...and if so, by how much
* Is room now "closed" (price went from positive integer to 0)
* Is room now "open" (price went from 0 to a positive integer)
I'd like to know this by room type, and by day of month.
@markcerv
markcerv / gist:906b59ae55316cf851aa0d1fbb2d2cb4
Last active October 13, 2022 05:14
BoxStarter - 2022 - for personal windows 11 dev machine
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
# or fireup Boxstarter Shell, and then type in:
# Install-BoxstarterPackage -PackageName <<<THE ___RAW__ URL OF THIS GIST>>> -DisableReboots
#
# Want to find more package? visit: https://chocolatey.org/search?q=
@markcerv
markcerv / jwt-inside-freelancers
Last active February 23, 2019 01:36
BoxStarter - 2018 - for windows 10 machine and developers
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
# Let's get explorer the way mark like it
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
@markcerv
markcerv / jwtsc-webdevs-2018-v1.txt
Last active January 16, 2020 11:28
BoxStarter - 2018 - for windows 10 machine
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
# or fireup Boxstarter Shell, and then type in:
# Install-BoxstarterPackage -PackageName <<<THE ___RAW__ URL OF THIS GIST>>> -DisableReboots
#
# Want to find more package? visit: https://chocolatey.org/search?q=
@markcerv
markcerv / Single cinst
Last active August 29, 2015 14:16
One singe cinst
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
cinst keepass -Version 1.29
@markcerv
markcerv / gist:7167061fa0c55cad55e0
Last active September 7, 2016 21:10
My Work Favorite Software
# This script is setup to use http://boxstarter.org/WebLauncher
# Easiest way is to use IE, and call up this URL:
#
# http://boxstarter.org/package/nr/url?<<<THE ___RAW__ URL OF THIS GIST>>>
#
# Let's get explorer the way mark like it
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions