(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
<?php | |
/********************************************************************* | |
* Database Abstraction Layer | |
********************************************************************** | |
* Related Files: | |
* -------------------------------------------------------------- | |
********************************************************************** | |
* Revision History: | |
* -------------------------------------------------------------- |
<?php | |
class Highscores { | |
public $skills = array ( | |
'attack','defence','strength','hitpoints','range', | |
'prayer','magic','cooking','woodcutting','fletching', | |
'fishing','firemaking','crafting','smithing','mining', | |
'herblore','agility','thieving','slayer','farming', | |
'runecraft', | |
'overall' | |
); |
<?php | |
if(count($_GET) > 0) | |
{ | |
$xmlstr = "<npcspawn> | |
<npcId>{$_GET['npcId']}</npcId> | |
<locationz> | |
<x>{$_GET['x']}</x> | |
<y>{$_GET['y']}</y> | |
<z>{$_GET['z']}</z> | |
</locationz> |
<?php | |
//require this to get a database connection | |
$connect = mysql_connect('localhost','test','test'); | |
mysql_select_db('test'); | |
?> |
static char *hidehost_ipv4(char *host) | |
{ | |
unsigned int a, b, c, d; | |
static char buf[512], res[512], res2[512], result[128]; | |
unsigned long n; | |
unsigned int alpha, beta, gamma; | |
/* | |
* Output: ALPHA.BETA.GAMMA.IP | |
* ALPHA is unique for a.b.c.d |
/* | |
* IRC - Internet Relay Chat, src/modules/cloak.c | |
* (C) 2004 The UnrealIRCd Team | |
* | |
* See file AUTHORS in IRC package for additional names of | |
* the programmers. | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 1, or (at your option) |
<? | |
class Google2FA { | |
const keyRegeneration = 30; // Interval between key regeneration | |
const otpLength = 6; // Length of the Token generated | |
private static $lut = array( // Lookup needed for Base32 encoding | |
"A" => 0, "B" => 1, | |
"C" => 2, "D" => 3, | |
"E" => 4, "F" => 5, | |
"G" => 6, "H" => 7, | |
"I" => 8, "J" => 9, |
from __future__ import division | |
from pyparsing import (Literal,CaselessLiteral,Word,Combine,Group,Optional, | |
ZeroOrMore,Forward,nums,alphas,oneOf) | |
import math | |
import operator | |
__author__='Paul McGuire' | |
__version__ = '$Revision: 0.0 $' | |
__date__ = '$Date: 2009-03-20 $' | |
__source__='''http://pyparsing.wikispaces.com/file/view/fourFn.py |
37107287533902102798797998220837590246510135740250 | |
46376937677490009712648124896970078050417018260538 | |
74324986199524741059474233309513058123726617309629 | |
91942213363574161572522430563301811072406154908250 | |
23067588207539346171171980310421047513778063246676 | |
89261670696623633820136378418383684178734361726757 | |
28112879812849979408065481931592621691275889832738 | |
44274228917432520321923589422876796487670272189318 | |
47451445736001306439091167216856844588711603153276 | |
70386486105843025439939619828917593665686757934951 |