This file contains hidden or 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> | |
<head> | |
<title>Selenium Test Example Page</title> | |
</head> | |
<body style="margin: 20px" onload="checkParams()"> | |
<h2>Selenium Test Example Page</h2> | |
<p id="intro"> |
This file contains hidden or 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
# quick install: | |
# source <(curl -sSLk https://gist.githubusercontent.com/piccaso/2ff65b87ef907f286b9d/raw/typo3-6.2-quickinstall.sh) | |
curl -sSLk -o typo3_src.tgz 'https://get.typo3.org/6.2' | |
tar -zxf typo3_src.tgz | |
rm typo3_src.tgz | |
ln -s typo3_src-6.2.* typo3_src | |
ln -s typo3_src/index.php index.php | |
ln -s typo3_src/typo3 typo3 |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
# curl https://gist.githubusercontent.com/piccaso/431d30e5c979e3d2ba1f/raw | bash | |
# related: http://bit.ly/1AJNMRA http://git.io/vk9it | |
# clone somewhere... | |
cd `mktemp -d` && git clone https://git.typo3.org/Packages/TYPO3.CMS.git && cd TYPO3.CMS/ | |
{ | |
# setup/reset | |
WORKINGBRANCH="TYPO3_7-0" |
This file contains hidden or 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
jQuery(document).ready(function($){ | |
'use strict'; | |
function nurseLinks(){ | |
$('a').each(function(i,e){ | |
function trySel(sel){ | |
if($(sel).length > 0){ $(e).attr('href', sel); return true; } | |
return false; | |
} | |
var h = e.hash.toString().match(/^#.+/); |
This file contains hidden or 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
VBoxManage.exe internalcommands createrawvmdk -filename "%1-linked.vmdk" -rawdisk "%1" | |
@pause |
This file contains hidden or 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
/* | |
needs libmosquitto-dev | |
$ gcc -o libmosq libmosq.c -lmosquitto | |
*/ | |
#include <stdio.h> | |
#include <mosquitto.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> |
This file contains hidden or 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.Linq; | |
using FluentAssertions; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace UriAppend | |
{ | |
public static class UriExtensions | |
{ | |
public static Uri Append(this Uri baseUri, string relativeUrl) => new Uri(baseUri, relativeUrl); |
This file contains hidden or 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
Tracing enabled | |
--- Invoked dotnet [version: 2.0.6, commit hash: 74b1c703813c8910df5b96f304b0f2b78cdf194d] main = { | |
dotnet | |
WebApiSample.dll | |
} | |
Reading fx resolver directory=[/usr/share/dotnet/host/fxr] | |
Considering fxr version=[..]... | |
Considering fxr version=[2.0.6]... | |
Considering fxr version=[.]... | |
Detected latest fxr version=[/usr/share/dotnet/host/fxr/2.0.6]... |