This file contains hidden or 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
title: personal wishlist | |
description: see https://gist.github.com/barn/84ab929b5fad96834acbd187cbd05f12 | |
//wastelander shotgun | |
//notes: PvE Roll?? | |
dimwishlist:item=1679868061&perks=1047830412,791862061,536173722,78 | |
//retrofit volatile taget lock // https://www.youtube.com/watch?v=Vx0TPO3NLOE | |
dimwishlist:item=3103325054&perks=1482024992,2420895100,848860060,2939589096,192157151 |
This file contains hidden or 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
#!/usr/bin/env python | |
import re | |
import sys | |
import time | |
import signal | |
import subprocess | |
import multiprocessing | |
# from xml.dom import minidom |
This file contains hidden or 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
#!/bin/bash | |
# | |
# This. | |
# Is. | |
# Awful. | |
# write that file as: | |
# round=<0|1|2> | |
# oldpass=1234 | |
# newpass=4321 |
This file contains hidden or 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
#!/usr/bin/env perl | |
# | |
# Hinweis: Tabulatorbreite: 4 Zeichen | |
# Notice: tab width: 4 characters | |
# | |
######################################################################## | |
# # | |
# Muttprint - pretty printing of mails with Mutt # | |
# Copyright (c) 2000-04, Bernhard Walle <bernhard.walle@gmx.de> # | |
# Copyright (c) 2005, Lukas Ruf <lukas.ruf@lpr.ch> # |
This file contains hidden or 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
#!/bin/zsh | |
# | |
# Supports <image>:<path>, supports sha256/tags, path supports wildards, if a second arg is a path, it will output there, creating paths if needed | |
# $ copy_from_docker_image ruby:2.7.4:/etc/hosts ./ | |
copy_from_docker_image() { | |
if [ -z "$ZSH_VERSION" ]; then | |
echo "sorry I need to use zsh" | |
exit 1 | |
fi |
This file contains hidden or 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
#! /bin/zsh | |
NPM="$(which -a npm 2>/dev/null | grep -m 1 /)" | |
if [ -n "$NPM" ] | |
then | |
npm() { | |
local rc | |
"$NPM" $@ | |
rc=$? |
This file contains hidden or 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
root@schick-1:~# cat /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
# allow-hotplug eth0 |
This file contains hidden or 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
[alias] | |
recent = "!r() { \ | |
git for-each-ref --color=always --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)' \ | |
| column -ts'|' \ | |
| cut -c -$(tput cols) \ | |
;}; r" |
This file contains hidden or 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
~/.gitconfig | |
[alias] | |
recent = "!r() { \ | |
git for-each-ref --color=always --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)' \ | |
| column -ts'|' \ | |
| cut -c -$(tput cols) \ | |
;}; r" |
This file contains hidden or 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
diff --git i/lib/puppet/provider/package/pip.rb w/lib/puppet/provider/package/pip.rb | |
index 8e889a0b1..0204b17d0 100644 | |
--- i/lib/puppet/provider/package/pip.rb | |
+++ w/lib/puppet/provider/package/pip.rb | |
@@ -68,6 +68,9 @@ Puppet::Type.type(:package).provide :pip, | |
client = XMLRPC::Client.new2("http://pypi.python.org/pypi", proxy) | |
client.http_header_extra = {"Content-Type" => "text/xml"} | |
+ # also add an accept header, as the pypi infra changed and now they | |
+ # will gzip the response, which xmlrpc client will not handle. |
NewerOlder