Notes compiled from 105 STL Algorithms in Less Than an Hour - Jonathan Boccara [ACCU 2018]
- Searching all:
all_of()
# Ignore project files in the root | |
*.sln | |
!*\*.sln | |
.vs | |
*.suo | |
*.opensdf | |
*.sdf | |
*.pdb | |
*-Debug.dll | |
*.xcodeproj |
Notes compiled from 105 STL Algorithms in Less Than an Hour - Jonathan Boccara [ACCU 2018]
all_of()
import winreg | |
import os | |
VS_REG_PATH = r"SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7" | |
def GetVS2017Path(): | |
vs_registry_key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, VS_REG_PATH, 0, winreg.KEY_READ) | |
value, regtype = winreg.QueryValueEx(vs_registry_key, "15.0") | |
winreg.CloseKey(vs_registry_key) | |
return value |
#Linux
$ gvfs-open ./
#!/bin/sh | |
for i in `seq 0 $1` | |
do | |
./gnu.exe $i > sout$i | |
done | |
for i in `seq 0 $1` | |
do | |
printf "diff out$i sout$i:\n" | |
diff out$i sout$i |
Verifying that +varaquilex is my blockchain ID. https://onename.com/varaquilex |