Skip to content

Instantly share code, notes, and snippets.

View hurricanerainbow's full-sized avatar

Aricana Managwan Pad8gi hurricanerainbow

  • -
  • 18:13 (UTC -04:00)
View GitHub Profile
@hurricanerainbow
hurricanerainbow / openpgp.txt
Created July 18, 2016 12:41
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:0c66a9222d59b760b00634c45f1a235b77a08888]
@hurricanerainbow
hurricanerainbow / openpgp.txt
Created July 18, 2016 12:41
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:0c66a9222d59b760b00634c45f1a235b77a08888]
@hurricanerainbow
hurricanerainbow / gist:3422129
Created August 22, 2012 03:47
PHP Short Tag Removal
replace "<\?=\$(.*)\?>" to "<?php echo \$\1; ?>"
and then "<\?(?!php)" to "<?php"
@hurricanerainbow
hurricanerainbow / gist:3222165
Created August 1, 2012 01:02
error with function
local mp_tooltip
if not mp_tooltip then
mp_tooltip = awful.tooltip({ })
function mp_tooltip:update()
local name = displayphase:mp_name
local text = string.format('<span font_desc="monospace">%s</span>', name)
mp_tooltip:set_text( text )
end
mp_tooltip:update()