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
| #!/bin/bash | |
| mnthdd() { | |
| # The full mount-path is put together bei $MOUNTPATH and $DRIVES | |
| # In this example it would be /media/ + your parameter | |
| MOUNTPATH="/media/" | |
| # /etc/fstab | |
| ## hdd1 | |
| #/dev/mapper/hdd1 /media/hdd1 ext4 noauto,defaults 0 0 | |
| # |
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 | |
| import os | |
| from sys import argv | |
| import socket | |
| from random import randrange | |
| import urllib.parse | |
| yt_vid_add = {"jsonrpc": "2.0", "method": "Playlist.Add", "params": {"playlistid": 1, "item": {"file": "plugin://plugin.video.youtube/play/?video_id="}}} | |
| playlist_clear = {"jsonrpc": "2.0", "method": "Playlist.Clear", "params": {"playlistid": 1}} | |
| playlist_play = {"jsonrpc": "2.0", "method": "Player.Open", "params": {"item": {"playlistid": 1, "position": 0}}} |
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
| #!python | |
| import sys | |
| import requests | |
| from socket import gethostname | |
| from sys import argv | |
| link = 'https://api.telegram.org/bot' | |
| token = 'BotToken' |
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
| import hexchat | |
| __module_name__ = 'color ranks' | |
| __module_author__ = 'Yama' | |
| __module_version__ = '0.1' | |
| __module_description__ = 'Make user colors by rank' | |
| def mod_colors(word, word_eol, userdata): | |
| nickname = hexchat.strip(word[0], len(word[0]), 1) | |
| nickname += '\003' |
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
| #!/bin/bash | |
| freemem=`cat /proc/meminfo|grep 'MemF'| awk '{print int($2/1024)}'` | |
| totalmem=`cat /proc/meminfo|grep 'MemT'| awk '{print int($2/1024)}'` | |
| usedmem=`echo $totalmem-$freemem | bc` | |
| echo -e " | |
| \033[1;34mHi $USER!\033[0;37m | |
| \033[0;90m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| \033[0;90m+ \033[1;94mHostname....: \033[36m$(hostname) | |
| \033[0;90m+ \033[1;94mKernel......: \033[36m$(uname -r) |
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
| #!/bin/bash | |
| REPOFILE="glusterfs-3.7.list" | |
| SSHSERVER="ssh.server" | |
| SSHUSER="username" | |
| # Kopiere das Repo, damit es verwendet werden kann | |
| cp $REPOFILE /etc/apt/sources.list.d/ | |
| if [[ $? -eq 0 ]]; then | |
| # SSH-Tunnel über den user "tunnel" zum Login-Server, welcher im Hintergrund bleibt, |
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 OnEvent(event, arg) | |
| if (event == "PROFILE_ACTIVATED") then | |
| color() | |
| end | |
| end | |
| function color() | |
| r1 = 0 | |
| g1 = 0 | |
| b1 = 0 |
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 | |
| ######################################################################################### | |
| # # | |
| '''A.T.S.P. Short-URL Controller''' # | |
| # # | |
| ######################################################################################### | |
| import cymysql | |
| from flask import Flask, redirect | |
| app = Flask(__name__) |
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 | |
| import os | |
| import sys | |
| import socket | |
| import time | |
| from PIL import Image | |
| from lglcd import LogitechLcd | |
| from threading import Thread | |
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
| ;--------------------------------------------------- - - - - | |
| ;| Yama Control Highlight © 14.09.2008 | |
| ;--------------------------------------------------- - - - - | |
| ;| Version: 3.5 | |
| ;| mIRC: v6.3 | |
| ;| Script-Planung: Yama | |
| ;| Script-Mod: Chialya | |
| ;--------------------------------------------------- - - - - | |
| ;| Beschreibung: Markiert die Zeile und spielt Ai.mp3 ab, | |
| ;| sobald die Nicks gerufen werden. |