CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Format:
Recent Snippets
// Itt megcsináljuk a szükséges obijektumokat, illetve a Measumernt Flag-et true-ra állítom.
public void AutoCalibrate_DarkRight_Start(VideoSourcePlayer source1, Led_Functions Object_LedFunctions, string device, AForge.Controls.PictureBox PB_properties, Aforge_Object_detection ObjectDetectClass, Aforge_Image_Filtering ObjectFilterClass, NumericUpDown Minimum_gain)
        {
            GainList_LeftDark = new List<int>();
            DiameterList_Left = new List<double>();

            // Create Treshold Lists
            Treshold40_Left = new List<double>();
            Treshold42_Left = new List<double>();
            Treshold44_Left = new List<double>();
Today @ 2:25am
Tags:
no comments
 
using System;
using System.Threading;

namespace SomeThreadsExample
{
    class Program
    {
        static void Main(string[] args)
        {
            //Создаем первый поток
Today @ 2:00am
Tags:
2 Views
no comments
 
+60 leveldir karakterler 
Rogue +60 level 1 M Npli = 50 TL
Mage +60 Level 1 M Npli = 50 TL
Priest +60 Level 1 M Npli = 50 TL
Warrior +60 Level 1 M Npli = 50 TL

Rogue +60 level 5 M Npli = 250 TL
Mage +60 Level 5 M Npli = 250 TL
Priest +60 Level 5 M Npli = 250 TL
Warrior +60 Level 5 M Npli = 250 TL
by Hüseyin Aşık   Today @ 12:43am
8 Views
no comments
 
DROP USER SCOTT CASCADE;
CREATE USER SCOTT IDENTIFIED BY tigger
DEFAULT	TABLESPACE  USERS
TEMPORARY TABLESPACE temp;
ALTER USER SCOTT QUOTA UNLIMITED ON USERS;
GRANT RESOURCE, CREATE SESSION TO SCOTT;
CONN SCOTT/SCOTT
ALTER SESSION SET NLS_LANGUAGE= 'AMERICAN' NLS_TERRITORY= 'AMERICA' NLS_CURRENCY= '$' NLS_ISO_CURRENCY= 'AMERICA' NLS_NUMERIC_CHARACTERS= '.,' NLS_CALENDAR= 'GREGORIAN' NLS_DATE_FORMAT= 'DD-MON-RR' NLS_DATE_LANGUAGE= 'AMERICAN'  NLS_SORT= 'BINARY';
Yesterday @ 3:28pm
Tags:
15 Views
no comments
 
package sudoku;

import java.util.*;

import engine.State;


/**
 * Questa classe rappresenta un Sudoku T
 * 
Yesterday @ 2:15pm
Tags:
13 Views
no comments
 
function init() {
  // Initalize the various page elements here...
	WebSocket_Open()
	Init_Map()
}

var lightgrey = "rgb(184,184,184)";
var black = "rgb(0,0,0)";
var red = "rgb(255,0,0)";
var green = "rgb(0,255,0)";
Yesterday @ 1:16pm
Tags:
16 Views
no comments
 
on *:text:*:#:{
  if ($1 == !ipekle) {
    if !$2 { msg # Lütfen ekliyeceginiz IP belirtiniz. | return }
    if $read(iptakip.txt,w,$strip($2)) { msg # IP listede ZATEN ekli ! | return }
    .write iptakip.txt $strip($2)
    msg # [ $strip($2) ] IP listesine Eklenmisdir.
  }
  if ($1 == !ipsil) {
    if !$2 { msg # Lütfen sileceginiz IP Belirleyiniz | return }
    if $read(iptakip.txt,w,$strip($2)) { .write $+(-dl,$readn) iptakip.txt | msg # [ $strip($2) ] IP listesinden Silinmistir. | return }
Yesterday @ 12:08pm
Tags:
16 Views
no comments
 
sgfvsdc
af
sd
c

Yesterday @ 10:53am
Tags:
14 Views
no comments
 
package ru.compscicenter.java2014.collections;

import java.util.Collection;
import java.util.Iterator;

public interface MultiSet<E> extends Collection<E> {

    @Override
    int size();

Yesterday @ 10:33am
Tags:
16 Views
no comments
 
package ru.compscicenter.java2014.collections;

import java.util.*;
import java.util.function.Consumer;
import java.util.function.Predicate;
import java.util.stream.Stream;

/**
 * Created by Mikhail on 23.10.2014.
 */
Yesterday @ 10:30am
Tags:
16 Views
no comments
 
unit Unit1;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;

type
  TForm1 = class(TForm)
Yesterday @ 9:03am
Tags:
18 Views
no comments
 
twetwetwetwetwetwetwtewetweewtwetwetwetwetwetwetwetwetwetwet
Yesterday @ 7:37am
Tags:
14 Views
no comments
 
@Override
    public Object[] toArray() {
        Object[] elements = new Object[size];
        int i = 0;
        for (Map.Entry<E, Integer> entry : map.entrySet()) {
            for (int j = 0; j < entry.getValue(); j++) {
                elements[i++] = entry.getKey();
            }
        }
        return elements;
Yesterday @ 1:59am
Tags:
20 Views
no comments
 
/**
     * Returns an array containing all of the elements in this list
     * in proper sequence (from first to last element).
     *
     * <p>The returned array will be "safe" in that no references to it are
     * maintained by this list.  (In other words, this method must allocate
     * a new array).  The caller is thus free to modify the returned array.
     *
     * <p>This method acts as bridge between array-based and collection-based
     * APIs.
Yesterday @ 1:58am
Tags:
17 Views
no comments
 
This part is extremely productive in giving your body the particles which are required to make a tearing bulk. This powerful substance generously streams inside the body furthermore fortifies your complete body developing your quality and also stamina. It handles the whole inside system furthermore the arrangement of your body. Alongside it you can get to an incredible chance to perfect your body sort and additionally your physical structure pretty effectively. super nitro Supplement is an incredible strategy to offer an alluring chiseled muscles, toned macho whole body and generally chiseled V planned figure.

http://supernitrouk.com

by jasferg   Friday @ 10:37pm
15 Views
no comments
 
bool String::operator<(const char& c)const
{
	return *str <c;
}

bool operator<(const char& c, const String& string)
{
	if (*string.str == c && string.len>1) { return true; }
	else if(c < *string.str){ return true; }
	return false;
Friday @ 9:05pm
Tags:
19 Views
no comments
 
program Project1;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

var a:integer;
Friday @ 3:30pm
Tags:
19 Views
no comments
 
php
<?php
	
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, "http://site.com/giris.php");
	curl_setopt($ch, CURLOPT_HEADER, true);
	curl_setopt($ch, CURLINFO_HEADER_OUT, true);
	curl_setopt($ch, CURLOPT_COOKIEJAR, 'somedirectory/cookies.txt');
	curl_setopt($ch, CURLOPT_COOKIEFILE, 'somedirectory/cookies.txt'); 
	// cookies.txt: cookie'lerin kaydedileceği dosya
	curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com.tr/');
Friday @ 3:11pm
Tags:
116 Views
no comments
 
import java.net.*;
import java.io.*;
 
public class Server {

	private final static int portNumber = 2400;

	public static void main(String[] args) {
		
		boolean listening = true;
Friday @ 10:53am
Tags:
20 Views
no comments
 
php
$oyuncu_rast=array(
array('oyuncu_nick'=>'Ali','oyuncu_id'=>100),
array('oyuncu_nick'=>'Mehmet','oyuncu_id'=>110),
array('oyuncu_nick'=>'Serkan','oyuncu_id'=>120),
array('oyuncu_nick'=>'Ömer','oyuncu_id'=>130),
array('oyuncu_nick'=>'Taner','oyuncu_id'=>140),
array('oyuncu_nick'=>'Fatih','oyuncu_id'=>150),
array('oyuncu_nick'=>'Gökhan','oyuncu_id'=>160),
array('oyuncu_nick'=>'Sevgi','oyuncu_id'=>170),
array('oyuncu_nick'=>'Tibyan','oyuncu_id'=>180),
Friday @ 10:35am
Tags:
18 Views
no comments
 
import java.net.*;
import java.io.*;
 
public class Server {

	private final static int portNumber = 2400;

	public static void main(String[] args) throws IOException {
		
		boolean listening = true;
by Olavi Mustanoja   Friday @ 10:14am
Tags:
20 Views
no comments
 
package com.ztan222.vitals;

import java.io.*;
import java.net.*;

import com.google.android.glass.widget.CardScrollView;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
by Olavi Mustanoja   Friday @ 10:14am
Tags:
18 Views
no comments
 
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;

int main()
{
    int mass[60]  ;
    float answer = 0 , summ = 0 , num = 0;
    srand(time(NULL));
Friday @ 9:52am
Tags:
18 Views
no comments
 
<form id="UGIForm">
                                <input type="hidden" value="unitGroup" name="methodName"/>
                                <ul>
                                    <li>
                                        <input type="text" name="unitName" placeHolder="Unit Name"/>
                                        <input type="text" name="groupNo" placeholder="Group No"/>
                                        <input type="button" value="Add" name="operation" onclick="unitGroupController(event)" />

                                    </li>
                                    <li>
Friday @ 9:47am
Tags:
20 Views
no comments
 
public override bool OnStart()
{
   //this will initiate a web request to the newly started server to warm up IIS prior to the first visitor coming into the site
   // in pratice, this should smooth out 'dips' experienced while we scale the site up

   IPHostEntry ipEntry = Dns.GetHostEntry(Dns.GetHostName());
   string ip = null;
   foreach (IPAddress ipaddress in ipEntry.AddressList)
   {
      if (ipaddress.AddressFamily.ToString() == "InterNetwork")
by Corey   Friday @ 9:39am
Tags:
18 Views
no comments
 
brought to you by:
West Wind Techologies