A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4646
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Soiled Cockroach, 10 Years ago, written in Diff-output.
Embed
  1. diff --git a/i3-nagbar/atoms.xmacro b/i3-nagbar/atoms.xmacro
  2. index 333ba2d..8efe3eb 100644
  3. --- a/i3-nagbar/atoms.xmacro
  4. +++ b/i3-nagbar/atoms.xmacro
  5. @@ -1,5 +1,6 @@
  6.  xmacro(_NET_WM_WINDOW_TYPE)
  7.  xmacro(_NET_WM_WINDOW_TYPE_DOCK)
  8. +xmacro(_NET_WM_WINDOW_TYPE_TOOLTIP)
  9.  xmacro(_NET_WM_STRUT_PARTIAL)
  10.  xmacro(I3_SOCKET_PATH)
  11.  xmacro(ATOM)
  12. diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c
  13. index 674fcb7..6c70fa2 100644
  14. --- a/i3-nagbar/main.c
  15. +++ b/i3-nagbar/main.c
  16. @@ -504,7 +504,8 @@ int main(int argc, char *argv[]) {
  17.          XCB_COPY_FROM_PARENT,
  18.          win,                                                 /* the window id */
  19.          root,                                                /* parent == root */
  20. -        win_pos.x, win_pos.y, win_pos.width, win_pos.height, /* dimensions */
  21. +        // win_pos.x, win_pos.y, win_pos.width, win_pos.height, /* dimensions */
  22. +        500, 400, 300, 200, /* dimensions */
  23.          0,                                                   /* x11 border = 0, we draw our own */
  24.          XCB_WINDOW_CLASS_INPUT_OUTPUT,
  25.          XCB_WINDOW_CLASS_COPY_FROM_PARENT, /* copy visual from parent */
  26. @@ -517,6 +518,11 @@ int main(int argc, char *argv[]) {
  27.                  XCB_EVENT_MASK_BUTTON_RELEASE,
  28.              cursor});
  29.  
  30. +    /* Set override-redirect flag */
  31. +    uint32_t attr_mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_SAVE_UNDER;
  32. +    uint32_t attr_values[] = { true, true };
  33. +    xcb_change_window_attributes(conn, win, attr_mask, attr_values);
  34. +
  35.      /* Map the window (make it visible) */
  36.      xcb_map_window(conn, win);
  37.  
  38.