Search This Blog

Thursday 30 August 2012

My new chicken marinade

Hang onto your socks; this will blow them off!   Better still, attach a spool of fishing wire to each sock so that, after they've been blown off, you can find them again.

Finely grate an onion and collect all the paste and juice in a dish
Add a splat of sweet chili sauce
And a splat of dark soy sauce
A sprinkle of chicken powder or salt
A good dose of spices (I used a premixed Sambal powder)
A little bit of vegetable oil to make sure the chicken grills, not burns.

Marinade your chicken pieces in the mix

Grill your chicken pieces...

Accept the adulation.

__________________________________________________________________________

Better still...

finely chop half a scotch bonnet and pound with garlic and salt in a mortar
add some hot banana sauce
a grated onion and its juice
some oil
a little corn flour mixed with a teaspoon of water
a glug of dark soy
a sprinkle of chicken powder
a little honey

This makes a hot, sticky meat with an intense savour 


Saturday 18 August 2012

2740p input devices, part 2

matt@MES-2740p:~$ sudo lsinput
/dev/input/event0
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x3
   version : 0
   name    : "Sleep Button"
   phys    : "PNP0C0E/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event1
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x5
   version : 0
   name    : "Lid Switch"
   phys    : "PNP0C0D/button/input0"
   bits ev : EV_SYN EV_SW

/dev/input/event2
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x1
   version : 0
   name    : "Power Button"
   phys    : "LNXPWRBN/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event3
   bustype : BUS_I8042
   vendor  : 0x1
   product : 0x1
   version : 43841
   name    : "AT Translated Set 2 keyboard"
   phys    : "isa0060/serio0/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

/dev/input/event4
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "ST LIS3LV02DL Accelerometer"
   phys    : "lis3lv02d/input0"
   bits ev : EV_SYN EV_ABS

/dev/input/event5
   bustype : BUS_USB
   vendor  : 0x4f2
   product : 0xb183
   version : 34133
   name    : "HP Webcam [2 MP Macro]"
   phys    : "usb-0000:00:1a.0-1.5/button"
   bits ev : EV_SYN EV_KEY

/dev/input/event6
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HP WMI hotkeys"
   phys    : "wmi/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_SW

/dev/input/event7
   bustype : BUS_I8042
   vendor  : 0x2
   product : 0x1
   version : 0
   name    : "PS/2 Generic Mouse"
   phys    : "isa0060/serio1/input0"
   bits ev : EV_SYN EV_KEY EV_REL

/dev/input/event8
   bustype : BUS_I8042
   vendor  : 0x2
   product : 0x7
   version : 433
   name    : "SynPS/2 Synaptics TouchPad"
   phys    : "isa0060/serio4/input0"
   bits ev : EV_SYN EV_KEY EV_ABS

/dev/input/event9
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x6
   version : 0
   name    : "Video Bus"
   phys    : "LNXVIDEO/video/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event10
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel HDMI/DP,pcm=3"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event11
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel Line"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event12
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel Mic"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event13
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel Headphone"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event14
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel Dock Headphone"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

Random white noise on linux laptop

Random white noise on linux laptop

Now that /dev/dsp and /dev/audio are no longer available ... and oss-compatability package isn't working for me...

pacat /dev/urandom > padsp


Saturday 4 August 2012

2740p input devices

matt@MES-2740p:~$ xinput
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          id=11    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=12    [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet stylus                  id=13    [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet eraser                  id=15    [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet touch                   id=16    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ HP Webcam [2 MP Macro]                      id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=10    [slave  keyboard (3)]
    ↳ HP WMI hotkeys                              id=14    [slave  keyboard (3)]




Friday 3 August 2012

Formatting a USB flash drive as ext3

assuming the device is sdd1 
 
umount /dev/sdd1
 
mkfs.ext3 /dev/sdd1
 
sudo e2label /dev/sdd1  MyLabelForThisMemoryStick