17 private links
CSS Grid Layout is a game-changer for web developers. Learn more about CSS Grid and the CSS Grid Layout panel in Firefox.
Forget about the exhausting task of writing and debugging long MongoDB commands and getting stuck in complicated syntax details. Instead, use Studio 3T to confidently and intuitively get work done.
Widely regarded in the NoSQL community as the best MongoDB GUI turned IDE available for Windows, Mac, and Linux, our broad yet refined feature set includes everything you need to start working with MongoDB, right away. Studio 3T makes it easier than you ever imagined.
Robo 3T (formerly Robomongo *) is a shell-centric cross-platform MongoDB management tool. Unlike most other MongoDB admin UI tools, Robo 3T embeds the actual mongo shell in a tabbed interface with access to a shell command line as well as GUI interaction.
Starting from version 1.1, Robo 3T embeds the MongoDB 3.4 shell.
Starting from version 0.9, Robo 3T is compatibile with MongoDB 3.x (including SCRAM-SHA-1 auth and support for WiredTiger storage engine). Robo 3T 0.9 embeds the MongoDB 3.2 shell.
Robo 3T 0.8.x embeds the MongoDB 2.4.0 shell.
I've used Perl 6 for IRC bots. The ease of writing parallel code, nice OO model, multi dispatch, and subsets make it very pleasant to do them in Perl 6. Here's a bot I wrote that listens for GitHub webhooks and reports new commits and PRs: https://github.com/perl6/geth and here's another one that's just a bunch of random features: https://github.com/zoffixznet/perl6-buggable/
I also heard people say grammars are the most note-worthy feature of Perl 6 and people basically use them to quickly hack up a nice little micro-language in which they then attack their problem. Before I came to Perl 6 I was dumb as shoe when it came to writing parsers, but I find it trivial to do with Perl 6 grammars.
Do I like it? Although I'm obviously biased, I love the language. It lets you write beautifully concise, yet still readable, code. It even lets you use much more readable syntax for regexes. Somewhat regretfully, it made it very difficult for me to learn other languages, as in them I end up writing 3x, 4x, 6x the amount of code and I keep getting reminded of Larry Wall saying Perl 6 would be the last language you'd learn. In Perl 6 I can "talk"; in other languages, I write "code".
However, while the language is fantastic, the implementation still has a lot of work to be done to polish it off. It's basically a 1.0 release. Unlike Go, Rust, or Swift, there isn't a giant corporation behind Perl 6 that can just throw money at problems until they disappear. Compared to other languages, some things are still unoptimized and are much slower. I spotted some leakage that makes it problematic for very-long-running (months) programs. About 65 new bug tickets are opened per month. The test suite is pretty sparse in some areas (which is the likely reason for many of the new bug tickets). But... three new core developers joined this January, so hopefully all that will get improved pretty fast.
Someone in the comments also mentioned the baby-sized ecosystem... Since Perl 6 lets you use C libraries without needing to compile anything, people wrote stuff like Inline::Perl5 and Inline::Python that let you import and even subclass stuff from Perl 5 and Python. And that's a bit of a double-edge sword: yes, it's trivial to use libraries from Perl 5 and Python, but it also stunts the ecosystem; no one has enough motivation to re-invent the wheel in Perl 6 when the wheels from other languages are reasonably usable.
use Inline::Perl5;
use DBI:from<Perl5>;
my $dbh = DBI.connect('dbi:Pg:database=test');
my $products = $dbh.selectall_arrayref(
'select * from products', {Slice => {}}
);
Module for executing Perl 5 code and accessing Perl 5 modules from Perl 6.
Supports Perl 5 modules including XS modules. Allows passing integers, strings, arrays, hashes, code references, file handles and objects between Perl 5 and Perl 6. Also supports calling methods on Perl 5 objects from Perl 6 and calling methods on Perl 6 objects from Perl 5 and subclass Perl 5 classes in Perl 6.
Perl6-One-Liners - Look what you can do at the terminal! A collection of Perl6 one liners
I mean, can you get it any more WRONG?! The juvenile logo and awful color scheme of the website. The Christmas release that isn't all release-like. Version 6.c? Why not 6.0? What's with the whole "language" and "compiler" distinctions no one cares about? Why is the first stable release of the compiler not optimized to the max? And why is it called "Perl" in the first place? They should rename it!!
Too little, too late. Is there a need for a new Perl? No, of course not. What is it good for? Nothing. What is its business case? None! What's Perl 6's "Killer App"? Non-existent. Why in the world would anyone use Perl 6?!
SSH, or secure shell, is the most common way of connecting to Linux hosts for remote administration. Although the basics of connecting to a single host are often rather straight forward, this can become unwieldy and a much more complicated task when you begin working with a large number of remote systems.
Fortunately, OpenSSH allows you to provide customized client-side connection options. These can be saved to a configuration file that can be used to define per-host values. This can help keep the different connection options you use for each host separated and organized, and can keep you from having to provide extensive options on the command line whenever you need to connect.
In this guide, we'll cover the basics of the SSH client configuration file, and go over some common options.
-
Generate SSH key:
$ ssh-keygen -t rsa -C <email1@example.com>
-
Generate
another SSH key
:$ ssh-keygen -t rsa -f ~/.ssh/accountB -C <email2@example.com>
Now, two public keys (id_rsa.pub, accountB.pub) should be exists in the
~/.ssh/
directory.$ ls -l ~/.ssh # see the files of '~/.ssh/' directory
-
Create config file
~/.ssh/config
with the following contents:$ nano ~/.ssh/config Host bitbucket.org User git Hostname bitbucket.org PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Host bitbucket-accountB User git Hostname bitbucket.org PreferredAuthentications publickey IdentitiesOnly yes IdentityFile ~/.ssh/accountB
-
Clone from
default
account.$ git clone git@bitbucket.org:username/project.git
-
Clone from
accountB
account.$ git clone git@bitbucket-accountB:username/project.git
Being a comprehensive and complete enumeration of the Operatic Elements of the Perl 6 Language, assembled and drawn with dedication and diligence by M. Lentczner as a service to both the Community and the Republic.
May this simple presentation with various illustrative devices increase Knowledge & Understanding amongst practitioners in the art of Software.
Third Edition, February 14th, Two Thousand Nine
> mi6 new Foo::Bar # create Foo-Bar distribution
> cd Foo-Bar
> mi6 build # build the distribution and re-generate README.md/META6.json
> mi6 test # run tests
> mi6 release # release!
!!! EXPERIMENTAL !!!
> mi6 dist # make distribution tarball
> mi6 upload # upload distribution tarball to CPAN
Where should I look for perl 6 libraries?
When I've chosen one, how can I add it to my perl 6 project?
Use zef to install it on your local system.
Read the modules doc page for directions on use
ing a module in your project.
If I find it [somewhere], how can I add it to my perl 6 project?
If zef can see it (and zef will usually be able to see a module if its repo is listed at modules.perl6.org) then zef should be able to install it. If not, contact the author or ask about it on #perl6.
As an answer to point 2) and 3) , you can take a look at 6pm
. It's idea is to be NPM for Perl6. It works over Zef
.
$ 6pm init
# Install dependencies to ./perl6_modules and add it to META6.json
$ 6pm install Test::Meta --save
# Run a file using the local dependencies
$ 6pm exec-file test.p6
# Make your code always use 6pm by making it "use SixPM;"
$ perl6 test.p6
See the full documentation for more information.
MongoBooster is a shell-centric cross-platform GUI tool for MongoDB v2.4-3.4, which provides fluent query builder, SQL query SQL Query, update-in-place, ES2017 syntax support and true intellisense experience.
The GUI for MongoDB. Visually explore your data. Run ad hoc queries in seconds. Interact with your data with full CRUD functionality. View and optimize your query performance. Available on Linux, Mac, or Windows. Compass empowers you to make smarter decisions about indexing, document validation, and more.
If you need to manage multiple projects within a single repository, you can use a subtree merge to handle all the references.
Typically, a subtree merge is used to contain a repository within a repository. The "subrepository" is stored in a folder of the main repository.
The best way to explain subtree merges is to show by example. We will:
Make an empty repository called test that represents our project
Merge another repository into it as a subtree called Spoon-Knife.
The test project will use that subproject as if it were part of the same repository.
Fetch updates from Spoon-Knife into our test project.
The thing computers can do best is storing information.
You shouldn't waste your time trying to remember and type your passwords.
KeePassXC can store your passwords safely and auto-type them into your everyday websites and applications.
Murray Bookchin, écologie ou barbarie
À la mort de Murray Bookchin, en 2006, le Parti des travailleurs du Kurdistan (PKK) a promis de fonder la première société qui établirait un confédéralisme démocratique inspiré des réflexions du théoricien de l’écologie sociale et du municipalisme libertaire. Une reconnaissance tardive pour ce militant américain auteur d’un projet égalitaire et humaniste.