Warning: UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache' query: UPDATE cache SET data = 'a:180:{s:13:\"theme_default\";s:7:\"garland\";s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:27:\"menu_secondary_links_source\";s:13:\"primary-links\";s:20:\"freelinking_nodetype\";s:4:\"book\";s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:2:{i:0;s:6:\"status\";i:1;s:7:\"promote\";}s:12:\"comment_page\";s:1:\"2\";s:18:\"drupal_private_key\";s:64:\"5ee87c350e7817c1b567a72fe25b8f8100c218a6f384611866c69facc5d9dd5a\";s:19:\"file_directory_temp\";s:4:\"/tmp\";s:13:\"user_register\";s:1:\"0\";s:9:\"clean_url\";s:1:\"1\";s:21:\"filter_default_format\";i:1;s:19:\"filter in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:810:\"UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter'\nquery: UPDATE cache_filter SET data = '<p>Origapy is a Python interface to <a href=\\"http://www.security-labs.org/origami/\\">Origami</a>, a PDF parser written in Ruby. It provides access to pdfclean.rb, in order to sanitize PDF files by disabling all active content (javascript, launch actions, embedded files, etc). Because Origami is a full PDF parser, it is much more effective than <a hr in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:452:\"UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter'\nquery: UPDATE cache_filter SET data = '<p>I had to search quite a bit to find the easiest way to install Ruby and ruby-gtk2 on Windows. Here\\'s what I found so far:</p>\\n', created = 1369536947, expire = 1369623347, headers = '', serialized = 0 WHERE cid = '1:046614b59a9b89bfac293b8f3cb32751'\";s:5:\"%file\";s:49:\"/homez.14/decalaged/www/drupal/includes in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:487:\"UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter'\nquery: UPDATE cache_filter SET data = '<p>There are several solutions if you need to run Ruby code from Python. It may be useful when you find an interesting Ruby module which has no equivalent in Python.</p>\\n', created = 1369536947, expire = 1369623347, headers = '', serialized = 0 WHERE cid = '1:b4ae90e3a9b0f4f897fd074e4ba715fe'\";s:5:\"%file\";s:49:\"/homez.14 in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:97:\"array_map() [<a href=\'function.array-map\'>function.array-map</a>]: Argument #2 should be an array\";s:5:\"%file\";s:59:\"/homez.14/decalaged/www/drupal/modules/system/system.module\";s:5:\"%line\";i:1015;}', 3, '', 'http://www.decalage.info/en/ruby', '', '107.22.127.92', 1369536947) in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:107:\"array_keys() [<a href=\'function.array-keys\'>function.array-keys</a>]: The first argument should be an array\";s:5:\"%file\";s:49:\"/homez.14/decalaged/www/drupal/includes/theme.inc\";s:5:\"%line\";i:1817;}', 3, '', 'http://www.decalage.info/en/ruby', '', '107.22.127.92', 1369536947) in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:39:\"Invalid argument supplied for foreach()\";s:5:\"%file\";s:49:\"/homez.14/decalaged/www/drupal/includes/theme.inc\";s:5:\"%line\";i:1817;}', 3, '', 'http://www.decalage.info/en/ruby', '', '107.22.127.92', 1369536947) in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128
Ruby | Decalage

Ruby

  • user warning: UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter' query: UPDATE cache_filter SET data = '<p>Origapy is a Python interface to <a href=\"http://www.security-labs.org/origami/\">Origami</a>, a PDF parser written in Ruby. It provides access to pdfclean.rb, in order to sanitize PDF files by disabling all active content (javascript, launch actions, embedded files, etc). Because Origami is a full PDF parser, it is much more effective than <a href=\"/python/pdfid\">PDFiD</a> (when sanitizing/disarming PDF files), but also quite slower.</p>\n', created = 1369536947, expire = 1369623347, headers = '', serialized = 0 WHERE cid = '1:949c0fcbcab403a93f62b0b87de8498f' in /homez.14/decalaged/www/drupal/includes/cache.inc on line 109.
  • user warning: UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter' query: UPDATE cache_filter SET data = '<p>I had to search quite a bit to find the easiest way to install Ruby and ruby-gtk2 on Windows. Here\'s what I found so far:</p>\n', created = 1369536947, expire = 1369623347, headers = '', serialized = 0 WHERE cid = '1:046614b59a9b89bfac293b8f3cb32751' in /homez.14/decalaged/www/drupal/includes/cache.inc on line 109.
  • user warning: UPDATE command denied to user 'decalaged'@'10.0.135.122' for table 'cache_filter' query: UPDATE cache_filter SET data = '<p>There are several solutions if you need to run Ruby code from Python. It may be useful when you find an interesting Ruby module which has no equivalent in Python.</p>\n', created = 1369536947, expire = 1369623347, headers = '', serialized = 0 WHERE cid = '1:b4ae90e3a9b0f4f897fd074e4ba715fe' in /homez.14/decalaged/www/drupal/includes/cache.inc on line 109.
  • warning: array_map() [function.array-map]: Argument #2 should be an array in /homez.14/decalaged/www/drupal/modules/system/system.module on line 1015.
  • warning: array_keys() [function.array-keys]: The first argument should be an array in /homez.14/decalaged/www/drupal/includes/theme.inc on line 1817.
  • warning: Invalid argument supplied for foreach() in /homez.14/decalaged/www/drupal/includes/theme.inc on line 1817.
Ruby programming language.

Origapy - a Python module to sanitize PDF files

Origapy is a Python interface to Origami, a PDF parser written in Ruby. It provides access to pdfclean.rb, in order to sanitize PDF files by disabling all active content (javascript, launch actions, embedded files, etc). Because Origami is a full PDF parser, it is much more effective than PDFiD (when sanitizing/disarming PDF files), but also quite slower.

How to install Ruby 1.8.6 and Ruby-GTK2 on Windows

I had to search quite a bit to find the easiest way to install Ruby and ruby-gtk2 on Windows. Here's what I found so far:

How to run Ruby code from Python (Python-Ruby bridge)

There are several solutions if you need to run Ruby code from Python. It may be useful when you find an interesting Ruby module which has no equivalent in Python.

Syndicate content

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:0:\"\";s:5:\"%file\";s:49:\"/homez.14/decalaged/www/drupal/includes/cache.inc\";s:5:\"%line\";i:109;}', 3, '', 'http://www.decalage.info/en/ruby', '', '107.22.127.92', 1369536947) in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:355:\"INSERT command denied to user &#039;decalaged&#039;@&#039;10.0.135.122&#039; for table &#039;accesslog&#039;\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&#039;Ruby&#039;, &#039;taxonomy/term/8&#039;, &#039;&#039;, &#039;107.22.127.92&#039;, 0, &#039;c6c8ed91ca09867222deec9e17e3b1cc&#039;, 476, 1369536947)\";s:5:\"%file\";s:67:\"/homez.14/decalaged/www/drupal/modules/statistics/statistics.module\";s:5:\"%line\";i:64;}', 3, '', 'http:/ in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128

Warning: INSERT command denied to user 'decalaged'@'10.0.135.122' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:987:\"UPDATE command denied to user &#039;decalaged&#039;@&#039;10.0.135.122&#039; for table &#039;sessions&#039;\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &#039;107.22.127.92&#039;, session = &#039;messages|a:1:{s:5:\\&quot;error\\&quot;;a:2:{i:0;s:80:\\&quot;user warning: in /homez.14/decalaged/www/drupal/includes/cache.inc on line 109.\\&quot;;i:1;s:452:\\&quot;user warning: INSERT command denied to user &amp;#039;decalaged&amp;#039;@&amp;#039;10.0.135.122&amp;#039; for table &amp;#039;accesslog&amp;#039;\ in /homez.14/decalaged/www/drupal/includes/database.mysql.inc on line 128