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
`timescale 1 ns/1 ns

module testbench;
reg [7:0]  src_a , src_b ; 
reg [2:0] c ;
wire [7:0] data_out ; 

alu ALU_instance(.src_a(src_a), .src_b(src_b),
      .c(c), .data_out(data_out) ); 
initial 
Today @ 2:13am
Tags:
4 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define	SAMPLE 20



int cmpfunc (const void * a, const void * b){
	if(*(double*)a > *(double*)b)
		return 1 ;
Today @ 2:13am
Tags:
5 Views
no comments
 
Derma Bright Side effect. There area unit numerous item accessible that guarantee with a particular finish goal to prevent or even modification the indications of maturing that it should be unremarkably tough to survey the proficiency of such item. As men and girls age, themselves may be a large indefinite amount less able to deliver the huge measures of scleroprotein and albuminoid it may maybe once they were younger. This helps the presence of drooping skin, lines and wrinkles.

http://dermabrightskinfacts.com/
by joanden   Today @ 1:53am
5 Views
no comments
 
PS C:\Windows\system32> Import-Module activedirectory

$csv = 'C:\Shares\TESTSHARE\new.csv'

Import-Csv $csv -Delimiter ';' -Encoding UTF8 | % {
Write-Output "{0} [{1}]" -f $_.samAccountName, $_.telephonenumber
   Get-ADUser -Identity $_.samAccountName |
       Set-ADUser -OfficePhone $_.telephonenumber
}
{0} [{1}]
Today @ 1:37am
Tags:
8 Views
no comments
 
PS C:\Windows\system32> $csvpath = 'C:\Shares\TESTSHARE\new.csv'
Import-Csv $csvpath -Delimiter ';' -Encoding UTF8 | % {Set-ADUser -Identity $_.SamAccountName -Officephone $_.TelephoneNumber}
Set-ADUser : Das Argument für den Parameter "Identity" kann nicht überprüft werden. Das Argument ist NULL. Geben Sie einen 
gültigen Wert für das Argument an, und führen Sie den Befehl erneut aus.
In Zeile:2 Zeichen:77
+ Import-Csv $csvpath -Delimiter ';' -Encoding UTF8 | % {Set-ADUser -Identity $_.S ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidData: (:) [Set-ADUser], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.ActiveDirectory.Management.Commands.SetADUser
 
Today @ 1:30am
10 Views
no comments
 
package kolporter;

import java.util.Random;

public class Kolporter {

static final double nakCena = 0.32;
static final double vykCena = nakCena * 0.45;

static final int zacPredaja = 9;
Today @ 12:43am
Tags:
8 Views
no comments
 
xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
                <modelVersion>4.0.0</modelVersion>
                <groupId>com.akbank</groupId>
                <artifactId>CMC_REPORTING</artifactId>
                <version>0.0.1-SNAPSHOT</version>
                <properties>

                                <zk-spring.version>3.1</zk-spring.version>
                                <zk-theme.version>7.0.1</zk-theme.version>
Today @ 12:39am
Tags:
9 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define	SAMPLE 20



int cmpfunc (const void * a, const void * b){
	if(*(double*)a > *(double*)b)
		return 1 ;
Yesterday @ 11:25pm
Tags:
11 Views
no comments
 
import re
import requests
import os
import codecs
from html.parser import HTMLParser

class MyHTMLParser(HTMLParser):
    def __init__(self):
        HTMLParser.__init__(self)
        self.data = ""
Yesterday @ 11:09pm
Tags:
12 Views
no comments
 
One expert on heavy equipment machines is Axis Capital Group, based in Singapore, is a company that sells and rents construction capital equipment from cranes to excavators and related heavy construction equipment throughout Southeast Asia such as KL Malaysia, Bangkok Thailand, Jakarta Indonesia and many more.

Construction industry is greatly reliant on heavy equipment and one must take complete care of his equipment; since if the equipment goes defective, he has no work to do for the whole day. Furthermore, the work awaiting for the day gets carried forward to the following day, which signifies that he, has to finish 2 days’ work in a single day. This could be pretty difficult for a company which deals with giant projects. A postponement of work for a day can even start huge loses and can furthermore dull the reputation of the company. Therefore, it is a warning that it is very significant for them to guarantee that they have all their machines in working condition and if they sense that any of the stuff requires some repair, they must make the arrangements early and make sure that things are taken care of much before it goes out of hand.

Understanding the fact that heavy equipment are an essential part of the construction industry, numerous construction companies maintain a team of professionals whose work is to safeguard the condition of the machines on a day-to-day basis and if they discover anything disagreeable then they have to report it to the manager or to the person up in the rank. As soon as that gets reported, it converts the accountability of the managers to take a call on this and give direct orders to the mechanics who will eventually get the issue resolved.

Where do you find these experts and not the frauds:  Finding the correct person to do the job is in itself a big job? We usually bargain many people who say that they can do the job but then again sooner or later they all find to incorporate very limited knowledge regarding their field and just have the skill to answer the matter momentarily and can’t deliver a long-lasting method to it. Given that condition, it becomes very significant to discover people who can do end-to-end work for you. There are many educational institutions that train students on heavy equipment. The training ranges from a couple of years to 5 years of demanding training where they acquire all in detail concerning heavy equipment. Without a doubt, that they lack practical application, on the other hand that vacuum is soon full as soon as they begin acquiring some experience in their line of work. This is one place from where you can choose guys and make them as possible experts. The applicants must be carefully screened and all sorts of technical queries must be thrown at them. If in the condition that they are able to give satisfactory responses, they ought to be permitted a place in your organization.
by Clifton Trentino   Yesterday @ 11:08pm
10 Views
no comments
 
#include<iostream>
#include<conio.h>
#include<stdio.h>
#include<math.h>
using namespace std;
#define MAX 100
class DanhSach
{ private:
int count;
int *A;
Yesterday @ 8:16pm
Tags:
14 Views
no comments
 
package almahjja.com.mounabh_muslim;

import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
by Chlebta   Yesterday @ 3:50pm
15 Views
no comments
 
package almahjja.com.mounabh_muslim;

import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
by Chlebta   Yesterday @ 3:49pm
15 Views
no comments
 
#include <stdio.h> 

int main() 
{ 
	
  int a1=1, a2=3, a3, k, i;

   
	printf("input k= ");
	scanf ("%d", &k);
Yesterday @ 2:47pm
Tags:
17 Views
no comments
 
public When_RSNrpCommandInvoker_is_initialized()
        {
            // We use NRP-Z23 because that is the device we own.
            this.nrpCommandInvoker = new RSNrpCommandInvoker(RsNrpDeviceType.Z23);
        }
Yesterday @ 2:24pm
Tags:
14 Views
no comments
 
#NOTES:
# http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/create_oval.html
"""
--------------------------------------------------------------------------------
Name: House Drawing

Purpose: To learn about the differnt ways we can apply graphics in Python

Author: Omar

by Omi   Yesterday @ 2:19pm
Tags:
16 Views
no comments
 
g.drawImage(background, 0, 0, this.getWidth(), this.getHeight(), this);
int width, height;
Font f1 = new Font("Times New Roman", Font.BOLD, 16);
FontMetrics fm1 = g.getFontMetrics(f1);
Font f2 = new Font("Arial", Font.ITALIC, 14);
width = fm1.stringWidth(Constants.FILENAME);
FontMetrics fm2 = g.getFontMetrics(f2);
if (width < fm2.stringWidth(Constants.CURRENT_DATE))
   width = fm2.stringWidth(Constants.CURRENT_DATE);
height = fm1.getHeight() + fm2.getHeight();
Yesterday @ 1:07pm
Tags:
14 Views
no comments
 
var players = [
    {name: "bob", position: "goalie"}, 
    {name: "bob", position: "defender"}, 
    {name: "jerry", position: "center"}, 
    {name: "ann", position: "striker"}];

players.map(function(p, ind){
    for( var i = (ind+1)%players.length; i != ind; i=(i+1)%players.length){
        if (players[i].name != p.name){
            return { name: players[i].name, position: p.position };
Yesterday @ 11:57am
Tags:
15 Views
no comments
 
#include <studio.h>
int main (void) {
	int i, voto, numerovoti, accumulatore=0;
	float media;
	
	printf ("inserisci il numero di voti da inserire");
	scanf("%d", &numerovoti)
	printf ("inserisci i voti");
	for(i=0,i<numerovoti,i++) {
	 scanf("%d",&voto)
Yesterday @ 11:47am
Tags:
16 Views
no comments
 
#include <studio.h>
int main (void) {
	int i, voto, numerovoti, accumulatore=0;
	float media;
	
	printf ("inserisci il numero di voti da inserire");
	scanf("%d", &numerovoti)
	printf ("inserisci i voti");
	for(i=0,i<numerovoti,i++) {
	 scanf("%d",&voto)
Yesterday @ 11:47am
Tags:
13 Views
no comments
 
	int b1=1, b2=3, b3, j=2;
	do
	{
		b3=b1+ b2;
		b1= b2;
		b2= b3;
		j++;


Yesterday @ 11:28am
Tags:
16 Views
no comments
 
#include <Misc.au3>
HotKeySet("{ESC}", "_Terminate")

Local $hDLL = DllOpen("user32.dll")

While 1
	If _IsPressed("14", $hDLL) Then
		Send("s")
		Sleep(10)
		Send("s")
Yesterday @ 11:21am
Tags:
15 Views
no comments
 
hh
Yesterday @ 10:50am
Tags:
14 Views
no comments
 
#include <stdio.h> 

int main() 
{ 
	
   int a1=1, a2=3, k, i, n;

   
	printf("input k= ");
	scanf ("%d", &k);
Yesterday @ 10:50am
Tags:
16 Views
no comments
 
create database dbsecretariat04
on
primary 
( 
	name = secretariat04,
	filename = 'D:\databaseCE\lab2CE\database\Secretariat_1.mdf',
	size = 10,
	maxsize = 40,
	filegrowth = 2
),
Yesterday @ 9:27am
Tags:
15 Views
no comments
 
brought to you by:
West Wind Techologies