Trending

Paste #1005
  1. #!/usr/bin/php
  2. <?php
  3. error_reporting(E_ERROR);
  4. $cfg = file_get_contents(dirname(__FILE__).'/authlib/authmysqlrc');
  5. $cfg = preg_replace('/^#.*$/m', '', $cfg);

Posted by GT at 09 May 2012, 13:25:15 CET
Language: php
Paste #1008
  1. Music
  2.  
  3. FRISKY | delysid - june 2012 - DAVI [Part 002]

Posted by gt at 22 Jun 2012, 00:01:30 CET
Language: text
Paste #1009
  1. public class AddressValidator implements Validator {
  2.         private boolean mustValidAddress;
  3.  
  4.         public AddressValidator( boolean mustValidAddress) {
  5.             this.mustValidAddress = mustValidAddress;

Posted by Anonymous at 05 Oct 2012, 18:51:28 CET
Language: java
Paste #1006
  1. CREATE TABLE `mail_fw` (
  2.   `mail` VARCHAR(128) NOT NULL,
  3.   `destination` VARCHAR(128) NOT NULL
  4. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Posted by GT at 09 May 2012, 13:27:07 CET
Language: sql
Paste #1007
  1. diff -ru a/kwin/qtcurveclient.cpp b/kwin/qtcurveclient.cpp
  2. --- a/kwin/qtcurveclient.cpp   2012-04-24 17:20:01.000000000 -0400
  3. +++ b/kwin/qtcurveclient.cpp     2012-06-09 23:52:15.049850728 -0400
  4. @@ -852,7 +852,7 @@
  5.      bool showIcon=TITLEBAR_ICON_NEXT_TO_TITLE==Handler()->wStyle()->pixelMetric((QStyle::PixelMetric)QtC_TitleBarIcon,  0L, 0L);

Posted by GT at 14 Jun 2012, 11:31:23 CET
Language: diff
multiling o settings
  1. OK_Settings_Begin
  2. __K.pp::false::B
  3. __PK.t9::false::B
  4. __K.ra0::0::I
  5. __K.ra1::0::I

Posted by gt at 29 Nov 2013, 12:52:59 CET
Language: text
citrix xen upgrade
  1. python /etc/xapi.d/plugins/prepare_host_upgrade.py <methodCall><methodName>main</methodName><params><param><value>OpaqueRef:0ce96c94-b112-7662-497c-23bb7b429699</value></param><param><value><struct><member><name>url</name><value>nfs://193.142.214.213:/var/local/xeniso/</value></member></struct></value></param></params></methodCall>

Posted by GT at 17 Dec 2013, 04:05:55 CET
Language: text
mysql: base64
  1. -- base64.sql - MySQL base64 encoding/decoding functions
  2. -- Copyright (C) 2006 Ian Gulliver
  3. --
  4. -- This program is free software; you can redistribute it and/or modify
  5. -- it under the terms of version 2 of the GNU General Public License as

Posted by GT at 29 Jan 2014, 19:32:03 CET
Language: text
wifi issue beanstalk 0315
  1. gt@xxxx ~ $ adb logcat|grep -i wifi
  2. - waiting for device -
  3. I/run-parts(  239): /system/etc/init.d/18wifisleep[14]: syntax error: 'fi' unexpected
  4. I/run-parts(  239): run-parts: /system/etc/init.d/18wifisleep exited with code 1
  5. I/AudioFlinger(  255): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 3

Posted by GT at 17 Mar 2014, 15:11:15 CET
Language: text
htmlfix regexp
  1.  (?!style|href|onMouseOver|\?>)([^= ]+)=("?)([^ \n>"]+)("?)
  2.  $1="$3"

Posted by GT at 21 Jul 2014, 15:20:19 CET
Language: text