gnome-core xorg
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
**/*.sublime-workspace | |
**/*.acn | |
**/*.acr | |
**/*.alg | |
**/*.aux | |
**/*.bbl | |
**/*.bcf | |
**/*.blg | |
**/*.brf | |
**/*.dvi |
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 | |
i=1 | |
while [ $i -le 25 ]; do | |
x=$( printf %02d $i ) | |
printf "x%s: " "${x}" | |
ssh '-o ConnectTimeout=3' "x$x.informatik.uni-bremen.de" "printf \"%s loadavg: %s\\n\" \"\$( who | grep -v '(unknown)' | wc -l)\" \"\$(cat /proc/loadavg)\"" | |
i=$(( i + 1 )) | |
done |
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 | |
TMP=$( mktemp ) | |
echo "$( gsettings 'get' 'org.gnome.desktop.wm.preferences' 'workspace-names' )" > $TMP | |
editor $TMP | |
gsettings 'set' 'org.gnome.desktop.wm.preferences' 'workspace-names' "$( cat $TMP )" |
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 | |
# replace _mac_ with a mac adress of an always on network device, like a router | |
if [ $( /usr/sbin/arp -a | grep -c '_mac_' ) -eq 1 ]; then | |
cat /etc/hosts.homenetwork > /etc/hosts | |
else | |
cat /etc/hosts.publicnetwork > /etc/hosts | |
fi | |
cat /etc/hosts.default >> /etc/hosts |
This is a dummy program and was developed to find a way to get encrypted communication between a server written in PHP and a client written in Node.js. It is far from being optimal and is more like a prove of concept.
To use it you need to create a openssl (private-public) key-pair.
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
Show hidden characters
{ | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, | |
"forin": true, | |
"freeze": true, | |
"immed": true, | |
"indent": 2, | |
"latedef": true, | |
"newcap": true, |
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
<!DOCTYPE html> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script src="jquery-linedtextarea.js"></script> | |
<script> | |
jQuery( function( $ ) { | |
function send() { | |
$( "#url" ).prop( "disabled", true ); | |
$( "#send" ).prop( "disabled", true ); | |
$( "#request" ).prop( "disabled", true ); | |
$.ajax( { |
MIT License | Apache License 2.0 | GNU General Public License v3.0 | |
---|---|---|---|
Disclose Source | Required | ||
License and copyright notice | Required | Required | Required |
State Changes | Required | Required | |
Commercial Use | Permitted | Permitted | Permitted |
Distribution | Permitted | Permitted | Permitted |
Modification | Permitted | Permitted | Permitted |
Patent Grant | Permitted | Permitted | |
Private Use | Permitted | Permitted | Permitted |
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 hacked.puzzles.story.cyber_attack.match; | |
import java.util.ArrayList; | |
public enum Bracket { | |
CLOSE { | |
@Override | |
public String toString() { | |
return ")"; | |
} |
OlderNewer