Keep Your Networking Gear Organized With a Portable Networking Board

Even basic networking gear gets messy real quick, if the pile of unorganized cables under my desk right now is any indication. Mounting your hardware to a portable board can keep everything much cleaner.

Read more…



Original URL: http://feeds.gawker.com/~r/lifehacker/full/~3/ldjc7L8o51M/keep-your-networking-gear-organized-with-a-portable-net-1764242078

Original article

Serverless Slackbots Powered by AWS

Today Localytics is open sourcing two tools that help you quickly scaffold custom Slack commands using AWS Lambda, AWS API Gateway, and the Serverless framework. These tools grew out of our continued investment in making ChatOps the primary way Localytics engineers manage our infrastructure. With Serverless and a small bit of scaffolding, we’re now able to create custom Lambda functions that handle slash commands from Slack in about 10 minutes.

ChatOps and AWS Lambda

ChatOps helps break down silos by making infrastructure management a collaborative process. Our engineering team is able to quickly see activity from our systems and tools within the same stream of information as the general discussion amongst the team about their daily work. Our chat service of choice – Slack – provides convenient integration points with their slash commands utility.

AWS Lambda is a natural fit for implementing slash commands because of its event-based architecture. Since we are deployed on AWS we also get to leverage the integrations that Lambdas have with other pieces of the AWS puzzle, like S3 event notifications and DynamoDB streams. The Serverless framework helps fill in some of the gaps that Lambda has with its development and deployment workflow. Serverless lets you set up lifecycle stages that bind together your Lambda functions along with their dependent AWS resources, so you can easily promote code from dev to test to prod. Serverless also has an active and responsive community that is great to work with.

serverless-slackbot-scaffold and lambda-slack-router

For scaffolding we’ve built our serverless-slackbot-scaffold. This is a khaos template, which is a handy utility package that uses handlebar templates to scaffold projects. The README of the repository describes the process for installing and running the templating engine. Once the new directory has been created, you’ll see a sparse serverless app, featuring a nodejs component (a Serverless structure with a specified runtime) that contains a slackbot function (representing a lambda function).

Over the course of developing our own projects, we realized common patterns were emerging around routing subcommands to the correct functions. As a result, you’ll notice that the package.json file in the nodejs directory requests an additional package besides the default Serverless dependencies, which is the lambda-slack-router package. This package’s easy DSL allows us to quickly manipulate the JSON payload coming from Slack, verify the integrity against a predefined token, and call the correct subcommand. This means we’re not restricted to commands like “/bot” but have easy access to “/bot ping”, “/bot echo”, and so on. With this package in place, the only part of this bot that needs editing is the actual business logic of the Lambda. Example routers are provided in the scaffold repository to get you started.

Once the business logic is written, we’re free to deploy to AWS. Following the deployment steps from the templated project’s README we can deploy the function to a specific stage (our template contains the test, dev, and prod stages pre-configured), acquire the postback URL, and put that into the Slack configuration. Once everything has resolved, you can use the “/bot help” prebuilt command to see how to use your new bot.

Lessons learned

The Serverless framework has aided us immeasurably in handling development and deployment of our functions, as well as brought a sense of pre-defined structure to our projects. Over the course of using Serverless, we’ve explored (and contributed to) a number of the available plugins which can be quickly implemented to augment Serverless’ abilities. As Serverless and its ecosystem continues to grow, developing Lambda functions is going to become even easier than it is now.

Feel free to use our scaffold and router for yourself to develop your own Slack integrations, and when you do please share your experience, approach, and any feedback in a gist, on a blog, or in the comments.

Photo credit: “Robots” by sneakerzoom is licensed under CC BY 2.0


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/RFuWCCD5eeE/

Original article

Google Docs now exports to ePub format

ExportEPUB-2

Google Docs has a new option allowing your documents to be saved directly to the ePub format.

All you have to do is click File > Download as > EPUB Publication. EPUB documents are widely supported across most ebook readers, so this could be a good choice for sharing your work with others.

The format isn’t as well supported on Windows, but Cool Reader is an open-source cross-platform viewer which handles ePubs and many other formats: FB2, MOBI, PDF, more.

Google’s official announcement of the update is here.


Original URL: http://feeds.betanews.com/~r/bn/~3/O6Ydk9NxM0I/

Original article

Google Docs: A quick way to get ePub from a Docs or Word file or other common formats

GoogleDocsEPUB

If you want a quick-and-dirty way to turn a Google Docs file into ePub, then Google has a solution—a new feature that lets you export into that format.

Using Word instead? No problem. You could import Word into Google Docs, then export from there (the format must be newer than the one for the Microsoft 95 version of Word).

Among other major importable formats for Google Docs are HTML, .txt and .odt.

No, Random House isn’t likely to rely soon on Google Docs’s ePub export. But if you’ve just finished your novel or Ph.D. dissertation and want to beta-test it on friend, then Google Docs’ ePub capability could be handy.

Same if you’ve written a corporate training manual that you want employees to be able to read on their iPads or iPhones.

I tested this with a copy of The Adventures of Huckberry Finn in the text format from Project Gutenberg, and sure enough the results were readable in Calibre and Marvin on my iPad. Line breaks went astray. But I could have cleaned that up before the conversion (I’m in a hurry).

Here’s the command to reach the ePub export feature of Google Docs: File menu > Download as > EPUB Publication (.epub).

OK, good job, Google. Now when are you going to give us not just an ePub exporter but also stellar ePub editor?

Reminder: For more polished ePub for free, you could try Sigil.

The post Google Docs: A quick way to get ePub from a Docs or Word file or other common formats appeared first on TeleRead News: E-books, publishing, tech and beyond.


Original URL: http://www.teleread.com/google-docs-a-quick-way-to-get-epub-from-a-docs-or-word-file-or-other-common-formats/

Original article

Project issues 1 million free digital certificates in three months

Let’s Encrypt, an organization set up to encourage broader use of encryption on the Web, has distributed 1 million free digital certificates in just three months.

The digital certificates cover 2.5 million domains, most of which had never implemented SSL/TLS (Secure Sockets Layer/Transport Layer Security), which encrypts content exchanged between a system and a user. An encrypted connection is signified in most browsers by “https” and a padlock appearing in the URL bar.

“Much more work remains to be done before the Internet is free from insecure protocols, but this is substantial and rapid progress,” according to a blog post by the Electronic Frontier Foundation, one of Let’s Encrypt’s supporters.

To read this article in full or to leave a comment, please click here


Original URL: http://www.computerworld.com/article/3042026/security/project-issues-1-million-free-digital-certificates-in-three-months.html#tk.rss_all

Original article

New – Notifications for AWS CodeCommit

AWS CodeCommit is a fully-managed source control service that makes it easy for you to host a secure and highly scalable private Git repository.Today we are making CodeCommit even more useful by adding support for repository triggers. You can use these triggers to integrate your existing unit tests and deployment tools into your source code management workflow. Because triggers are efficient and scalable, they are more broadly applicable than a model that is built around polling for changes. I believe that you will find these triggers to be helpful as you move toward a development methodology based on  Continuous Integration and Continuous Delivery.

All About Notifications
You can create up to 10 triggers for each of your CodeCommit repositories. The triggers are activated in response to actions on the repository including code pushes, branch/tag creation, and branch/tag deletion. Triggers can be set to run for a specific branch of a repository or for all branches.

Triggers can send a notification to an Amazon Simple Notification Service (SNS) topic or can invoke a AWS Lambda function. Each trigger can also be augmented with custom data (an uninterpreted string) that you can use to distinguish the trigger from others that run for the same event. You can use triggers to subscribe to repository events through email or SMS. You can wire up SNS to SQS and queue up jobs for your CI/CD tools, or you can use SNS to activate webhooks provided by your tools. In any case, the actions you designate will be triggered by the changes in your CodeCommit repository. You can also use Lambda functions to trigger builds, check syntax, capture code complexity metrics, measure developer producitivity (less is more, of course), and so forth. My colleagues have also come up with some off-unusual ideas that you can find at the end of this post!

You can create, view, and manage your triggers from the AWS Management Console, AWS Command Line Interface (CLI), or via the CodeCommit API.  I used the Console. The navigation column on the left now includes an entry for Triggers:

I simply click on Create Trigger to get started. Then I select the event (or events), pick the branch (or all branches), and fill in the details that are needed to publish a notification or invoke a Lambda function:

Here’s how I choose the events and branches of interest:

 

Then I point to my SNS topic or Lambda function (after ensuring that the proper permissions are in place), use Test Trigger to make sure that it all works as expected, and click on Create.

You can use Test Trigger to verify that your IAM permissions are working as expected. For example, here’s an error that I triggered on purpose:

I fixed this by reading How to Allow AWS CodeCommit to run the Function in the documentation!

Available Now
This new functionality is available now and you can start using it today.To learn more, read about Managing Triggers for an AWS CodeCommit Repository.

My colleague Claire Liguori suggested some creative uses for CodeCommit triggers, above and beyond the usual integration with your CI/CD process:

  • Video Deployment – Have you Lambda function check to see if a new video or a new version of an existing video has been committed, and deploy the video to YouTube.
  • Party Time – Automatically throw and cater a party (using APIs for sandwiches, pizza, and beer) when you deploy a new release.
  • Advertise Releases – When a new release is ready, automatically generate and run a Facebook and and publicize the release on social media.

I am looking forward to hearing about the creative ways that you make use of these triggers within your development process. Leave me a comment and let me know!


Jeff;

 


Original URL: http://feedproxy.google.com/~r/AmazonWebServicesBlog/~3/xowNZJOZTZI/

Original article

Generate soothing forest sounds on your desktop with Aura

Aura

Aura is an ambient sound generator for Windows which combines soothing forest sounds to create a comfortable, relaxed working atmosphere.

Launch the program and it immediately starts playing its samples in a random pattern: a babbling brook, the wind in the trees, woodpeckers, cuckoos, rooks, crows and more.

If you’re just looking for some gentle background noise then this can be a very effective technique, as you get plenty of variation, but it’s never as distracting as music or TV.

Aura also offers plenty of ways to configure and customise its soundscapes.You can enable or disable each sound type, switch between “Forest in daytime” and “Forest at nighttime” modes for a different feel (nighttime has a bonfire and owls, for instance), add custom sound samples of your own, tweak the volume, and more.

You won’t want any of this to get in the way of your real work, so it’s good to see that Aura can be disabled very quickly. Just left-click its system tray icon, or — once you’ve set it up — use a hotkey and the sounds will be muted immediately.

There are also assorted automation features, including an option to use Aura’s soundscapes as a gentle alarm clock.

The interface is occasionally quirky, and figuring out how everything works might take a little longer than you expect, but it’s fun to explore and overall this is an appealing and very configurable tool.

Aura is a freeware application for Windows XP and later.


Original URL: http://feeds.betanews.com/~r/bn/~3/BESi3fXMCBU/

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: