Skip to content

Instantly share code, notes, and snippets.

<?php
/*
* Installation:
* require_once("extensions/MantisIntegration/MantisIntegration.php"); in LocalSettings.php
* update $mantisDBSERVER, $mantisDBUSER, $mantisDBUSERPW, $mantisDBNAME, $mantis_home
* Usage:
* <mantis>#bugid</mantis>
*
* @version 0.2 schke 2008-10-31
* -change data input from php implode of bugsite to direct database access
@TerrorBite
TerrorBite / gist:3615555
Created September 4, 2012 01:22 — forked from anonymous/gist:3615358
minmax
//This code works. Put in the commented out statements, doesn't work anymore.
#include<stdio.h>
#include<limits.h>
#include<ctype.h>
int main()
{
int number=0;
int min=INT_MAX;