Skip to content

Instantly share code, notes, and snippets.

View arnested's full-sized avatar

Arne Jørgensen arnested

View GitHub Profile
@arnested
arnested / php.patch
Created June 1, 2012 09:49
libparser/php.c generated by flex 2.5.35
--- a/libparser/php.c 2012-05-30 11:30:15.000000000 +0200
+++ b/libparser/php.c 2012-06-01 11:41:58.000000000 +0200
@@ -1,8 +1,13 @@
+#line 2 "libparser/php.c"
+
+#line 4 "libparser/php.c"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
@arnested
arnested / php.patch
Created May 31, 2012 18:21
libparser/php.c patch - increase YY_BUF_SIZE
--- a/libparser/php.c 2012-01-21 06:15:14.000000000 +0100
+++ b/libparser/php.c 2012-05-31 20:20:04.000000000 +0200
@@ -113,7 +113,7 @@
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
-#define YY_BUF_SIZE 16384
+#define YY_BUF_SIZE 65536
typedef struct yy_buffer_state *YY_BUFFER_STATE;
@arnested
arnested / ctools-page_manager_load_task_handlers_alter.patch
Created March 15, 2012 15:25
drupal_alter in page_manager_load_task_handlers()
diff --git page_manager/page_manager.module page_manager/page_manager.module
index 7b606af..4200315 100644
--- page_manager/page_manager.module
+++ page_manager/page_manager.module
@@ -530,6 +530,9 @@ function page_manager_load_task_handlers($task, $subtask_id = NULL, $default_han
}
}
+ // Let other modules alter the handlers.
+ drupal_alter('page_manager_load_task_handlers', $handlers, $task, $subtask_id);
;;; latexenc.el --- guess correct coding system in LaTeX files -*-coding: iso-2022-7bit -*-
;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
;; Author: Arne J,Ax(Brgensen <[email protected]>
;; Keywords: mule, coding system, latex
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;;; .emacs --- Arne J,Ax(Brgensens .emacs file
;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
;; 2003, 2004, 2005, 2006 Arne J,Ax(Brgensen
;; Author: Arne J,Ax(Brgensen <[email protected]>
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or (at
;;; .gnus.el --- my .gnus file
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;; 2006 Arne J,Ax(Brgensen
;; Author: Arne J,Ax(Brgensen <[email protected]>
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
;; by the Free Software Foundation; either version 2 of the License,
#!/usr/bin/perl -w
# Copyright (C) 2005, 2006 Arne Jørgensen
# Author: Arne Jørgensen <[email protected]>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#!/usr/bin/env perl
# Copyright (C) 2004, 2005 by Arne Jørgensen
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
# This program is distributed in the hope that it will be useful, but
;;; gnus-auto-subscribe.el --- auto subscribe groups
;; Copyright (C) 2005 Arne J,Ax(Brgensen
;; Author: Arne J,Ax(Brgensen <[email protected]>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or (at
;; your option) any later version.
;;; gnus-prcml.el --- Utilities to manage procmail recipes for Gnus
;; Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc.
;; Author: NAGY Andras <[email protected]>,
;; Simon Josefsson <[email protected]>,
;; Arne J,Ax(Brgensen <[email protected]>
;; Maintainer: Arne J,Ax(Brgensen <[email protected]>
;; This file is part of GNU Emacs.