Skip to content

Instantly share code, notes, and snippets.

View raphaelhuefner's full-sized avatar

Raphael Huefner raphaelhuefner

View GitHub Profile
@raphaelhuefner
raphaelhuefner / color-blue-report.html
Last active September 26, 2018 16:09
Tokenizations by color change, selected for "turning blue"
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Tokenization Reports for Solidity in ACE</title>
<style type="text/css">
li {
line-height: 200%;
}
@raphaelhuefner
raphaelhuefner / l10n_server.xml
Created May 6, 2015 21:35
Cache of https://localize.drupal.org/l10n_server.xml to be used in drush make files via defaults[projects][l10n_url] = {URL of this gist}
<?xml version="1.0" encoding="UTF-8"?>
<l10n_server><version>1.1</version><name>Translations</name><link>http://localize.drupal.org/</link><update_url>http://ftp.drupal.org/files/translations/%core/%project/%project-%release.%language.po</update_url><l10n_remote>http://localize.drupal.org/</l10n_remote><languages><language><name>Afghanistan Persian</name><native>دری</native><code>prs</code></language><language><name>Afrikaans</name><native>Afrikaans</native><code>af</code></language><language><name>Albanian</name><native>Shqip</native><code>sq</code></language><language><name>Amharic</name><native>አማርኛ</native><code>am</code></language><language><name>Arabic</name><native>العربية</native><code>ar</code></language><language><name>Armenian</name><native>Հայերեն</native><code>hy</code></language><language><name>Assamese</name><native>Assamese</native><code>as</code></language><language><name>Asturian</name><native>Asturianu</native><code>ast</code></language><language><name>Azerbaijani</name><native>azərbaycan</
@raphaelhuefner
raphaelhuefner / SearchAndReplaceSerialized.class.php
Created November 26, 2010 01:56
Search and replace in PHP serialized data.
<?php
/**
* @file Search and replace in PHP serialized data.
* @license http://opensource.org/licenses/lgpl-3.0.html The GNU Lesser General Public License, version 3.0 (LGPLv3)
* @author Raphael Huefner http://www.raphaelhuefner.com
* Sponsored by Affinity Bridge http://www.affinitybridge.com
*/
class SearchAndReplaceSerialized {