close git-bash first
download bin-make.exe
put it in programs (x86)/Git/bin as 'make.exe'.
open git-bash $ cd to a temp or bullpen directory
try it:
| sub run { | |
| my ($self) = @_; | |
| $0 = $self->{procname}; | |
| # Создаем процессы слейвов | |
| for my $slave_id (sort {$a <=> $b} keys %{$self->{_respawn_ctl}}) { | |
| debug "Spawning slave: $slave_id"; | |
| my $slave = AsyncJobsServer::Slave->new( |
| #!/bin/sh | |
| # Usage: cpannti.sh <module_names> | |
| # cpan (i.e. App::Cpan) does not provide a direct way to install modules without | |
| # testing them, as you can do in the CPAN shell with: | |
| # | |
| # cpan[1]> notest install FooBarBaz | |
| # | |
| # App::Cpan uses CPAN::Shell under the hood to perform installation, so let's do |
| import logging | |
| import timeit | |
| logger = logging.getLogger(__name__) | |
| def log_noop(): | |
| pass | |
| def log_simple(): | |
| logger.info("Testing") |
close git-bash first
download bin-make.exe
put it in programs (x86)/Git/bin as 'make.exe'.
open git-bash $ cd to a temp or bullpen directory
try it:
| #!/usr/bin/ruby | |
| class IPGenerator | |
| public | |
| def initialize(session_count, session_length) | |
| @session_count = session_count | |
| @session_length = session_length | |
| @sessions = {} | |
| end |
| #!/usr/bin/perl | |
| # example perl code, this may not actually run without tweaking, especially on Windows | |
| use strict; | |
| use warnings; | |
| =pod | |
| IO::Uncompress::Unzip works great to process zip files; but, it doesn't include a routine to actually | |
| extract an entire zip file. |
| #!/usr/bin/env perl | |
| use 5.010; | |
| use open qw(:locale); | |
| use strict; | |
| use utf8; | |
| use warnings qw(all); | |
| use Mojo::UserAgent; | |
| # FIFO queue |
| package MyDB ; | |
| =head1 NAME | |
| MyDB - Module handling access to MySQL databases | |
| =head2 DESCRIPTION | |
| Mostly used within DB.pm, which handles the actual queries. This handles | |
| connecting to the actual databases. |
| #!/usr/bin/env perl | |
| use feature qw{ say state unicode_eval unicode_strings } ; | |
| use strict ; | |
| use warnings ; | |
| use utf8 ; | |
| use Data::Dumper ; | |
| use Mojo::DOM ; | |
| use Web::Query ; |
| #!/usr/bin/env perl | |
| use 5.016; | |
| use common::sense; | |
| use utf8::all; | |
| # Use fast binary libraries | |
| use EV; | |
| use Web::Scraper::LibXML; | |
| use YADA 0.039; |