This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Description: Linux System Information Report in HTML format | |
| # Version 2.0 | |
| # Useage: sysreport > /var/www/html/report.html | |
| # License: BSD | |
| # Author: Greg Ippolito | |
| cat << HEAD | |
| <HTML> | |
| <HEAD><TITLE>System Report</TITLE></HEAD> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}') | |
| CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g') | |
| LINUXPKG="linux-(image|headers|ubuntu-modules|restricted-modules)" | |
| METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)" | |
| OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL) | |
| YELLOW="\033[1;33m" | |
| RED="\033[0;31m" | |
| ENDCOLOR="\033[0m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace ConsoleApplication2 | |
| { | |
| class Program | |
| { | |
| delegate void Delegate_Multicase(int x, int y); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| foreach $key ( sort keys(%ENV) ) { | |
| print "$key==>$ENV{$key}\n"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace ConsoleApplication3 | |
| { | |
| class Program | |
| { | |
| public class Person{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace ConsoleApplication3 | |
| { | |
| class Program | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <18F4455.h> | |
| #fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN | |
| #use delay(clock=48000000) | |
| #rom int 0xf00000={1,2,3,4} | |
| #include <usb_cdc.h> | |
| #include <usb_bootloader.h> | |
| #include <lcd.c> //This LCD will e changed to <lcd420.c> | |
| #include <kbd.c> | |
| #use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, stream=RFID) | |
| #use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_B7, stream=XBEE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.aayush.tutorial; | |
| import java.io.IOException; | |
| import java.lang.management.ManagementFactory; | |
| import javax.management.InstanceAlreadyExistsException; | |
| import javax.management.MBeanRegistrationException; | |
| import javax.management.MBeanServer; | |
| import javax.management.MalformedObjectNameException; | |
| import javax.management.NotCompliantMBeanException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package helper; | |
| import java.io.FileInputStream; | |
| import java.io.IOException; | |
| import java.sql.Connection; | |
| import java.sql.SQLException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.Properties; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.aayush.hangman.client; | |
| import com.google.gwt.core.client.EntryPoint; | |
| import com.google.gwt.core.client.GWT; | |
| import com.google.gwt.event.dom.client.ClickEvent; | |
| import com.google.gwt.event.dom.client.ClickHandler; | |
| import com.google.gwt.http.client.Request; | |
| import com.google.gwt.http.client.RequestBuilder; | |
| import com.google.gwt.http.client.RequestCallback; | |
| import com.google.gwt.http.client.RequestException; |
OlderNewer