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
| user: | |
| someone: NOPE | |
| group: | |
| somegroup: YOU GUYS ALL SUCK | |
| #default: uncomment this to set a default message |
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
| =begin | |
| Script to upload screenshots one a press of a button | |
| warning: for this script you need the 'ruby-dbus' gem, also, this will most likely never work on Windows or OSX. Its written for linux after all. By default it utilizes KDE tools. i'll happily add more if requested. | |
| LICENSE: GPL | |
| =end | |
| CFGNAME = "#{Dir.home}/.uploadscreenshot.yml" | |
| require 'dbus' |
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
| jakimfett | (I do admit, the first time I plugged my Microsoft keyboard into my Mac which is running linux, I sorta expected *something* to esplode horribly) |
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
| def weechat_init | |
| Weechat.register('tinychat', 'Kilobyte', '1.0', 'GPL3', 'Adds small chat windows for channels. Intended mainly ad widget for small split screen windows', 'gtfo', '') | |
| Weechat.hook_command("tinychat", "manages tinychat windows", "[make] || [setmainwindow]", '', "make %(irc_channels)", "cmd_tinychat", '') | |
| Weechat.hook_print("", "", "", 0, "hook_print", "") | |
| Weechat::WEECHAT_RC_OK | |
| end | |
| def gtfo |
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 | |
| # Preparation: | |
| # create folder addbuildfiles. put your recources (like mcmod.info, images) here | |
| # create folder out. Heres your build output | |
| # create file VERSION. put version here. replace dots with spaces. This version number is 3 parts big (like 1 2 3 (which is 1.2.3), not 1 2 3 4 or 1 2) | |
| # done. | |
| MODNAME="<put your mod name here>" | |
| echo "Reading version file..." |
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
| /* | |
| Note that i am quite a groovy noob (this is pretty much my first project). So don't be harsh with me :) tell me what i can improve instead | |
| */ | |
| class Server { | |
| private ServerSocket server; | |
| String tarip; | |
| int tarport; | |
| def Server(int port, String tarip, int tarport) { |
NewerOlder