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
/* | |
yahoo-finance-proxy - прокси получения котировок из Yahoo Finance для https://github.com/KonishchevDmitry/investments | |
Работает на 15 апр 2023 | |
В config.yaml добавить | |
quotes: | |
custom_provider: | |
url: http://127.0.0.1:12345 |
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
{ | |
"blocks" : [ | |
{ | |
"id" : "FL/17", | |
"src" : "/tv/lean/fl/in?id=17", | |
"stat" : { | |
"tp" : "channel" | |
}, | |
"title" : "Проба" | |
}, |
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
#!/usr/bin/env perl | |
use v5.14; | |
use strict; | |
use warnings; | |
package T { | |
use Moose; | |
use vars qw(%defaults); |
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
package CatalystX::OrderedActions; | |
use Moose::Role; | |
use namespace::autoclean; | |
use Carp; | |
use Scalar::Util 'looks_like_number'; | |
use List::MoreUtils 'uniq'; | |
use Data::Dumper; |
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 warnings; | |
use Test::Most; | |
use lib 't/lib'; | |
use HTTP::Request::Common qw(GET POST DELETE PUT); | |
package MyApp::Controller::Root { | |
use Moose; |
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
javascript:(function(){ | |
var getXmlHttp = function () { | |
var xmlhttp; | |
try { | |
xmlhttp = new ActiveXObject('Msxml2.XMLHTTP'); | |
} catch (e) { | |
try { | |
xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); | |
} catch (e) { |
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
javascript:(function () { | |
var $j, getPage, add_scripts; | |
getPage = function (num) { | |
$j.get('http://gaga.aliexpress.com/?page=' + num).done(function (data) { | |
var $products = $j('#products-wrap'); | |
var $children = $j(data).find('#products-wrap').children(); | |
if ($children.length) { | |
$children.each(function (idx, el) { | |
$j(el).appendTo($products); |
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
javascript:(function(){ | |
var getXmlHttp = function () { | |
var xmlhttp; | |
try { | |
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); | |
} catch (e) { | |
try { | |
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); | |
} catch (e) { | |
xmlhttp = false; |
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
package HTML::FormHandlerX::Field::TraitFor::Repeatable::Speedup; | |
=head1 NAME | |
HTML::FormHandlerX::Field::TraitFor::Repeatable::Speedup - just a try to speedup | |
Repeatable fields | |
=head1 DESCRIPTION | |
Every time you validate your form, which has Repeatable fields, for each value in input for |