Last active
June 6, 2021 06:13
-
-
Save j5ndev/855655d87d6a066f44b73c93ca34f652 to your computer and use it in GitHub Desktop.
Revisions
-
j5ndev revised this gist
Jun 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,7 @@ clone(){ # man at: https://linux.die.net/man/1/at # Copy master password for 1password and clear clipboard after 2 minutes MP_PATH='<path-to-file>' # chmod 660 alias cpmp="sudo cat ${MP_PATH} | pbcopy && echo -n 'echo -n | DISPLAY=:0 xclip -selection clipboard && notify-send Clipboard Cleared' | at now + 2 minute && exit" # man tmux: https://linux.die.net/man/1/tmux -
j5ndev revised this gist
Jun 6, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,11 @@ clone(){ eval "$(/usr/local/bin/gittk -bash clone $@)" } # man at: https://linux.die.net/man/1/at # Copy master password for 1password and clear clipboard after 2 minutes MP_PATH='<path-to-file-owned-solely-by-root>' alias cpmp="sudo cat ${MP_PATH} | pbcopy && echo -n 'echo -n | DISPLAY=:0 xclip -selection clipboard && notify-send Clipboard Cleared' | at now + 2 minute && exit" # man tmux: https://linux.die.net/man/1/tmux if [ -z "$TMUX" ]; then exec tmux -
j5ndev revised this gist
Jun 6, 2021 . 1 changed file with 17 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,3 +6,20 @@ alias thermal-quiet="cctk --ThermalManagement=Quiet" alias thermal-optimized="cctk --ThermalManagement=Optimized" alias thermal-performance="cctk --ThermalManagement=UltraPerformance" alias thermal-status="cctk --ThermalManagement" # man xclip: https://linux.die.net/man/1/xclip # Aliases for copy/paste to/from the clipboard alias pbcopy='xclip -selection clipboard' alias pbpaste='xclip -selection clipboard -o' # Install gittk: https://github.com/j5ndev/gittk # Standardize git clone of repositories clone(){ eval "$(/usr/local/bin/gittk -bash clone $@)" } # man tmux: https://linux.die.net/man/1/tmux if [ -z "$TMUX" ]; then exec tmux fi -
j5ndev created this gist
May 27, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Dell Command Configure Toolkit (cctk) # Install: https://www.dell.com/support/kbdoc/en-us/000178000/dell-command-configure # Reference: https://www.dell.com/support/manuals/en-us/command-configure/dellcommandconfigure_rg/-thermalmanagement?guid=guid-7605768c-2051-4f32-9ec9-94201b95b8ac&lang=en-us alias cctk="sudo /opt/dell/dcc/cctk" alias thermal-quiet="cctk --ThermalManagement=Quiet" alias thermal-optimized="cctk --ThermalManagement=Optimized" alias thermal-performance="cctk --ThermalManagement=UltraPerformance" alias thermal-status="cctk --ThermalManagement"