Platform Toolset | devenv | working? | compiler version (from Rich Header) | depends msvcr | ucrtbased | depends vcruntime | supports retarget to 8.1 / 10 SDKs |
---|---|---|---|---|---|---|---|
Windows7.1SDK | VS 2017 RC1 | YES | VS2010 build 30319 | 100D | No | No | No |
Visual Studio 2017 (v141) | VS 2017 RC1 | NO - build fails, seems to require Windows SDK 8.1 or 10 (not possible on Win 7?) | N/A | N/A | N/A | N/A | Yes |
Visual Studio 2017 (v141) | VS 20 |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ADLMCUSTOMENV VERSION="1.0.0.0"> | |
<PLATFORM OS="Windows"> | |
<KEY ID="ADLM_COMMON_BIN_LOCATION"> | |
<!--Path to the AdLM shared executables--> | |
<STRING><path to maya netinstall>\adlm\R14\Program Files\Common Files\Autodesk Shared\Adlm\R14</STRING> | |
</KEY> | |
<KEY ID="ADLM_COMMON_LIB_LOCATION"> | |
<!--Path to the AdLM shared libraries--> | |
<STRING><path to maya netinstall>\adlm\R14\Program Files\Common Files\Autodesk Shared\Adlm\R14</STRING> |
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
#$proclist = get-wmiobject -Class win32_process | select -last 50 | |
$proclist = get-wmiobject -Class win32_process | |
foreach ($proc in $proclist) { | |
$userinfo = Invoke-WmiMethod -InputObject $proc -Name GetOwner | |
$userstring = "$($userinfo.Domain)\$($userinfo.User)" | |
if ($userstring -eq "\") {$userstring = ""} | |
Add-Member -InputObject $proc -Name User -Value $userstring -MemberType NoteProperty | |
} | |
$proclist | select ProcessId, User, name |
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
def mkUnprivedSymlink(source, target, dir=False): | |
# https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-createsymboliclinkw | |
import ctypes | |
import ctypes.wintypes | |
# 0x0 (file) or 0x1 (dir) + 0x2 (unprived mode) | |
dwFlags = 2 if dir == False else 3 | |
CreateSymbolicLinkW = ctypes.WinDLL("kernel32").CreateSymbolicLinkW | |
CreateSymbolicLinkW.restype = ctypes.wintypes.DWORD | |
CreateSymbolicLinkW.argtypes = (ctypes.wintypes.LPCWSTR, ctypes.wintypes.LPCWSTR, ctypes.wintypes.DWORD) | |
ret = CreateSymbolicLinkW(source, target, dwFlags) |
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
import re | |
match = re.search(r"(?P<name>[a-zA-Z0-9_-]{1,})(?P<operator>[=><]{2,})(?P<version>[0-9]{1,}[0-9\.]{0,})", "lets-get==1.0.0") | |
name = match.group("name") | |
operator = match.group("operator") | |
version = match.group("version") |
- 1 message per slide
- just image + short keywords (no full sentences, no redundancy to spoken word)
- size: small headline, big keywords
- contrast: highlight only the currently "active" point, gray out past (inactive) points, hide + later fade in future points
- dark background
- 5 to 6 objects per slide
I hereby claim:
- I am christian-korneck on github.
- I am chr1stian (https://keybase.io/chr1stian) on keybase.
- I have a public key whose fingerprint is DB30 FBED 2AD7 BD8A 01F3 CCDE 4EBE 2E5E DEB2 72F1
To claim this, I am signing this object:
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 | |
source $HOME/.cargo/env | |
brew install pkg-config | |
brew install portaudio | |
git clone --depth=50 --branch=master https://github.com/hrkfdn/ncspot.git hrkfdn/ncspot | |
cd hrkfdn/ncspot | |
export CARGO_FLAGS="--no-default-features --features portaudio_backend,cursive/pancurses-backend --release" | |
export PKG_CONFIG_PATH=`brew --prefix portaudio`/lib/pkgconfig #something like /usr/local/Cellar/portaudio/19.6.0/lib/pkgconfig | |
cargo build $CARGO_FLAGS |
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 | |
docker-credential-desktop list | \ | |
jq -r 'to_entries[].key' | \ | |
while read; do | |
docker-credential-desktop get <<<"$REPLY"; | |
done |
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
function octokey () { | |
if [ "${1}" == "" ]; then echo -e "Get a github user's ssh key(s). \nUsage: octokey github_username [all | key_index]" && return 1; fi | |
case "${2}" in | |
"") | |
local key_index=0 | |
;; | |
a) | |
local key_index='' #jq wildcard | |
;; | |
all) |
OlderNewer