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
| # Filename: /etc/zsh/zshrc | |
| # Purpose: config file for zsh (z shell) | |
| # Authors: grml-team (grml.org), (c) Michael Prokop <[email protected]> | |
| # Bug-Reports: see http://grml.org/bugs/ | |
| # License: This file is licensed under the GPL v2. | |
| ################################################################################ | |
| # This file is sourced only for interactive shells. It | |
| # should contain commands to set up aliases, functions, | |
| # options, key bindings, etc. | |
| # |
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
| # CVE-2015-5889: issetugid() + rsh + libmalloc osx local root | |
| # tested on osx 10.9.5 / 10.10.5 | |
| # jul/2015 | |
| # by rebel | |
| import os,time,sys | |
| env = {} | |
| s = os.stat("/etc/sudoers").st_size |
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
| bindkey -s "^[Op" "0" | |
| bindkey -s "^[Ol" "." | |
| bindkey -s "^[OM" "^M" | |
| # 1 2 3 | |
| bindkey -s "^[Oq" "1" | |
| bindkey -s "^[Or" "2" | |
| bindkey -s "^[Os" "3" | |
| # 4 5 6 | |
| bindkey -s "^[Ot" "4" | |
| bindkey -s "^[Ou" "5" |
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
| export VISUAL=nano | |
| alias suy='sudo pacman -Suy' | |
| alias syu='sudo pacman -Syu' | |
| alias sta='sudo systemctl start' | |
| alias sto='sudo systemctl stop' | |
| alias stt='sudo systemctl status' | |
| alias rst='sudo systemctl restart' | |
| alias enb='sudo systemctl enable' |
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 python3 | |
| from io import BytesIO | |
| from subprocess import check_output | |
| import sys | |
| from PIL import Image, ImageDraw | |
| MAX_VALUE = 255 | |
| MIN_VALUE = 0 | |
| DESIRED_BRIGHTNESS = 128 |
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/python | |
| from selenium.common.exceptions import NoSuchElementException | |
| from selenium import webdriver | |
| from time import time | |
| class HKGoldenLMDeleter(object): | |
| hkg_url = "http://forum10.hkgolden.com/login.aspx?error=1" |
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
| function eventKeyboard(playerName, keyCode, down, xPlayerPosition, yPlayerPosition) | |
| if keyCode == 32 then | |
| playerShoot(playerName, false, xPlayerPosition, yPlayerPosition, tfm.get.room.playerList[playerName]["isFacingRight"]) | |
| elseif keyCode == 17 then | |
| playerShoot(playerName, true, xPlayerPosition, yPlayerPosition, tfm.get.room.playerList[playerName]["isFacingRight"]) | |
| end | |
| end | |
| function playerShoot(playerName, fast, xPlayerPosition, yPlayerPosition, isFacingRight) | |
| if fast then |
NewerOlder