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" />-->
17 Views
no comments
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)
4 Views
no comments
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();
6 Views
no comments
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();
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])
28 Views
no comments
#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]; };
9 Views
no comments
#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]; };
18 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. *
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. *
15 Views
no comments
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())
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;
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.
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'));
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'));
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'));
6 Views
no comments
/*********************************************/ /* 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.
28 Views
no comments
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));
12 Views
no comments
public class MyValidation { public enum ValidFormats { Any, Numeric } public static ValidFormats GetFormat(DependencyObject obj) { return (ValidFormats)obj.GetValue(FormatProperty);
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 {
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 {
17 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
