I hereby claim:
- I am kfrancis on github.
- I am djbyter (https://keybase.io/djbyter) on keybase.
- I have a public key ASDc-2RcydmAI7yz0vO7cKixlyZxKXyHN_JUfqNZZbv7GQo
To claim this, I am signing this object:
| M140 S0 | |
| M82 ;absolute extrusion mode | |
| M107 | |
| M104 S0 | |
| M140 S0 | |
| ;Retract the filament | |
| G92 E1 | |
| G1 E-1 F300 | |
| G28 | |
| M84 |
| <# | |
| The command to run, built from the raw link of this gist | |
| Win+R | |
| iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
| OR (if you don't like the way the web launcher force re-installs everything) |
| #include "SparkFun_Qwiic_Button.h" | |
| QwiicButton toggle; | |
| uint8_t brightness = 100; | |
| void setup() { | |
| Serial.begin(115200); | |
| Serial.println("Qwiic toggle examples"); | |
| Wire.begin(); //Join I2C bus |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <staticContent> | |
| <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" /> | |
| </staticContent> | |
| <rewrite> | |
| <rules> | |
| <!-- Make all requests https --> | |
| <rule name="Https redirect" stopProcessing="true"> |
| #>> from https://github.com/microsoft/windows-dev-box-setup-scripts/blob/master/scripts/FileExplorerSettings.ps1 | |
| #--- Configuring Windows properties --- | |
| #--- Windows Features --- | |
| # Show hidden files, Show protected OS files, Show file extensions | |
| Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
| #--- File Explorer Settings --- | |
| # will expand explorer to the actual folder you're in | |
| Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1 | |
| #adds things back in your left pane like recycle bin |
I hereby claim:
To claim this, I am signing this object:
| # Script that archives the .log files in the current directory that are from last month into a file that contains the month/year | |
| $7Zip = 'C:\"Program Files"\7-Zip\7z.exe' | |
| $firstDayOfMonth = (Get-Date (Get-Date) -Day 1 -Hour 0 -Minute 0 -Second 0) | |
| Write-Host ("First Day of THIS month is: " + $firstDayOfMonth) | |
| $lastDayOfLastMonth = $firstDayOfMonth.AddSeconds(-1) | |
| Write-Host ("Last Day of LAST month is: " + $lastDayOfLastMonth) | |
| $outputFileName = [string]::Format("Logs_{0}-{1}.zip", $lastDayOfLastMonth.Year, $lastDayOfLastMonth.Month.ToString("00")) |
| var countryDdl = $("#subscription_payment_profile_attributes_billing_country"); | |
| if (countryDdl) { | |
| countryDdl.empty(); // Remove all existing options | |
| $("<option />", {val: "US", text: "United States"}).appendTo(countryDdl); // Add US | |
| } |
| if ([System.Version] (Get-ItemProperty -path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion").CurrentVersion -ge [System.Version] "6.1") { Import-Module WebAdministration } else { Add-PSSnapin WebAdministration } | |
| Function ReplaceWebsiteBinding($sitename, $oldBinding, $newValue) | |
| { | |
| $wsbindings = (Get-ItemProperty -Path "IIS:\Sites\$sitename" -Name Bindings) | |
| Write-Host "Found bindings:" | |
| Write-Host ($wsbindings.Collection).length | |
| for($i=0;$i -lt ($wsbindings.Collection).length;$i++) | |
| { | |
| Write-Host ($wsbindings.Collection[$i]).bindingInformation |
| var obj = $("#subscription_payment_profile_attributes_billing_country"); | |
| if (obj !== null) { | |
| obj.val('AU'); | |
| if (typeof(setRelatedCountry) === 'function') { setRelatedCountry('AU', obj.attr('rel'), ""); } | |
| } |