Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import sys,urllib
from hashlib import sha256
from os.path import basename
from urlparse import urlparse
from random import randint
from wand.color import Color
from wand.image import Image
#!/usr/bin/env python
import sys,urllib
from hashlib import sha256
from os.path import basename
from urlparse import urlparse
from random import randint
from wand.color import Color
from wand.image import Image
#!/bin/bash
for c in `seq 1 200`;
do
echo -e "\u$RANDOM\b" | tr -d '\n'
done
/* MPI program that uses a monte carlo method to compute the value of PI */
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <sprng.h>
#include <mpi.h>
#define USE_MPI
#/usr/bin/php
<?php
/* Isn't it fun when your writting a comment, and then *poof* you forget
you were writting and end up writting some random paragraph on nothing
while your trying to talk about something? Yeah, I get that a lot too..
Oh wait that is me talking, well you, or me... So have fun with tis
brainfart'd application that has no reason in anyones right mind what so
ever being in php and is just in php because its too cool.... Yeah, I don't
believe it either but thats what you get.
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
$spawncgi=/usr/bin/spawn-fcgi
$daemon_name = php-cgi
ARGS=-" -a 127.0.0.1 -p 9000 -f /usr/bin/php-cgi -U http"
# We needed a new maintainer...
pkgname=monit
pkgver=5.1.1
pkgrel=1
pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system"
url="http://www.tildeslash.com/monit/"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('bison' 'flex' 'openssl')
#!/usr/bin/python
import random
tosses = 100
face = random.randrange(0,10)
heads = 0
tails = 0
for i in range(0,tosses,1):
face = random.randrange(0,10)
if face <= 5:
heads += 1
#!/usr/bin/python
import math, random
guess_range = [10,100]
number = 0
while (number < 1) and (number != ""):
number = raw_input("\nPlease enter a number for the computer to guess: ")
# make it an integer
number = int(number)
logic = random.randrange(1,500) + 1
Useful (From Wikitonary):
http://en.wiktionary.org/wiki/part_of_speech
http://en.wiktionary.org/wiki/Category:English_adverbs
http://en.wiktionary.org/wiki/Category:English_nouns
http://en.wiktionary.org/wiki/Category:English_adjectives
http://en.wiktionary.org/wiki/Category:English_verbs
http://en.wiktionary.org/wiki/Category:English_conjunctions
http://en.wiktionary.org/wiki/Category:English_verb_forms
http://en.wiktionary.org/wiki/Category:English_irregular_verbs
http://en.wiktionary.org/wiki/Category:English_suppletive_verbs