Skip to content

Instantly share code, notes, and snippets.

Kiril Angov komapa

Block or report user

Report or block komapa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3724849
<?php
$this->getUser()->setFlash('alert', array(
'close' => true,
'title' => '',
'text' => '',
'buttons' => array(
array('class' => 'btw-primary', 'route' => '@mycq_collections', 'text' => 'View Collections'),
array('route' => 'close', 'text' => 'No, thanks!')
)
View gist:2361128
[nodejs-stable]
name=Stable releases of Node.js
#baseurl=http://nodejs.tchol.org/stable/el$releasever/$basearch/
mirrorlist=http://nodejs.tchol.org/mirrors/nodejs-stable-el$releasever
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nodejs-stable-el-$releasever
[nodejs-stable-source]
@komapa
komapa / exception.diff
Created May 30, 2011
Propel runtime phpDoc optimisations - exception/
View exception.diff
Index: exception/PropelException.php
===================================================================
--- exception/PropelException.php (revision 2294)
+++ exception/PropelException.php (working copy)
@@ -16,11 +16,20 @@
*/
class PropelException extends Exception
{
- /** The nested "cause" exception. */
+ /**
@komapa
komapa / logger.diff
Created May 30, 2011
phpDoc fixes in the logger/ folder
View logger.diff
Index: logger/BasicLogger.php
===================================================================
--- logger/BasicLogger.php (revision 2294)
+++ logger/BasicLogger.php (working copy)
@@ -27,65 +27,56 @@
/**
* A convenience function for logging an alert event.
*
- * @param mixed $message String or Exception object containing the message
- * to log.
@komapa
komapa / connection.diff
Created May 29, 2011
Propel runtime phpDoc optimisations - connection/
View connection.diff
Index: connection/DebugPDO.php
===================================================================
--- connection/DebugPDO.php (revision 2294)
+++ connection/DebugPDO.php (working copy)
@@ -13,90 +13,90 @@
*
* This class is ONLY intended for development use. This class is also a work in-progress
* and, as such, it should be expected that this class' API may change.
- *
+ *
@komapa
komapa / config.diff
Created May 29, 2011
Propel runtime phpDoc optimisations - config/
View config.diff
Index: config/PropelConfiguration.php
===================================================================
--- config/PropelConfiguration.php (revision 2294)
+++ config/PropelConfiguration.php (working copy)
@@ -16,7 +16,7 @@
* configuration can also be retrieved as a nested arrays, flat array or as a
* PropelConfiguration instance.
*
- * @author Veikko Mäkinen <veikko@veikko.fi>
+ * @author Veikko Mäkinen <veikko@veikko.fi>
@komapa
komapa / gist:990620
Created May 25, 2011
Propel phpDoc sample
View gist:990620
<?php
/**
* Explanation of the method
*
* @see Object::method()
*
* @param Criteria $c Some object parameter
* @param array $arr Some array parameter
* @param boolean $bool Some boolean parameter
@komapa
komapa / gist:989754
Created May 24, 2011
Propel 1.6 phpDoc fixes
View gist:989754
Index: propel/connection/DebugPDO.php
===================================================================
--- propel/connection/DebugPDO.php (revision 2294)
+++ propel/connection/DebugPDO.php (working copy)
@@ -13,90 +13,90 @@
*
* This class is ONLY intended for development use. This class is also a work in-progress
* and, as such, it should be expected that this class' API may change.
- *
+ *
View bezplatno_import.csv
id category_id type title content price price_currency price_type contact_name contact_type contact_email contact_phone contact_phone_additional contact_fax contact_address city_id region_id website skype image_1 image_2 image_3 image_4 image_5 image_6 enable_comments enable_votes expiry password status
12345 43 S Продавам Hynix 512MB PC2-4200S SODIMM laptop memory Продава се лаптоп памет Hynix 512MB PC2-4200S SODIMM. Напълно работеща и тествана. Един модул HYMP564S64BP6-C4, PC2-4200S-444-12 10.00 BGN Cash Иван Иванов Private ivan@example.org 0895999999 0896999999 02954999999 22 22 http://www.sample.org sample http://www.sample.org/images/image_01.jpg http://www.sample.org/images/image_02.jpg http://www.sample.org/images/image_03.jpg Y Y 16.04.2012 123456abcdef A
View bezplatno_import.xml
<?xml version="1.0" encoding="UTF-8"?>
<listings>
<listing>
<id>12345</id>
<category_id>43</category_id>
<type>S</type>
<title><![CDATA[Продавам Hynix 512MB PC2-4200S SODIMM laptop memory]]></title>
<content><![CDATA[Продава се лаптоп памет Hynix 512MB PC2-4200S SODIMM. Напълно работеща и тествана. Един модул HYMP564S64BP6-C4, PC2-4200S-444-12]]></content>
<price>10.00</price>
<price_currency>BGN</price_currency>
You can’t perform that action at this time.