Skip to content

Instantly share code, notes, and snippets.

View Alofoxx's full-sized avatar

Alofoxx Alofoxx

  • California, USA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alofoxx on github.
  • I am alofoxx (https://keybase.io/alofoxx) on keybase.
  • I have a public key whose fingerprint is 0B11 A83D 8BE9 F69C 6E48 9935 7736 8EAB 6F99 B1F5

To claim this, I am signing this object:

@Alofoxx
Alofoxx / phab_setUserTitle.php
Last active August 18, 2016 09:30
Update the Title on a user profile for a Phabricator user.
<?php
$root = "/var/www/phab/phabricator";
require_once $root.'/scripts/__init_script__.php';
/**
* Update the Title on a user profile for a Phabricator user.
* I have no idea if this is the best/right way but it worked.
*/
function setUserTitle(PhabricatorUser $phabUser, $title)
{
@Alofoxx
Alofoxx / example1
Created June 25, 2012 08:30
plugin setup
package com.github.alofoxx.RegisterMe;
import org.bukkit.plugin.java.JavaPlugin;
import java.security.Timestamp;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin;