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
<asp:ListItem>2016</asp:ListItem> | |
<asp:ListItem>2015</asp:ListItem> | |
<asp:ListItem>2014</asp:ListItem> | |
<asp:ListItem>2013</asp:ListItem> | |
<asp:ListItem>2012</asp:ListItem> | |
<asp:ListItem>2011</asp:ListItem> | |
<asp:ListItem>2010</asp:ListItem> | |
<asp:ListItem>2009</asp:ListItem> | |
<asp:ListItem>2008</asp:ListItem> | |
<asp:ListItem>2007</asp:ListItem> |
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
using System; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using System.Collections.Generic; | |
public class MessageBox | |
{ | |
/// <summary> | |
/// Displays an Message Box with the defined Text and title, current supporting only "okCancel" Buttons | |
/// </summary> |
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
using System; | |
using System.Collection.Generic; | |
using System.Web; | |
public class inputUtils | |
{ | |
public void clearAll(Control[] _controls) | |
{ | |
for(int i = 0; i > _controls.Lenght; i++) | |
{ |
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
{ | |
"options": { | |
"population": 50, | |
"elitism": 0.2, | |
"randomBehaviour": 0.1, | |
"mutationRate": 0.5, | |
"mutationRange": 2, | |
"network": [ | |
16, | |
[ |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
namespace KeyGenerator { | |
class Program { | |
static readonly char[] valid = "0123456789abcdefghijklmnopqrstuvxywzABCDEFGHIJKLMNOPQRSTUVXYWZ".ToCharArray(); | |
static string lastKey = String.Format("{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}", valid[0]); | |
static double lastIndex = 0; |
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
#Path to the AndroidManifest | |
$p="path\to\manifest\AndroidManifest.xml" | |
#Get the content of the file | |
$f=Get-Content $p | |
#Describe the pattern to search to edit the versionCode with RegEx | |
$r=@" | |
android:versionCode="\d+" | |
"@ |
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
#!/bin/bash | |
nuget.exe sources Add -Name "<Source Name>" -Source "<Sorce link>" -username "abcd" -password "****" |
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
using Xamarin.Forms; | |
namespace vhoyer.XamPlugins.MoreModals | |
{ | |
public class LoadingModal | |
{ | |
private AbsoluteLayout layout; | |
private AbsoluteLayout AbsLoadingBG, AbsLoadingFG; | |
private ActivityIndicator ActLoading; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<input autofocus type="text" id="color" /> | |
<div id="colors"></div> |
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
excelIt = async () => { | |
let text = ""; | |
let unread = document.querySelectorAll(".emails-list-item.email-unreaded > a"); | |
unread.forEach(e => { | |
e.click(); | |
await new Promise(resolve => setTimeout(resolve, 10000)); | |
var iframe = document.querySelector("iframe").contentDocument; |
OlderNewer