New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • sini's screenrc

    1240833·text·1.4 KB·2008-10-30 18:31 UTC
    # Easier than remembering to always run from non-X
    unsetenv DISPLAY
    # Likewise, for charset
    setenv LC_CTYPE en_US.UTF-8
    
    #escape ``
    altscreen on
    
    termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]
  • root

    1240832·text·33.3 KB·2008-10-30 18:31 UTC
    
        
  • sini's zshrc

    1240830·bash·5.6 KB·2008-10-30 18:30 UTC
    ########################################################### 
    # Options for zsh
    export PATH="/home/sini/.cw/def:$PATH"
    export CW_COLORIZE=grey 
    export HISTFILE=~/.zsh_history
    export HISTSIZ
  • root

    1240828·text·589 B·2008-10-30 18:29 UTC
    major minor #blocks name
    
     8 0 488386584 sda
     8 1 488385528 sda1
     8 16 58615704 sdb
     8 17 1 sdb1
     8 19 38788942 sdb3
     8 21 19824147 sdb5
     8 32
  • Etwas

    1240826·bash·4.8 KB·2008-10-30 18:28 UTC
    #!/bin/bash
    
    # $Id: get-iana.sh,v 1.12 2008/03/17 22:08:43 ktsaou Exp $
    #
    # $Log: get-iana.sh,v $
    # Revision 1.12 2008/03/17 22:08:43 ktsaou
    # Updated for latest IANA reservations format.
    #
  • Someone

    1240794·text·223.3 KB·2008-10-30 17:43 UTC
    
        
  • Samir

    1240788·c·810 B·2008-10-30 17:38 UTC
    #include <stdio.h>
    int main () {
     float salario, imposto;
     printf(".:: Digite o valor do seu salario ::.\n");
     scanf("%f", &salario);
     
     /*Cálculo do valor do imposto*/
     if
  • BBVehicle1.java

    1240757·java·734 B·2008-10-30 17:14 UTC
    import lejos.nxt.*;
    
    public class BBVehicle1
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensor = new RCXLightSensor(SensorPort.S3);
     MotorPort[] mo
  • BBVehicle2a.java

    1240754·java·1023 B·2008-10-30 17:12 UTC
    import lejos.nxt.*;
    
    public class BBVehicle2a
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensorA = new RCXLightSensor(SensorPort.S3);
     RCXLightSens
  • SensorActuatorConnection.java

    1240752·java·1.7 KB·2008-10-30 17:12 UTC
    import lejos.nxt.*;
    import lejos.util.*;
    
    public class SensorActuatorConnection extends Thread implements TimerListener
    {
     private RCXLightSensor m_sensorInterface = null;
     private MotorPort[] m
  • BBVehicle2b.java

    1240751·java·1023 B·2008-10-30 17:11 UTC
    import lejos.nxt.*;
    
    public class BBVehicle2b
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensorA = new RCXLightSensor(SensorPort.S3);
     RCXLightSens
  • BBVehicle2a.java

    1240721·java·1023 B·2008-10-30 16:31 UTC
    import lejos.nxt.*;
    
    public class BBVehicle2a
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensorA = new RCXLightSensor(SensorPort.S3);
     RCXLightSens
  • SensorActuatorConnection.java

    1240714·java·1.8 KB·2008-10-30 16:28 UTC
    import lejos.nxt.*;
    import lejos.util.*;
    
    public class SensorActuatorConnection extends Thread implements TimerListener
    {
     private RCXLightSensor m_sensorInterface = null;
     private MotorPort[] m
  • BBVehicle1.java

    1240713·java·734 B·2008-10-30 16:27 UTC
    import lejos.nxt.*;
    
    public class BBVehicle1
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensor = new RCXLightSensor(SensorPort.S3);
     MotorPort[] mo
  • BBVehicle1.java

    1240694·java·728 B·2008-10-30 16:07 UTC
    import lejos.nxt.*;
    
    public class BBVehicle1
    {
     public static void main (String[] aArg)
     throws Exception
     {
     RCXLightSensor lightSensor = new RCXLightSensor(SensorPort.S3);
     MotorPort[] mo
  • SensorActuatorConnection.java

    1240691·java·1.7 KB·2008-10-30 15:58 UTC
    import lejos.nxt.*;
    import lejos.util.*;
    
    public class SensorActuatorConnection extends Thread implements TimerListener
    {
     private RCXLightSensor m_sensorInterface = null;
     private MotorPort[] m
  • crc generator for multi eps of a

    1240684·perl·1017 B·2008-10-30 15:51 UTC
    use strict;
    use String::CRC32;
    use Getopt::Std;
    use File::Basename;
    
    my %opt;
    getopt('d:s:e:r:', \%opt);
    unless (defined $opt{'d'} and defined $opt{'s'} and defined $opt{'e'}) {
     print "Usage
  • phm

    1240647·text·13.9 KB·2008-10-30 15:19 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Tue Oct 28 20:12:57 CET 2008
    
    !!Linux Distribution
    !!------------------
    
    Fe
  • Mine

    1240641·text·20.6 KB·2008-10-30 15:14 UTC
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/01base................# Test loading DBI, DBD::Oracle and version
    
    # Failed test
  • br

    1240589·text·26.4 KB·2008-10-30 13:57 UTC
    tsalsa version 2008-09-14 Thu Oct 30 22:57:12 JST 2008 
    
    Problem: Can only get sound via speakers not via headset. Muting unmuting in the alsamixer doens't work either. 
    
     Laptop: sony vaio z70

older pastes →