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
let tmp = this.currentTrack.copy(); | |
if(this.playlist.iter_next(tmp) | |
this.nextBtn.set_sensitive(true); | |
else | |
this.nextBtn.set_sensitive(false); | |
tmp = this.currentTrack.copy(); | |
if(this.playlist.iter_previous(tmp) | |
this.prevBtn.set_sensitive(true); | |
else |
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
From 2fc458ab95b2331c4f6551f8d78e186fe9ff4a6f Mon Sep 17 00:00:00 2001 | |
From: Guillaume Quintard <guillaume.quintard@gmail.com> | |
Date: Mon, 6 May 2013 23:08:27 +0200 | |
Subject: [PATCH] correct naming, and fix playlist caching in album view | |
--- | |
src/player.js | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/src/player.js b/src/player.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
--- utils/bombardment.in.old 2013-10-11 13:57:19.290059746 +0200 | |
+++ utils/bombardment.in 2013-10-11 14:01:19.300384058 +0200 | |
@@ -89,16 +89,14 @@ | |
currentcl=$startcl # set running count of clients to inital value | |
-i=0 | |
-j=1 | |
-while [ $numruns -gt $i ] | |
+i=1 |
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
server s1 { | |
rxreq | |
txresp | |
} -start | |
varnish v1 -vcl+backend { | |
import std; | |
sub vcl_deliver { | |
if (server.ip ~ req.http.foo) {} |
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
server s1 { | |
rxreq | |
expect req.url == "foo" | |
txresp | |
} -start | |
varnish v1 -vcl+backend { | |
sub vcl_miss { | |
set req.http.state = "MISS"; | |
} |
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
<html> | |
<head> | |
<title>JQVMap - World Map</title> | |
<link href="https://raw.githubusercontent.com/manifestinteractive/jqvmap/master/dist/jqvmap.css" media="screen" rel="stylesheet" type="text/css"> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script type="text/javascript" src="https://rawgit.com/manifestinteractive/jqvmap/master/dist/jquery.vmap.js"></script> | |
<script type="text/javascript" src="https://rawgit.com/manifestinteractive/jqvmap/master/dist/maps/jquery.vmap.world.js" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var g_reqs = {}; |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Varnish Configuration Object", | |
"type": "object", | |
"required": ["backends", "rules"], | |
"properties": { | |
"backends": { | |
"description": "list of origin servers", | |
"type": "array", | |
"items": { |
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
vcl 4.0; | |
import std | |
import directors | |
backend foo { | |
.host = "127.0.0.1"; | |
} | |
backend bar { |
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
varnishtest "416" | |
server s1 { | |
rxreq | |
send "HTTP/1.1 200 OK\r\n" | |
send "Content-length: 16\r\n" | |
send "\r\n" | |
send "012345678910" | |
delay 1 | |
send "abcdef" |