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
l=92.chr;eval s="s=s.dump[r=1..-2].gsub(/("+l*4+"){4,}(?!\")/){|t|'\"+l*%d+\"'%(t.size/2)};5.times{s=s.dump[r]};puts\"# python\\nprint(\\\"# perl\\\\nprint(\\\\\\\"# lua"+l*4+"nprint("+l*7+"\"(* ocaml *)"+l*8+"nprint_endline"+l*15+"\"-- haskell"+l*16+"nimport Data.List;import Data.Bits;import Data.Char;main=putStrLn("+l*31+"\"/* C */"+l*32+"n#include<stdio.h>"+l*32+"nint main(void){char*s[501]={"+l*31+"\"++intercalate"+l*31+"\","+l*31+"\"(c(tail(init(show("+l*31+"\"/* Java */"+l*32+"npublic class QuineRelay{public static void main(String[]a){String[]s={"+l*31+"\"++intercalate"+l*31+"\","+l*31+"\"(c("+l*31+"\"brainfuck"+l*64+"n++++++++[>++++<-]+++++++++>>++++++++++"+l*31+"\"++(concat(snd(mapAccumL h 2("+l*31+"\"110"+l*31+"\"++g(length s)++"+l*31+"\"22111211100111112021111102011112120012"+l*31+"\"++concatMap("+l*32+"c->let d=ord c in if d<11then"+l*31+"\"21002"+l*31+"\"else"+l*31+"\"111"+l*31+"\"++g d++"+l*31+"\"22102"+l*31+"\")s++"+l*31+"\"21002111010120211222211211101000120211021120221102111000110120211202"+l |
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
I/ActivityManager( 1069): Starting activity: Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=statusnet://oauth?oauth_token=[removed1]&oauth_verifier=[removed2] cmp=org.mustard.android/.activity.OAuthCallback } | |
I/ActivityManager( 1069): Start proc org.mustard.android for activity org.mustard.android/.activity.OAuthCallback: pid=10123 uid=10076 gids={3003, 1015} | |
I/ActivityManager( 1069): Start proc com.facebook.katana for service com.facebook.katana/.service.FacebookService: pid=10126 uid=10054 gids={3003, 1015} | |
W/dalvikvm( 1069): disableGcForExternalAlloc: false | |
I/ActivityThread(10126): Publishing provider com.facebook.katana.provider.LoggingProvider: com.facebook.katana.provider.LoggingProvider | |
I/ActivityThread(10126): Publishing provider com.facebook.katana.provider.KeyValueProvider: com.facebook.katana.provider.KeyValueProvider | |
I/ActivityThread(10126): Publishing provider com.facebook.katana.provider.MailboxProvider: com.facebook.katana.provider.MailboxProvider | |
I/Activit |
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
--------------------------------------------------- | |
Target: rechtsOben | |
{ | |
(lang,null,null,null,null,vorFans,nein,null); | |
(kurz,vonRechts,null,ja,null,null,null,null); | |
(null,null,ja,null,Auswärts,null,null,null); | |
(kurz,vonLinks,nein,ja,null,null,null,null); | |
(lang,mitte,null,null,Heimspiel,null,null,null); | |
(mittel,vonLinks,null,null,null,vorGeger,null,null); | |
(null,vonRechts,null,ja,null,null,null,null)} |
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
--------------------------------------------------- | |
Target: "Buch_C" | |
{ | |
(null,"m",null,null,null,null,"3000-3999",null); | |
("25-35",null,null,null,"Realschule",null,null,null); | |
(null,null,null,null,"Hochschule",null,null,null); | |
("36-49",null,null,null,"Gymnasium",null,null,null); | |
(null,null,null,null,"Promotion",null,null,null); | |
("36-49",null,null,null,"Realschule",null,null,null); | |
(null,null,null,null,null,null,"5000 und mehr",null); |
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
# 1. Text | |
# 2. variableName | |
# 3. additonal parameters for read | |
function askVariable() { | |
askText="$1" | |
varName="$2" | |
eval default="\$$varName" | |
bashVersionMajor=$(echo ${BASH_VERSION:-3.0.0} | cut -d "." -f1) | |
if [ "$bashVersionMajor" -ge "4" ]; then |
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/bash | |
exec /usr/bin/okular "${@//thesis\//thesis/./}" |
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/bash | |
# 1. Text | |
# 2. variableName | |
# 3. additonal parameters for read | |
function ask_variable() { | |
askText="$1" | |
varName="$2" | |
eval default="\$$varName" | |
bashVersionMajor=$(echo ${BASH_VERSION:-3.0.0} | cut -d "." -f1) |
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
SELECT 'drop ' ||object_type || ' '|| owner||'.' || object_name || ';' | |
FROM dba_objects | |
WHERE owner in ('USER1', 'USER2') | |
AND object_type not in ( 'PACKAGE BODY', 'INDEX', 'TABLE', 'TRIGGER', 'UNDEFINED') | |
UNION | |
SELECT 'drop ' || object_type || ' ' || owner||'.'||object_name || ' cascade constraints;' | |
FROM dba_objects | |
WHERE owner in ('USER1', 'USER2') | |
AND object_type = 'TABLE'; |
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/bash | |
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )" | |
WORKDIR="$SCRIPTDIR/files" | |
TARURL="https://download.jetbrains.com/cpp/clion-1.2.tar.gz" | |
HASHURL="${TARURL}.sha256" | |
TARPATH="$WORKDIR/clion.tar.gz" | |
EXTRACTDIR="$WORKDIR" | |
if [ ! -d "$WORKDIR" ]; then | |
rm "$WORKDIR" |
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
cp /etc/xdg/autostart/gnome-keyring-ssh.desktop ~/.config/autostart | |
echo 'X-GNOME-Autostart-enabled=false' >> ~/.config/autostart/gnome-keyring-ssh.desktop | |
echo Now run OpenSSH ssh-agent using systemd https://wiki.archlinux.org/index.php/SSH_keys#Start_ssh-agent_with_systemd_user |
OlderNewer