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
@echo off | |
SETLOCAL | |
set pingTarget=yahoo.com | |
set fileName=pinglog.txt | |
set waitSeconds=420 | |
echo. | wtee -a %fileName% | |
echo ====================================================== | wtee -a %fileName% | |
echo Starting Ping Loop; Logging to %fileName% | wtee -a %fileName% |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
namespace Poly | |
{ | |
class A { public void Test() { Console.Write("A:: "); } } | |
class B : A { } | |
class C : B { } |
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
import 'dart:math'; | |
class RandomDigits { | |
static const MaxNumericDigits = 17; | |
static final _random = Random(); | |
static int getInteger(int digitCount) { | |
if (digitCount > MaxNumericDigits || digitCount < 1) throw new RangeError.range(0, 1, MaxNumericDigits, "Digit Count"); | |
var digit = _random.nextInt(9) + 1; // first digit must not be a zero | |
int n = digit; |
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
import 'dart:math'; | |
var Knave = false; | |
var Knight = true; | |
var knaveCount = 0; | |
var r = Random(); | |
List<bool> islanderList = List<bool>(); | |
bool lie(bool i) { return !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
import 'dart:math'; | |
var Knave = false; | |
var Knight = true; | |
bool lie(bool i) { return !i; } | |
String islanderToString(bool i) { return i == Knight ? "Knight" : "Knave"; } | |
String whisperToString(bool w) { return w ? "Yes" : "No"; } | |
String t(bool n) { return n ? "tells the truth" : "lies"; } |
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
// ==UserScript== | |
// @name OGameInterfaceFix | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Monkey with interface. | |
// @author You | |
// @match https://s116-us.ogame.gameforge.com/game/index.php?page=galaxy* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name NewTabMostVisitedRemoval | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description remove elements from newtab | |
// @author Sean Vikoren | |
// @match https://*/* | |
// @run-at document-end | |
// @grant GM_getValue | |
// @grant GM_setValue |
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
<!--- Hello.cfm =====================================---> | |
<html> | |
<head> | |
<title>Invoking Component Methods</title> | |
</head> | |
<body> | |
<h1>Invoking Component Methods</h1> | |
<!-- ====================================================================================== --> | |
<h2>Example 1: Transient Instantiation</h2> |