My Recent Pastes (65 and counting)

Recent Pasties by dentarg (65 and counting)

Pages: 1 3 4 5

Below are summaries of the 15 most recent pasties by dentarg.

August 07, 2007
7:06AM EDT
by dentarg

1
2
3
4
5
require 'rubygems'
require 'hpricot'
require 'open-uri'
require 'net/http'
require 'uri'

May 13, 2007
4:34PM EDT
by dentarg

1
2
3
4
5
Antag att nod 7 har nodpris 17 och nod 12 har nodpris 21,
och att det inte finns någon båge mellan nod 7 och nod 21.
Vi vill införa en ny båge mellan nod 7 och nod 21 och vill
att det ska gå flöde i den i optimum.
Vad får denna båge högst kosta?

May 12, 2007
7:35AM EDT
by dentarg

1
2
3
4
5
$ crontab -l                                                     dentarg@phoo ~
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp//crontab.yFBdY21299 installed on Sat May 12 12:09:20 2007)
# (Cron version V5.0 -- $OpenBSD: crontab.c,v 1.49 2005/11/29 20:43:31 millert Exp $)
#

May 07, 2007
2:00PM EDT
by dentarg

1
2
3
4
5
p# ls -ahl daily.?
daily.0:
total 6
drwxr-xr-x  3 root  starkast   512B Mar 16 00:07 .
drwx------  4 root  starkast   512B Mar 14 15:38 ..

May 06, 2007
5:11AM EDT
by dentarg

1
2
3
4
5
$ sh single-rsync.sh ixtab.edu.isy.liu.se
Authorized uses only. All activity may be monitored and reported.
receiving file list ... done

sent 16 bytes  received 23420 bytes  5208.00 bytes/sec

April 26, 2007
4:53PM EDT
by dentarg

1
2
3
4
5
#!/bin/csh

set prefix=ad
        foreach disk (0 2 4 6 8 10)
        echo $prefix${disk}: `sudo smartctl -A /dev/$prefix${disk}|grep Temp|awk '{print $10}'`

April 26, 2007
1:36PM EDT
by dentarg

1
2
3
4
5
#!/bin/sh

# make sure remote machine has ~/.ssh/id_dsa.pub
# and ~/.ssh/config is right
#

April 26, 2007
12:40PM EDT
by dentarg

1
2
3
4
5
#!/bin/sh

# make sure remote machine has ~/.ssh/id_dsa.pub
# and ~/.ssh/config is right
#

April 26, 2007
12:40PM EDT
by dentarg

1
2
3
4
5
#!/bin/sh

# make sure remote machine has ~/.ssh/id_dsa.pub
# and ~/.ssh/config is right
#

April 23, 2007
4:36PM EDT
by dentarg

1
2
3
4
5
C:\Documents and Settings\patrik>nslookup torrentbytes.net
Server:  psyduck.lan.dentarg.net
Address:  192.168.1.1

Non-authoritative answer:

April 21, 2007
7:20AM EDT
by dentarg

1
2
3
4
5
# Skriver ut hjälptext
def print_help(big)
  puts "Usage: ruby #{$0} [-h] [-u file] [-f file]"
  puts "  -f file       assembles file, writes file.vhd and file.bin"
  puts "  -u file       writes microcode to binary data file"

April 21, 2007
7:17AM EDT
by dentarg

1
2
3
4
5
#   print("  ")
    i = 1
    INS.each do |x|
#     print x[0]
      if i == 10

April 18, 2007
2:07PM EDT
by dentarg

1
2
3
4
5
ssh_brute = "(max-src-conn-rate 4/40, overload <ssh-bruteforce> flush global)"

table <ssh-bruteforce> persist
table <ssh-goodies> { 192.168.1.0/24 }

April 09, 2007
6:05AM EDT
by dentarg

1
2
3
4
5
## mail 1

Hello, 
            I saw your advert and i'm really interested in buying your laptop, the price 12500,00 Kr is well okay for me. Please get back to me to finalise the transaction. Hope to read from you soonest. 
Thanks. 

April 04, 2007
5:45PM EDT
by dentarg

1
2
3
4
5
$ grep -A 6 "blog.tigermann.net by tigermann" /var/www/conf/vhosts.conf
# blog.tigermann.net by tigermann
<VirtualHost 192.168.201.4:80>
  ServerName blog.tigermann.net
  ServerAlias www.blog.tigermann.net

Next page