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 | |
eix-sync | |
emerge --update --deep --changed-use --newuse --with-bdeps=y @world --ask | |
emerge @preserved-rebuild | |
emerge --depclean --ask | |
revdep-rebuild | |
revdep-rebuild.sh -u --pretend | |
glsa-check --test all |
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
<?xml version="1.0"?> | |
<ThermalConfiguration> | |
<Platform> | |
<Name>Intel Powered Laptop</Name> | |
<ProductName>*</ProductName> | |
<Preference>QUIET</Preference> | |
<ThermalZones> | |
<ThermalZone> | |
<Type>cpu</Type> | |
<TripPoints> |
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
========== | |
VULKANINFO | |
========== | |
Vulkan Instance Version: 1.1.92 | |
Instance Extensions: | |
==================== |
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
{ | |
"environment": { | |
"architecture": "x86_64", | |
"comment": "", | |
"name": "gentoo", | |
"reportversion": "1.9", | |
"submitter": "", | |
"version": "unknown" | |
}, | |
"extended": { |
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 | |
#search recursive and syntax check | |
find . -type f -name '*.php' -not -path "./vendor/*" -exec php -l {} \; |
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 | |
# cat all access log | |
# take the url without query params (?param=value) | |
# group count and sort | |
zcat ssl_access.log.*.gz | cut -d'"' -f2 | cut -d' ' -f2 | cut -d'?' -f1 | sort | uniq -c | sort -g |
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 | |
#pulls all docker images you have locally | |
docker images | tr -s ' ' | cut -d " " -f 1,2 | tr ' ' ':' | tail -n +2 | grep -v none | xargs -L1 docker pull |
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 | |
# Please give credit to: https://gist.github.com/matthewmccullough/988077 | |
# and to: https://gist.github.com/matthewmccullough/988077#gistcomment-2928496 | |
# Go there and give a star there and not here. | |
# This is only a copy and paste for personal purposes | |
gitk --all $(git reflog --format=format:%h) |
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 | |
# Originally written by Ralf Kistner <ralf@embarkmobile.com>, but placed in the public domain | |
set +e | |
bootanim="" | |
failcounter=0 | |
timeout_in_sec=360 |
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 | |
# sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean | |
apt-get update | |
apt-get dist-upgrade | |
apt-get autoremove | |
apt-get autoclean | |
apt-get clean |
OlderNewer