Skip to content

Instantly share code, notes, and snippets.

@Jaza
Jaza / Private-pypi-howto
Last active July 2, 2023 16:24
Guide for how to create a (minimal) private PyPI repo, just using Apache with directory autoindex, and pip with an extra index URL.
*
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Test">
<Target Name="Test">
<PropertyGroup>
<StartTicks>$([System.DateTime]::UtcNow.Ticks)</StartTicks>
</PropertyGroup>
<Message Text="Starting ticks: $(StartTicks)"/>
@eridgd
eridgd / data.csv
Created December 22, 2012 18:20
Whisky Reviews
name region rating numReviews price
1792 Ridgemont Reserve Bourbon 84 1 25
Aberfeldy 12 Highland 73.5 4 42.6666666667
Aberfeldy 1998 Signatory Vintage Highland 74 2 40
Aberlour 10 Speyside 81.5 6 46
Aberlour 10 Speyside 73 1 25
Aberlour 11 Duncan Taylor NC2 Speyside 87.25 4 60
Aberlour 12 Double Cask Matured Speyside 85.4285714286 14 38.3333333333
Aberlour 12 Non Chill Filtered Speyside 93.375 8 56.5
Aberlour 16 Speyside 88.75 4 54.3333333333
@terrywang
terrywang / config
Last active February 1, 2022 09:03
~/.ssh/config behind firewall (ssh via HTTP proxy) and faster session creation by reusing already established connection
# User ssh configuration file ~/.ssh/config
# Gist https://gist.github.com/terrywang/3997931
# man ssh_config for more information
# Inspired by the blog post below to fight the NSA
# https://stribika.github.io/2015/01/04/secure-secure-shell.html
# Outside of the firewall, with HTTPS proxy
# Package connect-proxy is required.
# Amazon EC2