Welcome To Snipplr


Everyone's Recent Snippets Tagged server



My first (simpliest) way to collect monitoring data from few servers. Only skeleton for adding custom parameters. Using this way is not a good idea in general.
1 1150 posted 13 years ago by 2mf
Get the absolute webroot URL.
1 2640 posted 13 years ago by o0110o
Input: Month and year number Output: Last day of month
0 1136 posted 13 years ago by sjmoorecouk
0 2370 posted 13 years ago by cphoover
Boot Minecraft on an Ubuntu 64-bit instance with 2GB of RAM
0 1342 posted 13 years ago by stevedecoded
0 2345 posted 13 years ago by munrobaggers
The below code lets you stop access from the remote IPs excluding your local machine IP. This code can be setup where someone wants to provide an internal access and restricting the external access for the web service. - [Automated Predictive Dial...
0 3926 posted 13 years ago by aruldave
Example of SQL syntax to add a new column to an existing table, define a default value to the columns for the existing rows and also add a check constraint to limit the values that the column can hold.
0 2525 posted 13 years ago by denakitan
Search SQL Server or Oracle database for keyword embedded within stored procedures, functions, triggers, etc.
0 1265 posted 13 years ago by jstrawther
0 2324 posted 13 years ago by inky76
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server. ActionScript 3 AlivePDF save code: _pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0 2560 posted 13 years ago by vamapaull
0 2460 posted 13 years ago by tilakapash
0 2422 posted 14 years ago by ronakpatel2006
Serverside script for a personal DynDNS service. Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] . Redirect to current saved IP(http, port 80): http://dynDns.yourver...
0 2459 posted 14 years ago by madc
0 1085 posted 14 years ago by jcquintero
http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx
0 2902 posted 14 years ago by derebus
Tiny script to write a daily logfile with the serverload. Can be run every X minutes using a cron for example. Result in logfile: 13.40 | 2.45 2.45 2.43 13.45 | 1.62 2.02 2.25
0 1283 posted 14 years ago by remko
0 2438 posted 14 years ago by mrAlexGray
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 1309 posted 14 years ago by stephcode
0 2354 posted 14 years ago by chrism
0 2380 posted 14 years ago by krustyflakes
0 1322 posted 14 years ago by Mazzaroth