- https://candykeys.com (Germany)
- Keyboards, kits, keycaps, switches & parts
- Shipping
- €13 DHL
- €23 DPD
- http://ukkeycaps.co.uk (UK)
- Keyboards, kits, keycaps, switches & parts
- Shipping: 7,50 libras
- http://splitkb.com (Holanda)
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 | |
# | |
# add the "-x" option to the shebang line if you want a more verbose output | |
# | |
# | |
OPTSPEC=":hp:t:k:" | |
show_help() { | |
cat << EOF | |
Usage: $0 [-p PATH] [-t TARGET_HOST] [-k API_KEY] |
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
#!/usr/bin/env bash | |
#You'll need to enable IPMI over lan in idrac first | |
#iDRAC Settings -> Network -> IPMI Settings | |
#Channel Privilege Level Limit needs to be Administrator | |
#You may want to create a dedicated username/pass with IPMI permission in iDRAC Settings -> User Authentication | |
IPMIHOST=idracip | |
IPMIUSER=username | |
IPMIPW=password | |
IPMIEK=0000000000000000000000000000000000000000 |
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
# Satellite | |
## Tasks Status | |
sudo su - postgres -c "psql -d foreman -c 'select label,count(label),state,result from foreman_tasks_tasks where state <> '\''stopped'\'' group by label,state,result ORDER BY label;'" | |
## Foreman-rake commands - https://access.redhat.com/solutions/1754193 | |
### Cancel Tasks | |
> foreman-rake console | |
irb(main):001:0> ForemanTasks::Task.find("799bc5fb-2d4c-4d0d-9d7d-4e42e9a8ace8").destroy | |
### Synchronize a repository from CDN |
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
#Requires -RunAsAdministrator | |
# Unlock-PowerCfg - v22.05.11 | |
# Disable "Connected Standby" | |
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Power' -Name 'CSEnabled' -Value 0 -Force | |
# Get Power Settings entries and add/set 'Attributes' to 2 to unhide | |
$PowerCfg = (Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerSettings' -Recurse).Name -notmatch '\bDefaultPowerSchemeValues|(\\[0-9]|\b255)$' | |
foreach ($item in $PowerCfg) { Set-ItemProperty -Path $item.Replace('HKEY_LOCAL_MACHINE','HKLM:') -Name 'Attributes' -Value 2 -Force } |
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 will explain how to transfer a file to EC2 using SSM ONLY! | |
# You will need to have permission to run SSM commands on the target machine and have sudo access as well | |
# Infos | |
INSTANCE_ID=i-1234567890 | |
FILE_NAME=the_file.tar.gz | |
# Step 1: Run command on machine to install netcat and dump from port to filename | |
# < Start session |
OlderNewer