- MainProgram
- Locales
- ShellExtensionX64
- ShellExtensionX86
- ThgDocumentation
- KDiff3
- SSHUtils
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
# Default User | |
d-i passwd/user-fullname string XXXXXXXX | |
d-i passwd/username string XXXXXXXX | |
d-i passwd/user-password-crypted password XXXXXXXX | |
d-i user-setup/encrypt-home boolean false | |
d-i user-setup/allow-password-weak boolean true | |
# Time Zone, system clock is UTC | |
d-i time/zone string Europe/London | |
d-i clock-setup/utc-auto boolean true |
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
diff --git a/pip/commands/list.py b/pip/commands/list.py | |
index 3a0330a..3e4fcc7 100644 | |
--- a/pip/commands/list.py | |
+++ b/pip/commands/list.py | |
@@ -45,6 +45,12 @@ class ListCommand(Command): | |
help=('If in a virtualenv that has global access, do not list ' | |
'globally-installed packages.'), | |
) | |
+ cmd_opts.add_option( | |
+ '-L', '--location', |
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
[CmdletBinding(DefaultParameterSetName="ByName")] | |
Param ( | |
[Parameter(Position=0, Mandatory=$true, ParameterSetName="ByName")] | |
[String] | |
$VE, | |
[Parameter(Position=1)] | |
[ScriptBlock]$sb, |
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 cffi import FFI | |
ffi = FFI() | |
ffi.cdef(''' | |
HANDLE FindFirstVolume(LPTSTR lpszVolumeName, DWORD cchBufferLength); | |
BOOL FindVolumeClose(HANDLE hFindVolume); | |
''') | |
lib = ffi.verify(''' | |
/* Note - need UNICODE here as ffi won't auto-detect if we need it */ |
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
import zipfile | |
import hashlib | |
import csv | |
import sys | |
import os | |
import io | |
oldproj = 'pywin32' | |
newproj = 'pypiwin32' | |
filename = sys.argv[1] |
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
rom distutils import ccompiler | |
import setuptools # Needed to monkeypatch msvccompiler for Python 2.7 | |
import os | |
here = os.path.dirname(os.path.abspath(__file__)) | |
cc = ccompiler.new_compiler() | |
sources = [ | |
'api.c', |
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
import sys, os | |
here = os.path.dirname(os.path.abspath(__file__)) | |
def add(name): | |
fullname = os.path.join(here, name) | |
if os.path.isdir(fullname): | |
sys.path.append(fullname) | |
add('py{0[0]}'.format(sys.version_info)) | |
add('py{0[0]}{0[1]}'.format(sys.version_info)) |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import shutil | |
import tempfile | |
import subprocess | |
from glob import glob | |
from argparse import ArgumentParser |
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 importlib.abc import PathEntryFinder, SourceLoader, FileLoader | |
from importlib.util import module_for_loader | |
class MyFinder(PathEntryFinder): | |
def __init__(self, pathentry): | |
"""Create a finder for the given `pathentry`""" | |
if pathentry == 'foo': | |
return | |
raise ImportError | |
def find_loader(self, fullname): |
OlderNewer