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/sh | |
# Based on https://raw.githubusercontent.com/aminb/usb-lock/master/onusbunplug.sh | |
getXuser() { | |
user=`pinky| grep -m1 ":$displaynum" | awk '{print $1}'` | |
if [ x"$user" != x"" ]; then | |
userhome=`getent passwd $user | cut -d: -f6` | |
export XAUTHORITY="$userhome/.Xauthority" | |
else |
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
# - baseURL statt "../" im href-Tag | |
# - Angabe eines Alt/Title-Tags für die Bilder | |
# -> Octopress-Aufruf {%fancybox IMGNAME TITLE ALT %} | |
module Jekyll | |
class Fancybox < Liquid::Tag | |
#@@baseURL = "http://gehaxelt.in" | |
def initialize(name, args, tokens) | |
super |
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
package in.gehaxelt.sqlinjection; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.Button; | |
import android.widget.EditText; | |
public class SQLInjectionActivity extends Activity implements OnClickListener { |
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
package in.gehaxelt.sqlinjection; | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.content.ContentValues; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; |
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
<!-- | |
Passwordgenerator written in Javascript by gehaxelt | |
www.gehaxelt.in | |
--> | |
<html> | |
<head> | |
</head> | |
<body> | |
<div id="passwordgenerator"> | |
<input type="checkbox" id="Big" ><label for="Caps">ABC</label><br /> |
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
%%% | |
%%% ejabberd configuration file | |
%%% | |
%%%' | |
%%% The parameters used in this configuration file are explained in more detail | |
%%% in the ejabberd Installation and Operation Guide. | |
%%% Please consult the Guide in case of doubts, it is included with | |
%%% your copy of ejabberd, and is also available online at | |
%%% http://www.process-one.net/en/ejabberd/docs/ |
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
{loglevel, 2}. %%!!Loglevel ändern auf 2 | |
{hosts, ["your-domain.de"]}. %%!!Domain hier eintragen | |
{listen, | |
[ | |
{5222, ejabberd_c2s, [ %%!!Port hier ändern, auf dem der Server erreichbar sein soll. | |
{certfile, "/home/benutzername/jabber/ejabberd/mycert.pem"}, starttls, %%!!Pfad zur mycert.pem | |
{access, c2s}, |