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
| cmake -DPYTHON_LIBRARY=${HOME}/.pyenv/versions/3.8.0/lib/libpython3.8.a -DPYTHON_INCLUDE_DIR=${HOME}/.pyenv/versions/3.8.0/include/python3.8/ cern_root/ |
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/bash | |
| lpstat -p|grep ^printer|awk '{print $2}'|sed -s 's/inconnue//g'>printers.txt | |
| cat printers.txt | xargs -L1 lpadmin -x |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # docker format terminal the right way | |
| # use it like this | |
| # goinside ${CONTAINER_ID} | |
| goinside(){ | |
| docker exec -it $1 bash -c "stty cols $COLUMNS rows $LINES && bash"; | |
| } | |
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 python | |
| """ | |
| Get a github API token using your account | |
| Then input the name of your org, don't forget '/' at the end. | |
| """ | |
| GH_TOKEN = "XXX" | |
| GH_ORG = "your_org/" |
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 logging import Handler, getLevelName | |
| import sys | |
| class DumbHandler(Handler): | |
| def __init__(self): | |
| Handler.__init__(self) | |
| def flush(self): |
NewerOlder