Skip to content

Instantly share code, notes, and snippets.

Avatar

wandersick wandersick

View GitHub Profile
View always-on-top-panels.ahk
; Always-on-Top Panels for Scratchpad (Google Chrome)
; AutoHotkey script by wandersick 8-Feb-2011 [Revised on 7-Apr]
;
; goals
; 1. ctrl+alt+n to launch scratchpad
; 2. automatically always on top (like panels in ChromeOS)
; 3. alt+shift+t to toggle always on top status in any window
;
; supports:
; - Windows from XP to 7 (by junction)
View winpe_boot_ilo_bios.ps1
# Legacy BIOS - Boot from ISO URL on next boot (This is not the preferred method. See Persistent Boot method below.)
Set-HPiLOOneTimeBootOrder -Server $iloIP -user $iloUserName -pass $iloPassword -Device CDROM
# Legacy BIOS - Persistent Boot (Preferred)
Set-HPiLOPersistentBootOrder -Server $iloIP -user $iloUserName -pass $iloPassword -BootOrder CDROM
View winpe_boot_ilo_uefi.ps1
# Version: 1.0
# Last Update: 20 Oct 2015
# iLO Cmdlet Version (at the time): 1.2
# Author: wandersick (http://tech.wandersick.com)
$iloIP = "HP_iLO_IP_addr"
$iloUserName="administrator"
$iloPassword="********"
$isoUrl ="http://web_srv_IP_addr/winpe.iso"
View aerozoom-key-bindings.csv
Function Mouse Keyboard
AeroZoom panel [Left] & [Right]
Show magnifier [Left] & [Wheel-up] [WinKey] & [+]
Reset zoom [Left] & [Middle]
Zoom in  [Left] & [Wheel-up] [WinKey] & [+]
Zoom out  [Left] & [Wheel-down] [WinKey] & [-]
View gist:c43de1450039d3edcf4aee8b91c3bae8
<table border="1" cellpadding="4" width="415" cellspacing="0">
<tbody>
<tr>
<td align="center" bgcolor="#FFFFFF"><strong>Function</strong></td>
<td align="center" bgcolor="#FFFFDD"><strong>Mouse</strong></td>
<td align="center"><strong>Keyboard</strong></td>
</tr>
<tr>
<td align="center" valign="middle">AeroZoom panel</td>
<td align="center" valign="middle" bgcolor="#FFFFDD">[Left] &amp; [Right]</td>
View rule-book.yml
---
- hosts: all # Apply to all hosts in the inventory file
remote_user: root
tasks:
- name: ensure firewall service is running
service:
name: "{{ item }}"
state: started
enabled: yes
with_items:
View icrs-run-firewall.yml
---
- hosts: all # Apply to all hosts in the inventory file
remote_user: root
tasks:
- name: ensure firewall service is running
service:
name: "{{ item }}"
state: started
enabled: yes
with_items:
View ibm_v7000_query_commands.txt
// short URL: http://tinyurl.com/mdn8adm
lsarray
lsarrayinitprogress
lsarraylba
lsarraymember
lsarraymembergoals
lsarraymemberprogress
lsarrayrecommendation
lsarraysyncprogress
@wandersick
wandersick / brocade_san_switch_query_commands.txt
Last active Apr 8, 2017
Brocade SAN Switch Query Commands
View brocade_san_switch_query_commands.txt
// short URL - http://tinyurl.com/majn59n
ipaddrshow
version
firmwareshow
switchstatusshow
switchstatuspolicyshow
nsallshow
licenseshow
@wandersick
wandersick / autohotkey_google_drive_heads_up.ahk
Created Mar 25, 2017
Google Drive - Auto-Answer 'Heads Up' Prompt - AutoHotkey
View autohotkey_google_drive_heads_up.ahk
; detect Google Drive prompt "Heads up, some people may lose access" OK (O) / Undo (U)
Loop
{
WinWait, Google Drive
If Not Errorlevel
{
If WinExist("ahk_exe googledrivesync.exe")
{
WinActivate, Google Drive