My Recent Pastes (31 and counting)

Pastes by jp_tix (31 and counting)

Below are the 15 most recent pasties by jp_tix.

June 30, 2007
12:07PM EDT
by jp_tix

#!/bin/sh
#
# $FreeBSD: ports/www/lighttpd/files/lighttpd.sh.in,v 1.4 2007/03/26 03:31:58 mnag Exp $
#
# PROVIDE: lighttpd

June 27, 2007
10:48PM EDT
by jp_tix

[user]
        name = mittnavn
        email = navn@domene.com

June 26, 2007
10:17PM EDT
by jp_tix

#
# Web services plugin. Google and more.
#

require 'net/http'

June 22, 2007
1:32PM EDT
by jp_tix

{
    addressBook = (
        {
            checkbox = 0; 
            name = someName; 

June 21, 2007
11:44AM EDT
by jp_tix

servers = (
  {
    address = "EFNet";
    port = "6667";
    use_ssl = "no";

June 20, 2007
6:49PM EDT
by jp_tix

#!/usr/bin/env ruby

require "serialport.so"
require "socket"

June 20, 2007
6:35PM EDT
by jp_tix

0001960: 5320 3d20 534d 5343 6f6e 7472 6f6c 6c65  S = SMSControlle
0001970: 722e 6e65 7728 222f 6465 762f 6375 2e58  r.new("/dev/cu.X
0001980: 5858 5858 5858 2d53 6572 6961 6c50 6f72  XXXXXX-SerialPor
0001990: 742d 3122 2c22 3437 5858 5858 5858 5858  t-1","47XXXXXXXX
00019a0: 222c 2274 6573 7420 6176 20c3 a620 c3b8  ","test av .. ..

June 20, 2007
6:05PM EDT
by jp_tix

~/dev> ruby sms_latin.rb
sms_latin.rb:196:in `ascii2bin7bit': Error, unknown char: t (RuntimeError)
        from sms_latin.rb:192:in `each'
        from sms_latin.rb:192:in `ascii2bin7bit'
        from sms_latin.rb:255:in `createSMS'

June 20, 2007
6:02PM EDT
by jp_tix

#!/usr/bin/env ruby

require "serialport.so"
require "socket"

June 20, 2007
5:05PM EDT
by jp_tix

@@t_bin =  
  {
  "0000" => "0", 
  '0001' => '1', 
  '0010' => '2',

June 18, 2007
8:47PM EDT
by jp_tix

00339b0: 3231 3a33 3420 3c20 6469 626f 6e3e 204b  21:34 < dibon> K
00339c0: 6a61 7070 6572 6520 6f67 206c 6574 7465  jappere og lette
00339d0: 7265 20e5 2067 6af8 7265 2064 6574 2073  re . gj.re det s
00339e0: 656c 7620 3a70 0a32 313a 3335 203c 206a  elv :p.21:35 < j

May 27, 2007
3:14PM EDT
by jp_tix

## code


#!/usr/bin/env ruby

May 11, 2007
9:40PM EDT
by jp_tix

puts 'What is your favorite number?'
number = gets.chomp
puts "Your favorite number is: #{number}, But #{number.to_i + 1} is one number greater than yours."

May 07, 2007
3:03PM EDT
by jp_tix

{ LC_CTYPE = "en_US.UTF-8"; }
{ PATH = "/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/sw/bin"; }


gives

March 07, 2007
5:47AM EDT
by jp_tix

#!/usr/bin/env ruby
#

line = "22 Van Bang (Lo Co Mon) 4-1\n"

Next page

Previous page