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
<input type="text" class="st-default-search-input"> | |
<script type="text/javascript"> | |
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){ | |
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t); | |
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e); | |
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st'); | |
_st('install','ydRtnwX-2KQsWoMfitie','2.0.0'); | |
</script> |
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
//PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012 | |
//UPDATE: This gist has been made into a Node.js module and now can be installed with "npm install js-crawler" | |
//the Node.js version does not use Phantom.JS, but the API available to the client is similar to the present gist | |
(function(host) { | |
function Crawler() { | |
this.visitedURLs = {}; | |
}; | |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<definitions name="HelloWorldService" | |
targetNamespace="http://www.dineshonjava.com/wsdl/HelloWorldService.wsdl" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:tns="http://www.dineshonjava.com/wsdl/HelloWorldService.wsdl" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<types> | |
<xsd:schema targetNamespace="http://www.dineshonjava.com/wsdl/HelloWorldService.wsdl" |
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 Facebook? Nevim! | |
// @description Facebook? Nevim! | |
// | |
// @author Lukas Novy <lukas.novy@pirati.cz> | |
// @namespace http://github.com/krtek-net | |
// | |
// @license GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt | |
// @copyright Copyright (C) 2015, by Lukas Novy <lukas.novy@pirati.cz> | |
// |
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
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi qw(command_bind signal_add); | |
use IO::File; | |
use LWP::Simple; | |
$VERSION = '0.21'; | |
%IRSSI = ( | |
authors => 'Lukas Novy', |
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
watch -d -n 30 'wget -q -O - https://www.bitcoinbuilder.com/trades.php | json_reformat | grep quantity | head' |
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
$idfile = $_GET["id"]; //a to se rovna 1 | |
while (false!==($file = readdir($vypis))) | |
{ | |
$idcko = ($idcko + 1); | |
$idckoo = "&idcko=".$idcko.""; | |
$image[$idckoo] = $file; | |
} | |
// ukonceni while apod | |
echo $image[$idfile]; //mi nevypise zhola nic a melo by to vypsat nazev souboru ve slozce, ktery je hned vedle |