Loading
Archives
Trending
Docs
Login
.bashrc
Show paste
export
TZ
=
"/usr/share/zoneinfo/America/Chicago"
export
LC_ALL
=en_US.UTF-
8
export
LANG
=en_US.UTF-
8
export
LANGUAGE
=en_US.UTF-
8
motd
Show paste
#!/bin/bash
MYNAME
=
`
whoami
`
TOTALPROC
=
`
ps
-Afl
|
wc
-l
`
PROCCOUNT
=
`
ps
-flu
$MYNAME
|
wc
-l
`
uptime.py
Show paste
#!/usr/bin/python
import
os
#----------------------------------------
# Gives a human-readable uptime string
ps_mem.py
Show paste
#!/usr/bin/env python
# Try to determine how much RAM is currently being used per program.
# Note the per program, not per process. So for example this script
iptables rules to remembe
Show paste
iptables -A INPUT -m iprange --src-range 118.1.1.1-118.255.255.255 -j DROP
iptables -I INPUT -s 1.1.1.1 -j DROP
iptables -I INPUT -s 1.1.1.1 -j ACCEPT
6to4 IPv6 tunnel
Show paste
#!/bin/bash
#
# Configures the 6to4 address based on the ip address of the interface to which
# the default route points.
# Parameter 1: action (start, stop, restart)
eval script
Show paste
; Goes in Remotes. (ALT+R)
; Usage: /eval $serverip (echos privately)
; /eval -o $serverip (msgs to the current channel)
alias
eval
{
Server notice script
Show paste
; Useful mIRC script for opers. Send snotices to separate @windows
on $^*:Snotice:
/
(
\S+
)
\s\
(
(
\S+
)
\
)
\sdid\sa\s.
whois
\son\syou
/
Si:
{
if
(
!
$window
(
$
(
$+
(
@
whois
.,
$network
)
,2
)
)
)
{
window
-ne
$
(
$+
(
@
whois
.,
$network
)
,2
)
}
; echo -sgt 4Whois -> 12[11 $+ $network $+ 12:11 $+ $+($regml(1),!,$regml(2)) $+ 12]
aline
-pa
$
(
$+
(
@
whois
.,
$network
)
,2
)
12
(
$+
$snoticets
$+ 12
)
$1
-
Whatpulse alias
Show paste
; Whatpulse alias by Joshua
; wpuser script created using Chessnut's Simple Socket Script Creator
; Instructions: Replace "YOURWHATPULSEID" with your Whatpulse ID number.
alias
-l
logo
{
return
$+
(
$chr
(
03
)
,14,
$chr
(
91
)
,
$chr
(
03
)
,11,
$1
-,
$chr
(
93
)
,
$chr
(
03
)
)
}
power alias
Show paste
power
{
var
%x
= 1,
%i
= 1,
%z
= 1
var
%Owncount
= 0,
%Acount
= 0,
%Ocount
= 0,
%Hcount
= 0,
%Vcount
= 0,
%chancount
= 0,
%infcount
= 0,
%usercount
= 0
while
(
%i
<=
$scon
(
0
)
)
{
scon
%i
{
ULX Model
Show paste
local
t
=
{
"models/player/alyx.mdl"
,
"models/player/breen.mdl"
,
"models/player/barney.mdl"
,
"models/player/eli.mdl"
,
«
1
2
3
»