This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.validator.methods.range = function (value, element, param) { | |
var globalizedValue = value.replace(",", "."); | |
return this.optional(element) || (globalizedValue >= param[0] && globalizedValue <= param[1]); | |
} | |
$.validator.methods.number = function (value, element) { | |
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:[\s\.,]\d{3})+)(?:[\.,]\d+)?$/.test(value); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("table.a-GV-table tr>td:nth-child(2)").filter(function( index ) { | |
return $( this ).html() === "Atlanta"; | |
}).parent().children(":nth-child(1)").css({visibility: "hidden" }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://api.wunderground.com/api/637a4c5321cdadb1/forecast/q/Canada/Sept-Iles.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://raw.githubusercontent.com/jquery/jquery-ui/master/ui/i18n/datepicker-fr-CA.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="jquery-3.1.1.js" /> | |
$(function () { | |
$("#btnEmployes").click(function () { | |
var httpRequest = new XMLHttpRequest(); | |
httpRequest.addEventListener("readystatechange", | |
function () { | |
if (httpRequest.readyState === | |
XMLHttpRequest.DONE) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pour le lab 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pour le lab 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
HttpClient client = new HttpClient(); | |
client.BaseAddress =new Uri("http://localhost:52516/api/abonnement"); | |
client.DefaultRequestHeaders.Accept.Clear(); | |
client.DefaultRequestHeaders.Accept.Add( | |
new MediaTypeWithQualityHeaderValue("application/json")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir bin -Directory -recurse | rd -Recurse -Force | |
dir obj -Directory -recurse | rd -Recurse -Force | |
dir packages -Directory -recurse | rd -Recurse -Force | |
dir .vs -Directory -Hidden -recurse | rd -Recurse -Force | |
dir *.mdf -file -recusre | del -force | |
dir *.ldf -file -recusre | del -force |