|
Working software over comprehensive documentation” is one of the Agile Manifesto’s four value statements. You may well be one of those people who believe that documentation is a waste of effort because it’s outdated as soon as it’s created. You might believe that your code is self-documenting or that UML diagrams belong in the 90s. But it’s a mistake to think there’s no value in documentation.
|
|
Get started with Simple Queue Service (SQS) and Serverless, and learn some of the important configuration options.
|
|
You may have heard that, if you’re investing in stocks, you need to have a diversified stock portfolio. But what does that even mean? It means to own a variety of multiple stocks.
|
|
Forwarding iDrac Remote Console ports over SSH Tunnel (BASH)
-
snippets.bentasker.co.uk
-
8 years ago
-
eng
iDRACs (and other BMCs) should never be put directly onto the internet. This does mean, though, when trying to access a virtual console you need to go via some sort of a jumpbox. I'm not a fan of inconvenient approaches (like using Teamviewer to connect to a machine on the same network) and would rather, where possible, just set up an SSH tunnel with the appropriate ports forwarded. This command does just that, allowing use of the in brow..
|
|
Install multiple packages with apt in a single task (Ansible)
-
snippets.bentasker.co.uk
-
8 years ago
-
eng
When building a system with ansible you'll commonly want to install a variety of packages. Sometimes these will be broken up into individual tasks within various roles, but sometimes you want to install multiple packages as a single task (for example - install useful utilities). This method allows a single task to install multiple packages and their dependancies (the named packages will be installed sequentially) using apt. Read more…
|
|
When installing multiple python libraries with pip, you might not want each to be an individual named task within ansible. This method allows you to have a single ansible task and install multiple libraries along with their dependancies (they'll still be installed sequentially) Read more…
|
|
On occasion, you might need to identify the IP address of the machine being ansibled. However, there are various scenarios (AWS instances, alicloud instances, NAT etc) where the public facing IP of your machine may not necessarily be bound directly to an interface on the system you're running ansible against. This simple role places a call out to a Web based endpoint and sets a fact based upon the response so that you can use it later (fo..
|
|
My daughter is 3¼ years old now. About the time that she was born, I decided that I needed to make a small change in my language. Whenever I felt the urge to curse, I would say a food’s name. For example, after being puked on, my reaction would be some variant of: “PASTA”, “PASTA BOLOGNESE” or other pasta’s favorites. As time went by, I got better and better at expressing emotion through increasingly disturbing food references. My current....
|
|
Serverless updates - SQS events, private endpoints, Event Gateway open source
-
www.serverless.com
-
8 years ago
-
eng
Serverless Framework v1.28 adds SQS support & private endpoints for API Gateway, plus tons of updates to Event Gateway open source.
|
|
Overriding tcUrl and other options with ffplay (BASH)
-
snippets.bentasker.co.uk
-
8 years ago
-
eng
Various non-standard RTMP applications rely on the the values of attributes that are commonly passed in as part of a PLAY call, such as tcUrl, pageUrl etc. Sometimes this is for authentication (and content protection) purposes, sometimes it's to implement a DNS name based namespace so that different domains can share the same app. With ffmpeg and ffplay it's possible to override tcUrl and other variables with a command line option Read m..
|
|
Evolving Thoughtworks’ internal IT to solve broader cross-cutting problems
-
www.thoughtworks.com
-
8 years ago
-
eng
Today, Thoughtworks has about 220 globally distributed people working in its internal IT organisation: TechOps, as it’s called here. We look after everything related to hardware, networks, infrastructure, software, and enterprise systems across all 15 countries and 42 offices that we operate in.
|
|
From @saruspete 's tweet , ${PIPESTATUS[@]} gives ya all piped commands' return codes: echo foo | grep bar | tr z a | cat echo ${PIPESTATUS[@]}
|
|
Augmenting Long-term Memory (Michael Nielsen) . Ludism's memory techniques . Using Anki to remember what you read | Hacker News . Using Anki to remember what you read | Hacker News .
|
|
Over the weekend we migrated a huge amount of code to the new build servers. In this post I’ll try to cover three separate things. I’ll explain the architecture/history and process of the migration. What worked, what didn’t work and lessons learned. And finally how this will impact Codename One users moving forward. I’ll start with a bit of history to explain the background and motivations. We formed Codename One in January 2012. Back the..
|
As much for you as for myself, here is a list of tools you might want to have in mind : Software you can install to avoid issues ClamAv(Antivirus) chkrootkit(Check for Root kits) Maldet or LMD(Linux Malware Detection) Ispprotect (commercial 90$ a year) Commands you can run to check for issues netstat –an Displays the network connections and generic statistics ps –ef Lists every currently running process
|
As much for you as for myself, here is a list of tools you might want to have in mind : Software you can install to avoid issues ClamAv(Antivirus) chkrootkit(Check for Root kits) Maldet or LMD(Linux Malware Detection) Ispprotect (commercial 90$ a year) Commands you can run to check for issues netstat –an Displays the network connections and generic statistics ps –ef Lists every currently running process
|
|
This post covers some higher-level software engineering principles demonstrated in my experience with Python testing over the past year and half. In particular, I want to revisit the idea of patching mock objects in unit tests.
|
|
Narrowing utilities are a wonderful way of increasing productivity. I have a few workflows using Emacs's Helm framework. There are great productivity boosters like Alfred and Quicksilver for macOS, with batteries included. If you're a tinkerer, you'd enjoy the powerful Hammerspoon . Like elisp gluing all things Emacs, Hammerspoon uses Lua to glue all things macOS. You can build your own narrowing utilities using chooser and a l....
|
|
History We at HackerEarth created a single-page document with common and special CSS classes to make layouts, grids, buttons, inputs, tables, tooltips, and form elements in late 2017. That was our first attempt to develop on our own front-end framework. Old Nuskha screens: Framework is a platform, foundation on which ready software solutions are built, in this particular case – web interfaces. For this purpose front-end framework ....
|
|
On the July/August issue of Code Magazine , available both printed and online, you can find my article Learn Python with Visual Studio . From the incipit: In the Stack Overflow Developer Survey for 2018, Python sits comfortably in the first place as the most wanted programming language, with JavaScript and Go coming second and third. Python also ranks third in the “most loved” category. Despite the age (20 years and counting..
|