view release on metacpan or search on metacpan
xtools/my-deb.sh view on Meta::CPAN
#------------------------------------------------------------------------------
# lintian .deb and source
lintian -I -i \
--suppress-tags new-package-should-close-itp-bug,desktop-entry-contains-encoding-key \
$DEBFILE
TEMP="/tmp/temp-lintian-$DISTVNAME"
rm -rf $TEMP
mkdir $TEMP
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Math/SymbolicX/FastEvaluator.pm view on Meta::CPAN
=head2 PERFORMANCE
Using all this combersome indirection, the evaluation of C<FastEvaluator>
expressions proceeded at a pace of over 200 million tokens per second on my
1.8GHz Core2 laptop which was busy with various desktop tasks at the same time.
A token is a number, variable or operator. Since I was
testing with a string of multiplications, this translates to roughly
100 MFLOPS. You can consider this fast or slow, but compared to Perl
evaluation, this is at least a factor of ten faster. When variables are added into
the picture, the improvement should be even larger.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Maypole/Manual/BuySpy.pod view on Meta::CPAN
L<Request Cookbook|Maypole::Manual::Request>.
So this is what I did. I created a method in C<Portal::Module> that would
set the template to the appropriate C<ascx> file:
sub view_desktop :Exported {
my ($self, $r) = @_;
$r->template($r->objects->[0]->definition->DesktopSrc);
}
and changed the C<pane> macro to fire off a sub-request for each module:
[% MACRO pane(panename) BLOCK;
FOR module = tab.modules("pane", panename);
SET path = "/module/view_desktop/" _ module.id;
request.component(path);
END;
END; %]
This did the right thing, and a call to C</module/view_desktop/12> would
look up the C<Html Document> module definition, find the C<DesktopSrc> to
be F<DesktopModules/HtmlModule.ascx>, and process module 12 with that
template. Once I had converted F<HtmlModule.ascx> to be a Template Toolkit
file (and we'll look at the conversion of the templates in a second) it
would display nicely on my portal.
lib/Maypole/Manual/BuySpy.pod view on Meta::CPAN
Except it was all very slow; we were firing off a large number of Maypole
requests in series, so that each template could get at the objects it
needed. Requests were taking 5 seconds.
That's when it dawned on me that these templates don't actually need different
objects at all. The only object of interest that C</module/view_desktop> is
passing in is a C<module> object, and each template figures everything out by
accessor calls on that. But we already have a C<module> object, in our C<FOR>
loop - we're using it to make the component call, after all! Why not just
C<PROCESS> each template inside the loop directly?
lib/Maypole/Manual/BuySpy.pod view on Meta::CPAN
END;
END;
END; %]
This worked somewhat better, and took request times from 5 seconds down
to acceptable sub-second levels again. I could take the C<view_desktop>
method out again; fewer lines of code to maintain is always good. Now
all that remained to do for the view side of the portal was to convert
our ASP templates over to something sensible.
=head2 ASP to Template Toolkit
view all matches for this distribution
view release on metacpan or search on metacpan
t/01_basic.t view on Meta::CPAN
==Licensing==
'''Fair use rationale:'''
# This is a historically significant work that could not be conveyed in words.
# Inclusion is for information, education and analysis only.
# Its inclusion in the article(s) adds significantly to the article(s) because it shows the subject, or the work of the subject, of the article(s).
# The image is a low resolution copy of the original work and would be unlikely to impact sales of prints or be usable as a desktop backdrop.
{{Non-free 2D art}}", undef, "Leon Golub");
is($res, 0, "Parser test #6");
$res=$wikipedia->checkimage("File:Sample.jpg", "User:Test", undef, "== Licensing ==
{{Non-free album cover}}
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/English-Wikipedia-Perl-Page-2012-04-26.html view on Meta::CPAN
<li><a href="/wiki/Apache_Software_Foundation" title="Apache Software Foundation">Apache Software Foundation</a></li>
<li><a href="/wiki/Android_Open_Source_Project" title="Android Open Source Project" class="mw-redirect">Android Open Source Project</a></li>
<li><a href="/wiki/Blender_Foundation" title="Blender Foundation">Blender Foundation</a></li>
<li><a href="/wiki/Eclipse_Foundation" title="Eclipse Foundation">Eclipse Foundation</a></li>
<li><a href="/wiki/FreeBSD_Foundation" title="FreeBSD Foundation">FreeBSD Foundation</a></li>
<li><a href="/wiki/Freedesktop.org" title="Freedesktop.org">freedesktop.org</a></li>
<li><a href="/wiki/Free_Software_Foundation" title="Free Software Foundation">Free Software Foundation</a>
<ul>
<li><a href="/wiki/Free_Software_Foundation_Europe" title="Free Software Foundation Europe">Europe</a></li>
<li><a href="/wiki/Free_Software_Foundation_of_India" title="Free Software Foundation of India">India</a></li>
<li><a href="/wiki/Free_Software_Foundation_Latin_America" title="Free Software Foundation Latin America">Latin America</a></li>
view all matches for this distribution
view release on metacpan or search on metacpan
MendeleSQLite
=============
A collection of tools written in Perl for working directly with the Mendeley client SQLite database.
For more information on how to locate the Mendeley Desktop database: http://support.mendeley.com/customer/portal/articles/227951-how-do-i-locate-mendeley-desktop-database-files-on-my-computer-
While most of these tools operate on a read-only basis, always make a backup of your data before hand: either use the built-in desktop client's backup function or make a copy of the file itself.
For more information on how to backup your local database: http://www.mendeley.com/faq/#howto-backup-data
Tools
________
view all matches for this distribution
view release on metacpan or search on metacpan
site/theme/css/skeleton.css view on Meta::CPAN
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Message/Passing/Output/PocketIO.pm view on Meta::CPAN
Message::Passing::Output::PocketIO - Output passing message as PocketIO Server
=head1 DESCRIPTION
Run a webserver using PocketIO, then we can see the passing messages by browser. Even notify by chrome desktop notification api.
=head1 SYNOPSIS
$ message-passing --input STDIN --output PocketIO
{"foo" : "bar"}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Metabrik/Remote/Wmi.pm view on Meta::CPAN
#
# Howto enable WMI on a Windows machine
# http://community.zenoss.org/docs/DOC-4517
#
# Troubleshoot WMI connexion issues:
# wbemtest.exe + https://msdn.microsoft.com/en-us/library/windows/desktop/aa394603(v=vs.85).aspx
#
# dcomcnfg => DCOM permission for user
# Computer/Manage/Properties => 'WMI Control/Properties/Security'
#
# Open firewall for DCOM service
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/Minion/resources/public/minion/fontawesome/fontawesome.css view on Meta::CPAN
/*!
* Font Awesome Free 5.13.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Generic/File/Magic.pm view on Meta::CPAN
C<libmagic.so.1> is loaded at runtime via C<dlopen(3)> - no C<magic.h>, no C<libmagic-dev> package required at build time. Full libmagic accuracy and performance. The C<MAGIC_COMPRESS>, C<MAGIC_SYMLINK>, and all other flags
are fully supported. C<compile()>, C<check()>, and C<list()> are only available at this level.
=item B<Level 2 - json>
C<libmagic> is absent. The module loads C<lib/Module/Generic/File/magic.json> (generated from the freedesktop.org shared-mime-info database, bundled with the distribution) and runs pure-Perl byte-pattern matching. Covers ~500 MIME types with magic si...
=item B<Level 3 - file>
No pattern matched at level 2. Invokes C<file(1)> in a subprocess as a last resort. C<from_buffer> writes a temporary file via L<File::Temp>.
lib/Module/Generic/File/Magic.pm view on Meta::CPAN
=over 4
=item * C<lib/Module/Generic/File/magic.json>
Bundled magic signature database generated from the freedesktop.org shared-mime-info XML. Used by the json backend. To regenerate:
perl scripts/gen_magic_json.pl [xml_path] [out_json_path]
=back
view all matches for this distribution
view release on metacpan or search on metacpan
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix dist: <http://purl.org/NET/cpan-uri/dist/Module-Install-Contributors/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project
a doap:Project;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Install/Admin/Copyright.pm view on Meta::CPAN
use RDF::Trine::Namespace qw[RDF RDFS OWL XSD];
my $CPAN = RDF::Trine::Namespace->new('http://purl.org/NET/cpan-uri/terms#');
my $DC = RDF::Trine::Namespace->new('http://purl.org/dc/terms/');
my $DOAP = RDF::Trine::Namespace->new('http://usefulinc.com/ns/doap#');
my $FOAF = RDF::Trine::Namespace->new('http://xmlns.com/foaf/0.1/');
my $NFO = RDF::Trine::Namespace->new('http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#');
my $SKOS = RDF::Trine::Namespace->new('http://www.w3.org/2004/02/skos/core#');
my %DEB = qw(
Software::License::Apache_1_1 Apache-1.1
Software::License::Apache_2_0 Apache-2.0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Install/Admin/DOAP.pm view on Meta::CPAN
my $CPAN = RDF::Trine::Namespace->new('http://purl.org/NET/cpan-uri/terms#');
my $DC = RDF::Trine::Namespace->new('http://purl.org/dc/terms/');
my $DOAP = RDF::Trine::Namespace->new('http://usefulinc.com/ns/doap#');
my $DEPS = RDF::Trine::Namespace->new('http://ontologi.es/doap-deps#');
my $FOAF = RDF::Trine::Namespace->new('http://xmlns.com/foaf/0.1/');
my $NFO = RDF::Trine::Namespace->new('http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#');
my $SKOS = RDF::Trine::Namespace->new('http://www.w3.org/2004/02/skos/core#');
sub doap_metadata
{
my ($self, $uri) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix dist: <http://purl.org/NET/cpan-uri/dist/Module-Install-DOAPChangeSets/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project
view all matches for this distribution
view release on metacpan or search on metacpan
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix dist: <http://purl.org/NET/cpan-uri/dist/Module-Install-RDF/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project
a doap:Project;
view all matches for this distribution
view release on metacpan or search on metacpan
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix dist: <http://purl.org/NET/cpan-uri/dist/Module-Install-TrustMetaYml/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project
a doap:Project;
view all matches for this distribution
view release on metacpan or search on metacpan
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix deps: <http://ontologi.es/doap-deps#> .
@prefix dist: <http://purl.org/NET/cpan-uri/dist/Module-Package-RDF/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Starter/TOSHIOITO.pm view on Meta::CPAN
# avoid OS X finder files
\.DS_Store$
# ditto for Windows
\bdesktop\.ini$
\b[Tt]humbs\.db$
# Avoid patch remnants
\.orig$
\.rej$
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Starter/Simple.pm view on Meta::CPAN
# avoid OS X finder files
\.DS_Store$
# ditto for Windows
\bdesktop\.ini$
\b[Tt]humbs\.db$
# Avoid patch remnants
\.orig$
\.rej$
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/ThirdParty.pm view on Meta::CPAN
Msf::Exploit::warftpd_165_user
Msf::Exploit::webstar_ftp_user
Msf::Exploit::windows_ssl_pct
Msf::Exploit::wins_ms04_045
Msf::Exploit::wsftp_server_503_mkd
Msf::Exploit::zenworks_desktop_agent
Msf::Logging
Msf::Logo
Msf::Module
Msf::Nop
Msf::Nop::Alpha
view all matches for this distribution
view release on metacpan or search on metacpan
t/complex.html view on Meta::CPAN
<meta name="theme-color" content="#ee3322">
<script async="" src="//static.ads-twitter.com/uwt.js"></script><script>document.getElementsByTagName('html')[0].className = 'news-js';</script>
<link rel="dns-prefetch" href="https://img.buzzfeed.com/buzzfeed-static/">
<link rel="dns-prefetch" href="https://polyfill.io/">
<script>(function () {var d = document, w = window, n = navigator, wp = w.performance, os, osMap, getCookie;if (!n || !n.sendBeacon || !wp || !wp.now) return;osMap = {'Win': 'Windows', 'Mac': 'MacOs', 'X11': 'Unix', 'Linux': 'Linux'};os = navigator.a...
<style>
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}aud...
/*# sourceMappingURL=critical.853a8d16e5582ae61351.css.map*/
# sra assets
.modal{background:rgba(255,255,255,0.9);position:fixed;height:100%;width:100%;top:0;left:0;padding:1rem;z-index:400;opacity:0;visibility:hidden;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s;overflow-x:hidden;overflow-y:auto}.m...
t/complex.html view on Meta::CPAN
{ font-weight:bold; color:#000 !important; }
</style><style type="text/css" media="all">
.DV-page-1 .DV-pageSpecific-1, .DV-page-2 .DV-pageSpecific-2, .DV-page-3 .DV-pageSpecific-3, .DV-page-4 .DV-pageSpecific-4, .DV-page-5 .DV-pageSpecific-5, .DV-page-6 .DV-pageSpecific-6, .DV-page-7 .DV-pageSpecific-7, .DV-page-8 .DV-pageSpecific-8, .D...
</style><script src="//www.buzzfeed.com/static/js/ad-detection/ads.js" async=""></script><script src="//run.adrizer.com/track.min.js" async="" data-domain="buzzfeed.com" id="ADRIZER_JS"></script><script src="https://secure.quantserve.com/quant.js" as...
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.n...
.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,...
<body class="ad-scroll-sub--enabled">
<a href="#news-content" class="newsblock-skipnav">Skip To Content</a>
t/complex.html view on Meta::CPAN
</div>
<div class="news-article-header__byline-wrapper-desktop">
<a class="news-byline-full" href="/author/albertsamaha">
<img class="news-byline-full__image" src="https://img.buzzfeed.com/buzzfeed-static/static/2018-06/12/11/user_images/buzzfeed-prod-web-03/albertsamaha-v2-13993-1528818456-1_large.jpg" alt="Picture of Albert Samaha">
<span class="news-byline-full__info-wrapper">
t/complex.html view on Meta::CPAN
<div id="125425920" class="subbuzz-anchor"></div>
<div class="documentcloud-desktop xs-hide sm-block">
<div id="DV-viewer-7035751-LEOPOLD-Federal-Protective-Service-BLM-FOIA" class="DC-embed DC-embed-document DV-container" style="position: relative; height: 990px; zoom: 1;"><!--[if lte IE 8]><div class="DV-docViewer DV-clearfix DV-viewDocument D...
<!--[if (!IE)|(gte IE 9)]><!--><div class="DV-docViewer DV-clearfix DV-autoZoom DV-hideSidebar DV-searchable DV-mini DV-viewDocument" style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"><!-- <![endif]-->
<div class="DV-docViewerWrapper">
t/complex.html view on Meta::CPAN
<div class="grid-layout-sidebar">
<div class="sidebar-container xs-hide lg-block" data-module="sidebar" data-bfa="@l:RightRail;" id="mod-sidebar-1" style="top: 0px;">
<script type="text/x-config">
{
"ads": {"density": 1, "placements": [], "skin": "news", "units": [{"companions": [], "is_enabled": true, "programmatic_wireframes": true, "slot": {"adPos": "sidebar1-bp", "adType": "post", "isInfinite": true, "platform": "desktop", "positio...
}
</script>
<div class="paginated-sidebar__recs js-paginated-sidebar-recs xs-mb2"></div>
<div class="paginated-sidebar__ad js-paginated-sidebar-ad">
<div class="ad-wireframe-wrapper ad-wireframe-wrapper--labeled ad-bfnews-sidebar ad-responsive--desktop xs-hide md-block" data-wireframe-width="300" data-wireframe-height="600">
<div data-module="ad-bigstory" class="xs-fit xs-relative ad-bigstory ad-flexible ad-dest--bfnews js-ad js-ad-1301-1 ad--bfnews" data-bfa="@l:Big-Story;" id="mod-ad-bigstory-1" data-infinite-idx="1" role="complementary" aria-label="Advertisement" data...
<script type="text/x-config">{"adPos":"sidebar1-bp","adType":"post","isInfinite":true,"platform":"desktop","position":null,"renderLookahead":"x0.25","size":["fluid",[300,600],[5,5],[300,250]],"targeting":{"badges":["2020protests"],"bid":"5673803","...
<div id="div-gpt-ad-1301-1" class="ad-slot js-ad-slot js-ad-slot-1301-1"></div>
</div>
</div>
t/complex.html view on Meta::CPAN
<path d="M13 36c-.3 0-.6-.1-.8-.2-.8-.3-1.2-1-1.2-1.8v-5.8c-5-.3-9-4.9-9-10.4v-6.3C2 5.7 5.8 2 11.6 2h14.7c5.9 0 9.6 3.7 9.6 9.4v6.3c0 5.8-3.8 10.3-9.6 10.3h-3l-9 7.4c-.3.3-.8.6-1.3.6z"></path>
</svg>
<span>View Comments</span>
</button>
</div>
<div data-buzzblock="facebook-comments" data-module="facebook-comments" id="mod-facebook-comments-1"><fb:comments class="fb-comments-area fb_iframe_widget fb_iframe_widget_fluid_desktop" data-href="https://www.buzzfeed.com/albertsamaha/newly-releas...
</div>
<div data-module="facebook-comments-manager" id="mod-facebook-comments-manager-1"></div>
</div>
</div>
t/complex.html view on Meta::CPAN
<div class="ad-wireframe-wrapper ad-wireframe-wrapper--labeled " data-wireframe-width="970" data-wireframe-height="250">
<div id="BF_WIDGET_201" data-module="ad-ex" class="xs-relative ad-ex ad-bfnews-bottom ad-bfnews-fullwidth--gray js-ad js-ad-201 ad--bfnews ad-ex--grid ad-flexible" role="complementary" aria-label="Advertisement" data-instance-id="6">
<script type="text/x-config">{"adPos": "promo-bottom2", "adType": "ex", "isInfinite": false, "platform": "desktop", "position": null, "renderLookahead": "x0.1", "size": ["fluid", [970, 90], [970, 250], [320, 50], [728, 90], [300, 250]], "targeting"...
<div id="bf-item-201-1">
<h2 class="xs-mb1 xs-text-6 xs-text-center text-gray-lightest caps ad__disclosure--ex">
ADVERTISEMENT
</h2>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojo/File/Role/HomeDir.pm view on Meta::CPAN
$\ = "\n"; $, = "\t";
my @subs = qw/
my_home
my_desktop
my_documents
my_music
my_pictures
my_videos
my_data
my_dist_config
my_dist_data
users_home
users_documents
users_data
users_desktop
users_music
users_pictures
users_videos
/;
lib/Mojo/File/Role/HomeDir.pm view on Meta::CPAN
my $file = Mojo::File->new->with_roles('+Mojo::File::Role::HomeDir');
# Use the methods provided by File::HomeDir:
my $home_dir = $file->my_home;
my $desktop_dir = $file->my_desktop;
my $documents_dir = $file->my_documents;
# ... and others
=head1 DESCRIPTION
lib/Mojo/File/Role/HomeDir.pm view on Meta::CPAN
=over 4
=item * my_home
=item * my_desktop
=item * my_documents
=item * my_music
lib/Mojo/File/Role/HomeDir.pm view on Meta::CPAN
=item * users_documents
=item * users_data
=item * users_desktop
=item * users_music
=item * users_pictures
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojo/Transmission.pm view on Meta::CPAN
L<Transmission API|https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt>.
=head1 SYNOPSIS
my $transmission = Mojo::Transmission->new;
$transmission->add(url => "http://releases.ubuntu.com/17.10/ubuntu-17.10.1-desktop-amd64.iso.torrent");
my $torrents = $transmission->torrent([]);
$transmission->torrent(remove => $torrents[0]->{id}) if @$torrents;
=head1 ATTRIBUTES
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojo/UserAgent/CookieJar/ChromeMacOS.pm view on Meta::CPAN
return $self->pass if $self->pass; # for Linux which passed in ->new
my $pass;
if ($^O eq 'linux') {
# # secret-tool search application chrome
# [/org/freedesktop/secrets/collection/Default_5fkeyring/1]
# label = Chrome Safe Storage
# secret = 5B9eGeijTg1xQTh+K70Czg==
# created = 2022-02-18 02:23:25
# modified = 2022-02-18 02:23:25
# schema = chrome_libsecret_os_crypt_password_v2
view all matches for this distribution
view release on metacpan or search on metacpan
lib/MojoMojo/Controller/Admin.pm view on Meta::CPAN
Make a formatted version of content body and store it in content.precompiled.
This makes MojoMojo go zing, when loading content for page requests.
Depending on the number of pages, and versions of them, this could take some minutes.
For 2000 page versions on a 2.4 GHz desktop this script took about 3 minutes to run.
=cut
sub precompile_pages : Global {
my ( $self, $c ) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Command/generate/qx_mojo_app/README view on Meta::CPAN
make dist
Learning
--------
To learn more about Qooxdoo, go to their website and read up on Qooxdoo desktop:
www.qooxdoo.org
Enjoy!
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/AssetPack/Pipe/Favicon.pm view on Meta::CPAN
my $name = ref $self->app;
my $bg_color = '#F5F5F5';
my $theme_color = '#536DFE';
return {
desktop_browser => {},
android_chrome => {
manifest => {display => 'standalone', name => $name, orientation => 'portrait'},
picture_aspect => 'shadow',
theme_color => $theme_color,
},
lib/Mojolicious/Plugin/AssetPack/Pipe/Favicon.pm view on Meta::CPAN
<link rel="apple-touch-icon" sizes="114x114" href="/asset/9aab8718f1/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="152x152" href="/asset/feee661542/apple-touch-icon-152x152.png">
<meta name="msapplication-square310x310logo" content="/asset/123ab718f1/largelogo.png">
<meta name="msapplication-wide310x150logo" content="/asset/a827bfddf0/widelogo.png">
By default this pipe will only create desktop icons. Configure L</design> for
more icons.
=head1 DESCRIPTION
L<Mojolicious::Plugin::AssetPack::Pipe::Favicon> uses
lib/Mojolicious/Plugin/AssetPack/Pipe/Favicon.pm view on Meta::CPAN
An API key obtained from L<http://realfavicongenerator.net/api/>.
=head2 design
$hash = $self->design;
$self = $self->design({desktop_browser => {}, ios => {}, windows => {}});
Can be used to customize the different designs. Look for "favicon_design" on
L<http://realfavicongenerator.net/api/non_interactive_api> for details.
=head2 settings
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/DBViewer/public/css/bootstrap-responsive.css view on Meta::CPAN
.visible-tablet {
display: none !important;
}
.hidden-desktop {
display: none !important;
}
.visible-desktop {
display: inherit !important;
}
@media (min-width: 768px) and (max-width: 979px) {
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important ;
}
.visible-tablet {
display: inherit !important;
}
lib/Mojolicious/Plugin/DBViewer/public/css/bootstrap-responsive.css view on Meta::CPAN
display: none !important;
}
}
@media (max-width: 767px) {
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important;
}
.visible-phone {
display: inherit !important;
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/mojolicious/layouted_lite_app.t view on Meta::CPAN
subtest '"0" data' => sub {
$t->get_ok('/data')->status_is(200)->header_is(Server => 'Mojolicious (Perl)')->content_is(0);
};
subtest 'Variants (desktop)' => sub {
$t->get_ok('/variants.txt')
->status_is(200)
->content_type_is('text/plain;charset=UTF-8')
->content_is('Variant: Desktop!');
};
t/mojolicious/layouted_lite_app.t view on Meta::CPAN
->status_is(200)
->content_type_is('text/plain;charset=UTF-8')
->content_is('Variant: Tablet!');
};
subtest 'Variants (desktop fallback)' => sub {
$t->get_ok('/variants.txt?device=phone')
->status_is(200)
->content_type_is('text/plain;charset=UTF-8')
->content_is('Variant: Desktop!');
};
view all matches for this distribution