This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//we changed this function so you can add a class 'ignore-link' to an element | |
//this way the click is registered, but not followed | |
function ns_onclick(i, b, c, h, j) { | |
var e = ""; | |
if (typeof ns_pixelUrl == "string") { | |
e = ns_pixelUrl.substring(0, ns_pixelUrl.indexOf("?") + 1) | |
} | |
e += c; | |
e += "&ns_type=" + h + "&ns_action=view"; | |
e += "&ns__t=" + (new Date()).getTime(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├── date-utils@1.2.14 | |
├─┬ githubot@0.4.1 | |
│ ├── async@0.2.9 | |
│ └── scoped-http-client@0.9.8 | |
├── gitio@1.0.1 | |
├─┬ hubot@2.6.3 | |
│ ├── coffee-script@1.6.3 | |
│ ├─┬ express@3.3.4 | |
│ │ ├── buffer-crc32@0.2.1 | |
│ │ ├─┬ commander@1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ socket: | |
{ _handle: | |
{ writeQueueSize: 0, | |
owner: [Circular], | |
onread: [Function: onread] }, | |
_pendingWriteReqs: 1, | |
_flags: 0, | |
_connectQueueSize: 0, | |
destroyed: false, | |
errorEmitted: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BOOL is_Object(const id b) | |
{ | |
if (b != nil) { | |
if (b->isa != (id)0x0) { | |
if (b->isa!= (id)0x7f) { | |
if (b->isa!= (id)0x7f7f7f7f) { | |
return YES; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Beware, that this is not for the faint of heart! | |
* No documentation is provided. New versions of <redacted> will not feature | |
* upgradescripts, this must be done by hand. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (C) 2021 Pascal de Vink (Tweakers.net) | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Tweakers.net old carrousel | |
// @namespace http://tweakers.net | |
// @include http://tweakers.net/ | |
// @include http://www.tweakers.net/ | |
// ==/UserScript== | |
var $; | |
(function(){ | |
if (typeof unsafeWindow.jQuery == 'undefined') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Configuration | |
{ | |
private static $connection; | |
/** | |
* @static | |
* @return array | |
*/ | |
public static function getConfig() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Put this in your ProjectConfiguration.class.php: | |
sfConfig::set('sf_log_date', date('Y-m-d')); | |
And in factories.yml: | |
prod: | |
logger: | |
class: sfAggregateLogger | |
param: | |
session_name: vvd_website | |
level: err |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: sfProjectDeployTask.class.php | |
=================================================================== | |
--- sfProjectDeployTask.class.php (revision 79869) | |
+++ sfProjectDeployTask.class.php (working copy) | |
@@ -35,6 +35,7 @@ | |
new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the deployment'), | |
new sfCommandOption('rsync-dir', null, sfCommandOption::PARAMETER_REQUIRED, 'The directory where to look for rsync*.txt files', 'config'), | |
new sfCommandOption('rsync-options', null, sfCommandOption::PARAMETER_OPTIONAL, 'To options to pass to the rsync executable', '-azC --force --delete --progress'), | |
+ new sfCommandOption('key-file', null, sfCommandOption::PARAMETER_OPTIONAL, 'Path to the key you want to use for the SSH connection (if not the standard key)'), | |
)); |