CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of r
<!-- ========================================================== -->
<!-- Implementasi JQuery - VFP (1), by hanstedjakusuma, 05/2012 -->
<!-- ========================================================== -->
<!-- * Thanks to P.Onytoo untuk procedure/function penghubung VFP dengan webpage * -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title></title>
<!--    <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.20.custom.css" rel="stylesheet" />-->
by Hans Tedjakusuma   Yesterday @ 9:34am
Tags: foxpro, jquery
17 Views
no comments
 
C#
private void BerekenLangsteDeelrij() {
            huidigBeginPos = 0;
 
            for (byte i = 1 ; i < Rij.Length ; i++) {
                if (Rij[i] == Rij[i - 1]) {
                    huidigEindPos = i;
 
                    if ((huidigEindPos - huidigBeginPos) > MaxAantalElementen) { // als het verschil van de eind- en beginpositie groter is dan het huidige maximum
                        BeginPositie = huidigBeginPos + 1; // zet de opgeslagen beginpos op de beginpos van die rij + 1 (want we rekenen vanaf 1 bij de output)
                        EindPositie = huidigEindPos + 1; // zet de opgeslagen eindpos op de eindpos van die rij + 1 (want we rekenen vanaf 1 bij de output)
Yesterday @ 6:39am
4 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace VoorbeeldExamenSem2 {
    class LangsteDeelrij {
        private int[] rij;
        private int beginPos = 0, eindPos = 0, huidigBeginPos, huidigEindPos;
        private Random rnd = new Random();
Yesterday @ 6:31am
6 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace VoorbeeldExamenSem2 {
    class LangsteDeelrij {
        private int[] rij;
        private int beginPos = 0, eindPos = 0, huidigBeginPos, huidigEindPos;
        private Random rnd = new Random();
by Stijn   Yesterday @ 6:25am
8 Views
no comments
 
create cursor ckel (kode c(10))
insert into ckel (kode) values ('Jateng')
insert into ckel (kode) values ('Jatim')
insert into ckel (kode) values ('Jabar')
 
create cursor ckota (kel c(10), kode c(3), nama c(30), catatan m)
insert into ckota (kel, kode, nama, catatan) values ('Jateng','001','Banjarnegara', [Sunrise Inc Liviu Hodor Still the same])
insert into ckota (kel, kode, nama, catatan) values ('Jateng','002','Magelang', [Sunrise Inc Liviu Hodor Still the same])
insert into ckota (kel, kode, nama, catatan) values ('Jateng','003','Batang', [Sunrise Inc Liviu Hodor Still the same])
insert into ckota (kel, kode, nama, catatan) values ('Jateng','004','Blora', [Sunrise Inc Liviu Hodor Still the same])
by Hans Tedjakusuma   Sunday @ 10:29pm
Tags: foxpro, jquery
28 Views
no comments
 
C++
#include <stdio.h>
#include <stdlib.h>
 
int main(int argc, char *argv[])
{
  int familyMembers=0,a;
  struct people {
    int id, age;
    char name[50], sex[8];
  };
Sunday @ 11:46am
9 Views
no comments
 
C++
#include <stdio.h>
#include <stdlib.h>
 
int main(int argc, char *argv[])
{
  char familyMembers=0,a,b;
  struct people {
    int id, age;
    char name[50], sex[8];
  };
Sunday @ 6:45am
Tags: Broken, struct, c,
18 Views
no comments
 
C++
#include <stdio.h>
#include <cs50.h>
 
int main (void) {
/*******************************************************************************************************
*                                                                                                      *
* This program will ask the user how many days are in the month and how many pennies they would like   *
* to receive on day one.  Based upon this information provided it will figure out how much money a     *
* person would receive each day of the month & how much a person would have in total at the end of the *
* month.                                                                                               *
May 17, 2012 @ 5:07pm
31 Views
no comments
 
#include <stdio.h>
#include <cs50.h>
 
int main (void) {
/*******************************************************************************************************
*                                                                                                      *
* This program will ask the user how many days are in the month and how many pennies they would like   *
* to receive on day one.  Based upon this information provided it will figure out how much money a     *
* person would receive each day of the month & how much a person would have in total at the end of the *
* month.                                                                                               *
May 17, 2012 @ 5:06pm
15 Views
no comments
 
C#
public static string RenderViewToString(string viewPath, object model,ControllerContext context)
{            
    var viewEngineResult = ViewEngines.Engines.FindView(context, viewPath, null);
    var view = viewEngineResult.View;
    
 
    context.Controller.ViewData.Model = model;
                                                    
    string result = String.Empty;
    using (var sw = new StringWriter())
by Rick Strahl   May 17, 2012 @ 10:51am
467 Views
no comments
 
package viiad.task;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.util.Log;
May 17, 2012 @ 10:19am
Tags: android, map
15 Views
no comments
 
<#
.COMPONENT
    NUPosh
.SYNOPSIS
    Test if an Assembly (.dll) is already loaded. 
.DESCRIPTION
    Test if an Assembly of the same name is already loaded in the current runspace. 
    Using the -PasThru parameter will return the AssemblyInfo object along with the boolean. 
.PARAMETER  Name
    The file name of the Assembly.   
by qawarrior   May 17, 2012 @ 7:42am
33 Views
no comments
 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>Örnek Uygulama</title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
    $(function(){
        $('#menu ul li a').click(function(){
            history.pushState('', $(this).text(), $(this).attr('href'));
by Batuhan AYDIN   May 17, 2012 @ 1:34am
14 Views
no comments
 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>Örnek Uygulama</title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
    $(function(){
        $('#menu ul li a').click(function(){
            history.pushState('', $(this).text(), $(this).attr('href'));
by Batuhan AYDIN   May 17, 2012 @ 1:34am
10 Views
no comments
 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>Örnek Uygulama</title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
    $(function(){
        $('#menu ul li a').click(function(){
            history.pushState('', $(this).text(), $(this).attr('href'));
by Batuhan AYDIN   May 17, 2012 @ 1:34am
6 Views
no comments
 
C++
/*********************************************/
/* This program will ask how many students   */
/* are in the class.  Based upon your answer */
/* it will then ask what the ages are for    */
/* each student.  From the answers provided  */
/* it will round to the nearest whole number */
/* the average age for the class.            */
/*********************************************/
#include <stdio.h> // Allows printf() function
#include <math.h> // Allows the roundf function to be used.
by Wayne   May 15, 2012 @ 4:49pm
28 Views
no comments
 
C#
public sealed partial class BlankPage : Page
{
    public BlankPage()
    {
        this.InitializeComponent();
 
        var _String = "<special:Users xmlns:special='http://jerry'><User Key='1' Name='Jerry' /><User Key='2' Name='Michael' /></special:Users>";
        using (var _Reader = System.Xml.XmlReader.Create(new StringReader(_String)))
        {
            var _Serializer = new System.Xml.Serialization.XmlSerializer(typeof(Users));
by Jerry Nixon   May 15, 2012 @ 3:01pm
12 Views
no comments
 
C#
public class MyValidation
{
    public enum ValidFormats
    {
        Any, Numeric
    }
 
    public static ValidFormats GetFormat(DependencyObject obj)
    {
        return (ValidFormats)obj.GetValue(FormatProperty);
by Jerry Nixon   May 15, 2012 @ 12:51pm
Tags: XAML, WinRT
15 Views
no comments
 
package eu.man.phevos.dx.mock.gep.test
 
import java.io.FileInputStream
import java.util.Arrays
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
 
object StreamTest extends App {
by Michael Wellner   May 15, 2012 @ 11:17am
15 Views
no comments
 
package eu.man.phevos.dx.mock.gep.test
 
import java.io.FileInputStream
import java.util.Arrays
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
 
object StreamTest extends App {
by Michael Wellner   May 15, 2012 @ 11:15am
17 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