Skip to content

Instantly share code, notes, and snippets.

View Webbanditten's full-sized avatar
Build failed

Patrick Nærvig Wøhlk Webbanditten

Build failed
View GitHub Profile
{
"captainVersion": "2",
"documentation":"http://www.quakejs.com/",
"displayName": "quakejs",
"description": "QuakeJS is a port of ioquake3 to JavaScript with the help of Emscripten.",
"dockerCompose":{
"services":{
"$$cap_appname":{
"containerHttpPort":"80",
"environment":{
{
"captainVersion": "2",
"documentation":"https://docs.requarks.io/",
"displayName": "wiki.js",
"description": "The most powerful and extensible open source Wiki software",
"dockerCompose":{
"services":{
"$$cap_appname":{
"containerHttpPort":"3000",
"environment":{
@Webbanditten
Webbanditten / ghost-caprover.yml
Last active June 3, 2022 20:53
GHOST-CAPROVER
captainVersion: 4
services:
$$cap_appname:
environment:
database__client: 'mysql'
database__connection__host: $$cap_mariadb_host
database__connection__database: $$cap_ghost_database_name
database__connection__password: $$cap_ghost_database_password
database__connection__user: $$cap_ghost_database_user
database__connection__port: '3306'
RewriteCond %{REQUEST_URI} !^.well-known/acme-challenge
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^.well-known/acme-challenge
REWRITERULE ^(.*)$ https://cyberpanel/$1 [P]
@Webbanditten
Webbanditten / program.cs
Created July 26, 2017 10:43
List Project administrator and collection administrators on TFS
using System;
using System.Linq;
using Microsoft.TeamFoundation.Framework.Common;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Framework.Client;
using System.Collections.Generic;
using Microsoft.TeamFoundation.Core.WebApi;
using Microsoft.TeamFoundation.Server;
using ProjectInfo = Microsoft.TeamFoundation.Server.ProjectInfo;
@Webbanditten
Webbanditten / ActiveDirectoryGroupFilter.cs
Last active March 7, 2017 07:41
ActiveDirectoryGroupFilter.cs
using System;
using System.Collections.Generic;
using System.DirectoryServices.AccountManagement;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
public class ActiveDirectoryGroupFilter : ActionFilterAttribute
{

Material Design Spinner

CSS and SVG recreation of the new Google material design loading spinner.

A Pen by Fran Pérez on CodePen.

License.

// Released under MIT license: http://www.opensource.org/licenses/mit-license.php
$('[placeholder]').focus(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
input.val('');
input.removeClass('placeholder');
}
}).blur(function() {
var input = $(this);
@Webbanditten
Webbanditten / gist:1992449
Created March 7, 2012 10:37
HTML5 + Jquery
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
</head>
<body>