Skip to content

Instantly share code, notes, and snippets.

View garvinhicking's full-sized avatar

Garvin Hicking garvinhicking

View GitHub Profile
-@define('STATICPAGE_PAGEADD_DESC', 'Wählen Sie die Plugins aus, die in der staticpage sidebar als Link zur Verfügung stehen sollen.');
+@define('STATICPAGE_PAGEADD_DESC', 'Wählen Sie die Plugins aus, die in der Frontend Seitenleiste als zusätzlicher "Staticpage"-Link zur Verfügung stehen sollen.');
-?>
-<br />
+<!-- DEFAULT_STATICPAGE_BACKEND.TPL start -->
- <label class="sp_label" title="{staticpage_input item="headline" what="desc"|escape:js}">{staticpage_input item="headline" what="name"|escape:js}</label><br />
+ <label class="sp_label" title="{staticpage_input item="headline" what="desc"}">{staticpage_input item="headline" what="name"}</label>
- <label class="sp_label" title="{staticpage_input item="articleformattitle" what="desc"|escape:js}">{staticpage_input item="articleformattitle" what="name"|escape:js}</label><br />
+ <label class="sp_label" title="{staticpage_input item="articleformattitle" what="de
@garvinhicking
garvinhicking / gist:7823333
Created December 6, 2013 12:57
Quick and dirty IMDB comparison
<?php
$myself = 'garvin';
$compare = 'andih';
# Usage:
# - wget a URL like this:
# http://www.imdb.com/list/export?list_id=ratings&author_id=ur0555872 (garvin)
# - save it as imdb_ratings_XXX.csv (see below when it gets called)
# - do the same with the CSV of the second user you want to compare with
# - enter the proper user names/file names at the bottom of this file
CREATE TABLE serendipity_spamblocklog (
timestamp int(10) default null,
type varchar(255),
reason text,
entry_id int(10) not null default '0',
author varchar(80),
email varchar(200),
url varchar(200),
useragent varchar(255),
ip varchar(15),