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
#!/bin/bash | |
################################## | |
# Docker Machines # | |
################################## | |
if [ "$debugging" -gt "0" ] && [ -n $(which docker 2>/dev/null)]; then | |
echo "Docker Info" | |
fi | |
PREVIFS=$IFS | |
IFS="$NEWLINEIFS"; | |
for line in $(docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" 2>/dev/null); do |
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
// This script shows how to use M language (Power Query Formula Language) | |
// to read data from GitHub API v4 using a POST request. | |
// This can come in handy when building PowerBI reports that utilize GraphQL endpoints for loading data. | |
let | |
Source = Web.Contents( | |
"https://api.github.com/graphql", | |
[ | |
Headers=[ | |
#"Method"="POST", |
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
http://www.mercishop.cz/zbozi/z1632426224950-banka-destilacni-kulate-dno-simax-2000-ml-2-sikme-postranni-tubusy-s-nz/ | |
http://www.mercishop.cz/zbozi/z1632426224958-banka-destilacni-kulate-dno-simax-6000-ml-2-sikme-postranni-tubusy-s-nz/ | |
http://www.mercishop.cz/zbozi/z1632426207941-banka-kuzelova-erlenmeyerova-s-nz-1000-ml-4540-simax/ | |
http://www.mercishop.cz/zbozi/z1632426207950-banka-kuzelova-erlenmeyerova-s-nz-2000-ml-2932-simax/ | |
http://www.mercishop.cz/zbozi/z1632426707945-banka-sulfonacni-3-postranni-tubusy-simax-1500-ml/ | |
http://www.mercishop.cz/zbozi/z1632424011112-desky-fritove-filtracni-kruhove-na-obvodu-brousene-s1-simax-120-mm/ | |
http://www.mercishop.cz/zbozi/z1632424011212-desky-fritove-filtracni-kruhove-na-obvodu-brousene-s2-simax-120-mm/ | |
http://www.mercishop.cz/zbozi/z1632424011312-desky-fritove-filtracni-kruhove-na-obvodu-brousene-s3-simax-120-mm/ | |
http://www.mercishop.cz/zbozi/z1610002516204/ | |
http://www.mercishop.cz/zbozi/z1331588040609-hadice-ptfe-68-mm/ |
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 django_auth_ldap.backend import LDAPBackend, _LDAPUser | |
class LDAPUsernameBackend(LDAPBackend): | |
settings_prefix = "AUTH_LDAP_U_" | |
class LDAPEmailBackend(LDAPBackend): | |
settings_prefix = "AUTH_LDAP_E_" |
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
Function Install-Scoop { | |
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ` | |
-propertyType ExpandString ` | |
-name "SCOOP_GLOBAL" ` | |
-value "${ENV:PROGRAMDATA}\scoop" | |
Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression | |
'scoop install Git-with-OpenSSH Sudo Which --global' | Set-Content -path temp_script.ps1 |
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
# MIT License | |
# Copyright (c) 2016 Chandler Abraham | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
#!/bin/bash | |
echo "Hello world!" |
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
Verifying that "jaltman.id" is my Blockstack ID. https://explorer.blockstack.org/name/jaltman.id |
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
# Installation of appropriate script from https://www.powershellgallery.com/packages/Upload-WindowsAutopilotDeviceInfo/ | |
Install-Script -Name Upload-WindowsAutopilotDeviceInfo -Force:$true | |
Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'AssignedPC' -Confirm:$false | |
# Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedPC' -Confirm:$false | |
# Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedEduPC' -Confirm:$false | |
# Start-Process -FilePath '%WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe' | |
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
Install-Module CredentialsManager -scope CurrentUser |