New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
C#
else // Hydration/Patency grid
           {
               if (isNewRow)
               {
                   // create a new monitor
                   EnteralFluidEditDataObject gedo = new EnteralFluidEditDataObject();
                   gedo.IsDeleteButtonVisible = false;
 
                   PhysicianOrderDS primaryDS = childRow.Table.DataSet as PhysicianOrderDS;
                   PhysicianOrderDS.ResPhysOrderEnteralFluidRow newRow = primaryDS.ResPhysOrderEnteralFluid.NewResPhysOrderEnteralFluidRow();
Today @ 12:49pm
Tags:
3 Views
no comments
 
C#
//FILE TRANSFER USING C#.NET SOCKET - SERVER
class FTServerCode
{
IPEndPoint ipEnd;
 
Socket sock;
public FTServerCode()
{
ipEnd = new IPEndPoint(IPAddress.Any, 5656);
Today @ 12:45pm
Tags:
2 Views
no comments
 
C#
/// <summary>
/// Return all properties from a type up to a specified base type in the inheritance hierarchy
/// </summary>
/// <param name="type">Type that will be examined</param>
/// <param name="baseType">Where to stop in the inheritance hierarchy. Must be a type that first parameter inherits from
/// </param>
/// <returns>A list of all found properties</returns>
public static List<PropertyInfo> GetAllProperties(Type type, Type baseType)
{
   List<PropertyInfo> properties = new List<PropertyInfo>();
11 Views
no comments
 
C#
/// <summary>
/// Return all properties from a type up to a specified base type in the inheritance hierarchy
/// </summary>
/// <param name="type">Type that will be examined</param>
/// <param name="baseType">Where to stop in the inheritance hierarchy. Must be a type that first parameter inherits from
/// </param>
/// <returns>A list of all found properties</returns>
public static List<PropertyInfo> GetAllProperties(Type type, Type baseType)
{
   List<PropertyInfo> properties = new List<PropertyInfo>();
14 Views
no comments
 
hej
by fghfgh   Today @ 11:39am
Tags: fgdf
3 Views
no comments
 
<div style="display:none;">
liveinternet код сюда
</div>
Today @ 11:05am
Tags:
4 Views
no comments
 
<div style="display:none;">
liveinternet код сюда
</H1>
Today @ 11:04am
Tags:
4 Views
no comments
 
<head><title>http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_42.jpg - FlashGot - Build Gallery</title>
<style type="text/css">
body,div { font-family: verdana,arial,helvetica,sans-serif; font-size: 10px; color: black; background: white }
a { color: blue; text-decoration: underline; }
</style></head><body><div style="display: none"><span id="referrer">http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_42.jpg</span><span id="preview">http://game.watch.impress.co.jp/img/gmw/docs/[353-353;1]/[970-970;1]/ff[14-14;1]_[01-99;1].jpg</span><span id="content">http://game.watch.impress.co.jp/img/gmw/docs/[353-353;1]/[970-970;1]/ff[14-14;1]_[1-99;1].jpg</span></div><div id="flashgotGB-gallery"><a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_1.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_01.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_1.jpg" /></a>
<a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_2.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_02.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_2.jpg" /></a>
<a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_3.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_03.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_3.jpg" /></a>
<a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_4.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_04.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_4.jpg" /></a>
<a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_5.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_05.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_5.jpg" /></a>
<a href="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_6.jpg"><img src="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_06.jpg" alt="http://game.watch.impress.co.jp/img/gmw/docs/353/970/ff14_6.jpg" /></a>
by Patient   Today @ 10:51am
Tags:
5 Views
no comments
 
echo $form->create(array (
    'action' => 'add'
));
 
 
 
echo $form->input('1.Human.surname');
echo $form->input('1.Human.prename');
 
Today @ 10:51am
Tags:
5 Views
no comments
 
C#
using System;
using System.Configuration;
using System.Data.SqlClient;
using System.Security.Cryptography;
using System.Text;
 
namespace ECO.WebServices.DataAccess
{
    internal static class AuthDbConnection
    {
Today @ 9:42am
Tags:
6 Views
no comments
 
C#
using System;
using System.Configuration;
using System.Data.SqlClient;
using System.Security.Cryptography;
using System.Text;
 
namespace ECO.WebServices.DataAccess
{
    internal static class AuthDbConnection
    {
by CRH   Today @ 9:26am
Tags:
6 Views
no comments
 
C++
#include <iostream>
#include <fstream>
#include <stdio.h>
 
using namespace std;
 
//void calculateAverage(int scores[]; int allAverages[]);
char calculateGrade(int average);
 
int main()
Today @ 9:04am
Tags:
6 Views
no comments
 
C++
#include <stdio.h>
#include <math.h>
 
double rec_sequence_a(int);
double sequence_a(void);
double x;
 
int main()
{
    while(1)
Today @ 9:02am
Tags: C
23 Views
no comments
 
C++
#include<stdio.h>
 
void main()
{
FILE *fp,*fp1;
int choi;
char name[20],temp[20]={"Temp.txt"},c;
clrscr();
printf("Press 1 to Encrypt \nPress 2 to Decrypt");
printf("Enter your Choice:");
by Unknown (google)   Today @ 8:11am
Tags:
3 Views
no comments
 
/*
------------------------------
    Impromptu's
------------------------------
*/
.jqifade{
    position: absolute; 
    background-color: #aaaaaa; 
}
div.jqi{ 
Today @ 8:08am
Tags:
2 Views
no comments
 
  import java.io.*; 
 
   public class DecList 
  { 
      public static void main(String[]args) 
     { 
     
        FileOutputStream p; 
        File AudioFile = new File( "k523jsyt2idjh.d03" ); 
        long length = AudioFile.length(); 
Today @ 7:34am
Tags:
5 Views
no comments
 
Metod:
Efter att ha decompilat "class" filerna med hjälp av java decompilern ”JD-GUI” så kunde vi börja undersöka koden i de olika filerna. Efter att snabbt ha tittat igenom alla filer med kod så kom vi fram till att börja med "passwordDialog". 
På rad 80 hittade vi information som gav oss anledning att misstänka att någon form av Cesarkrypto använts för att kryptera lösenordet. Efter ännu mer analys av koden hittade vi användandet av ”\4” vilket är en funktion för att ”hoppa” fyra steg framåt i tecken tabellen. 
Vilket senare bevisades genom en enkel modifikation på rad 81 där vi genomförde en output av strängen ”decryptedPassword”. Efter att modifieringen var klar var det bara att starta programmet genom att trycka på ”Start Program” och då skrev programmet själv ut det korrekta lösenordet, således blev krypteringen: j4v7rwmgw översatt till f0r3nsics. 
Detta jämförde vi med det som vi hittade i filen ”99ksnda185kd3.d02” vilka stämde överens.
 
Ett annat sätt att kringgå lösenordsförfrågan var att radera ”!” från if-satsen på rad 82 således var alla lösenord förutom det som från början var det korrekta godtagbara, då if-satsen baserats på omvänd boolean logik. ”!” i inledningen specificerar att det nedanstående skall utföras om påståendet är falskt, så att om INTE decryptedPassword är lika med inmatat lösenord, skriv ut ”incorrect password”.  Korrekt inloggnings försök(dvs. de som inte uppfyllde ovanstående negation) fångades upp i ”else” på raderna under.
Today @ 6:28am
Tags:
5 Views
no comments
 
C#
using System.Net;
using System.Net.Sockets; 
//Create the server socket of the type Stream and using the TCP protocol.  
serversocket = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
serversocket.Blocking = true ; 
//Bind the Server to the port and keep listening on the port for client connections .. 
IPHostEntry IPHost = Dns.Resolve(server); 
string []aliases = IPHost.Aliases; 
IPAddress[] addr = IPHost.AddressList; 
Today @ 3:40am
Tags:
4 Views
no comments
 
Codice:
http://hotfile.com/dl/32237577/9aa69a9/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r00.html
http://hotfile.com/dl/32237584/21bcc58/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r01.html
http://hotfile.com/dl/32237572/5d7552e/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r02.html
http://hotfile.com/dl/32237725/7fd12d1/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r03.html
http://hotfile.com/dl/32238158/2790aae/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r04.html
http://hotfile.com/dl/32236342/02c827c/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r05.html
http://hotfile.com/dl/32236362/a8cb179/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r06.html
http://hotfile.com/dl/32236397/c0ccec3/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r07.html
http://hotfile.com/dl/32236356/9353f01/Alvin.Superstar.2.2009.iTALiAN.720p.BluRay.x264-TRL.r08.html
Today @ 2:59am
Tags:
7 Views
no comments
 
C#
public IEntity GetFromReader(IDataReader reader)
        {
            QueueItem entity = new QueueItem();
            entity.PrimaryQueueID = DataMapper.IsNull<long>(reader["PrimaryQueueID"], new long());
            entity.PaymentRequest = DataMapper.IsNull<string>(reader["PaymentRequest"], string.Empty);
 
            return (IEntity)entity;
        }
Today @ 2:45am
5 Views
no comments
 
<link href="http://www.aigona-Studios.de/Firmen/aigona/v1/site_templates/alt_v4/CSS/set.css" rel="stylesheet" type="text/css" />
 
<div style="padding-top:10px; padding-left:15px;">
 
<table width="100%" align="left" cellpadding="0" cellspacing="0">
 
<form action="{login_action}" method="post" style="padding:0px; margin:0px;">
 
<tr>
Today @ 1:51am
Tags:
5 Views
no comments
 
kbuildsycoca4 running...
kbuildsycoca4(755) KBuildSycoca::recreate: Recreating ksycoca file ("/var/tmp/kdecache-paulo/ksycoca4", version 162)
kbuildsycoca4(755) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/applications-merged/sabayon-sabayon.menu"
kbuildsycoca4(755) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/applications-merged/ggz.merge.menu"
kbuildsycoca4(755) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/ggz.menu"
kbuildsycoca4(755) foldNode: "Directory" and "ggz.directory" requires combining!
kbuildsycoca4(755) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/home/paulo/.config/menus/applications-kmenuedit.menu"
kbuildsycoca4(755) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
kbuildsycoca4(755) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(755) VFolderMenu::loadApplications: Looking up applications under "/usr/local/share/applications/"
Today @ 1:18am
Tags:
6 Views
no comments
 
QFile::at: Cannot set file position 16384 
drkonqi(504) SystemInformation::runLsbRelease: found lsb_release
drkonqi(504) KCrashBackend::constructCrashedApplication: Using /proc to determine executable path
drkonqi(504) KCrashBackend::constructCrashedApplication: Executable is: "/usr/bin/amarok"
drkonqi(504) KCrashBackend::constructCrashedApplication: Executable exists: true
amarok --debug --nofork
amarok(525)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-paulo/ksycoca4"
KCrash: Application 'amarok' crashing...
sock_file=/home/paulo/.kde4/socket-pato/kdeinit4__0
Warning: connect() failed: : No such file or directory
Today @ 1:16am
Tags:
7 Views
no comments
 
var SearchColM = new Ext.grid.ColumnModel([
    {id: 'info', dataIndex: 'info', header: "URL", width:33, renderer:renderIcon },
    {dataIndex: 'name', header: 'Opportunity Name', width:33},
    {dataIndex: 'accountid', header: 'End User Company', width:33},
    {dataIndex: 'new_oracleid', header: 'Contract Number', width:33},
    {dataIndex: 'new_clientbatchquartername', header: 'Client Batch Quarter', width:33},
    {dataIndex: 'new_renewalamountusd', header: 'Renewal Amount', width:33},
    {dataIndex: 'opportunityid', header: 'GUID', width:33}
]);
Yesterday @ 6:24pm
Tags:
7 Views
no comments
 
import javax.swing.JApplet;
import java.awt.Graphics;
/**
 * This class extends applet and creates a new instance of FrameGUI
 * @author Darren
 */
public class GUIApplet extends JApplet
{
    /**
     * initiates the applet
by ludjer   Yesterday @ 3:39pm
Tags:
6 Views
no comments
 
brought to you by:
West Wind Techologies


If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate