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 | |
echo "Hello world!" |
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
# 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 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 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 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
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 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
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 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
// 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 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 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 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
#As described here: http://boxstarter.org/Learn/WebLauncher | |
#The command to run, built from the raw link of this gist | |
#START http://boxstarter.org/package/nr/url?https://gist.github.com/JuryA/1db33ab88f7028c2defecdaaba94ac6a/raw | |
# Boxstarter options | |
$Boxstarter.RebootOk=$false # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot |
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
#Source www.cze.cz | |
#This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495" | |
# Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>] | |
#Please change following variables | |
#IP address or host name of cisco vpn, Username, Group and Password as parameters | |
param ( | |
[string]$Server = $( Read-Host "Input server, please" ), |
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
cinst Microsoft-Windows-Subsystem-Linux -source windowsFeatures | |
cinst wsl-ubuntu-1804 |