Format:
Recent snippets matching tags of
<# .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
11 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'));
7 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'));
5 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'));
4 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.
21 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));
8 Views
no comments
public class MyValidation { public enum ValidFormats { Any, Numeric } public static ValidFormats GetFormat(DependencyObject obj) { return (ValidFormats)obj.GetValue(FormatProperty);
10 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 {
10 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 {
13 Views
no comments
<Image Margin="367.056,8,8,0" VerticalAlignment="Top" Name="imgLargePreview" Width="640" Height="480" MaxHeight="480" MaxWidth="640" /> Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click saveImage() End Sub Sub saveImage() Dim encoder = New PngBitmapEncoder()
8 Views
no comments
//******************************// //Prevent wrong input for mobile //******************************// $("#Mobile").keydown(function (event) { // Allow: backspace, delete, tab and escape if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || // Allow: Ctrl+A (event.keyCode == 65 && event.ctrlKey === true) || // Allow: home, end, left, right
7 Views
no comments
http://altitudegame.com/friend/857014
5 Views
no comments
http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014
5 Views
no comments
#define ENGINE_MIN_SPEED_FACTOR -10 #define ENGINE_MAX_SPEED_FACTOR 10 #define ENGINE_SPEED_FACTORS (ENGINE_MAX_SPEED_FACTOR + 1)
4 Views
no comments
void setEngine(uint8_t engine, int8_t speed){ if(speed > MAX_CONTROL_ENGINE_SPEED){ speed = MAX_CONTROL_ENGINE_SPEED; } else if(speed < MIN_CONTROL_ENGINE_SPEED){ speed = MIN_CONTROL_ENGINE_SPEED; } int speed2 = engineSpeeds[abs(speed)];
4 Views
no comments
void setEngine(uint8_t engine, int8_t speed){
if(speed > MAX_CONTROL_ENGINE_SPEED){
speed = MAX_CONTROL_ENGINE_SPEED;
}
else if(speed < MIN_CONTROL_ENGINE_SPEED){
speed = MIN_CONTROL_ENGINE_SPEED;
}
int speed2 = engineSpeeds[abs(speed)];
4 Views
no comments
tgl=ctod('12/12/2011') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 tgl=ctod('12/01/2012') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 tgl=ctod('12/02/2012') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 && atau tgl=ctod('12/12/2011')
6 Views
no comments
/*
* add this function on model User
*/
public function getNameById($id){
$data = $this->Koordinator->Pasar->findById($id);
return $data['Pasar']['nama_pasar'];
}
11 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
