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
name: Build | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: |
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
param( | |
$owner, | |
$repository_name, | |
$databaseid | |
) | |
gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/$owner/$repository_name/deployments/$databaseid |
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
function setup-volume { | |
param( | |
[parameter(mandatory=$true,helpmessage="drive letter")] | |
[string] $driveletter, | |
[parameter(mandatory=$false,helpmessage="file system label")] | |
[string] $label = "" | |
) | |
$driveletter = $driveletter.ToLower() |
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
<Page | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="Wheat"> | |
<Grid> | |
<Canvas Width="16" Height="16" SnapsToDevicePixels="True" ClipToBounds="True"> | |
<Canvas.Resources> | |
<SolidColorBrush x:Key="LevelBrush" Color="White"/> | |
<SolidColorBrush x:Key="NoLevelBrush" Color="Transparent"/> | |
<SolidColorBrush x:Key="LevelBarBorder" Color="Gray"/> | |
</Canvas.Resources> |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; Keys on dell laptop: LCtrl, Fn, LWin, LAlt | |
; Result: LWin, Fn, LAlt, LCtrl | |
; ..to get Ctrl next to spacebar so most Cmd key bindings are where the mac user muscle memory says they should be :) | |
LWin::LAlt | |
LAlt::LCtrl |
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
$pinvokes = @' | |
[DllImport("Kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] | |
[return: MarshalAs(UnmanagedType.Bool)] | |
public extern static bool GetVolumeInformationW( | |
string rootPathName, | |
System.Text.StringBuilder volumeNameBuffer, | |
int volumeNameSize, | |
out uint volumeSerialNumber, | |
out uint maximumComponentLength, | |
out uint fileSystemFlags, |
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
.project-columns-container { | |
padding: 0px !important; | |
} | |
.project-column { | |
border-radius: 0px !important; | |
border-right-width: 0px !important; | |
margin-right: 0px !important; | |
min-width: 300px; | |
} | |
.card-octicon { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Reconnect PSDrives for network connections when running with elevated privileges | |
# Fixes http://stackoverflow.com/questions/4742992/cannot-access-network-drive-in-powershell-running-as-administrator | |
$elevated = (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) | |
if( $elevated ) { | |
net use | ?{ $_ -match ":\s+\\\\" -and !$_.StartsWith("Unavailable") } | %{ | |
$tokens = $_.split(":") | |
$psdrivename = $tokens[0][$tokens[0].length-1] | |
$path = $tokens[1].trim().split(" ")[0].trim() | |
if( !(get-psdrive | ?{ $_.Name -eq $psdrivename } )) { |
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
server { | |
listen 80; | |
server_name localhost; | |
location /oauth2/ { | |
proxy_pass http://oauth-proxy:4180; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Scheme $scheme; | |
proxy_set_header X-Auth-Request-Redirect $request_uri; |
NewerOlder