$argon2id$v=19$m=8192,t=2,p=4$Y+r8NKkXj0fRU5SXsnU5wQ$ElL+7Y53Kfl1537JUzTvl2h8FwCttAsX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# check_psmodule_updates.ps1 | |
# | |
# Check for updated versions of user installed PowerShell modules. | |
# | |
# Author: github.com/pirafrank | |
# | |
# get listed of user installed PowerShell modules | |
$installedModules = Get-ChildItem -Path "$env:USERPROFILE\Documents\PowerShell\Modules" -Directory | Select-Object Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define the interface names and the two DNS IPs | |
# edit the followin two lines | |
$internet_interface1 = "Ethernet 6" | |
$internet_interface2 = "Wi-Fi" | |
##### do not edit below this line ##### | |
$dns1 = "1.1.1.1" | |
$dns2 = "10.19.56.151" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********* | |
// constants | |
// ********* | |
// Go to GitHub > Settings > Developer Settings > Personal access tokens > Tokens | |
// and create a new one with the following scopes: | |
// - codespaces (Full control over codespaces) | |
// - read:user | |
// - user:email | |
const token = "ghp_123secretToken" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\Calendar] | |
"EnableMeetingCopy"=dword:00000001 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:focal | |
ENV DEBIAN_FRONTEND=noninteractive | |
# explicitly set lang and workdir | |
ENV LANG="en_US.UTF-8" LC_ALL="C" LANGUAGE="en_US.UTF-8" | |
USER root | |
RUN apt-get remove -y vim-runtime gvim vim-tiny \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy-Item -Force -Recurse $env:USERPROFILE\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets $env:USERPROFILE\Pictures\LockScreen_Wallpapers | |
Dir $env:USERPROFILE\Pictures\LockScreen_Wallpapers | rename-item -newname { [io.path]::ChangeExtension($_.name, "jpg") } | |
explorer $env:USERPROFILE\Pictures\LockScreen_Wallpapers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
callback(null, { | |
statusCode: 307, | |
headers: { | |
Location: 'https://github.com/pirafrank', | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Serve", | |
"type": "shell", | |
"command": "bundle exec jekyll s", | |
"problemMatcher": [] |
NewerOlder