[here we add the necesary badges, here are the ones I say we always need]
[short description of the repo]
this app is made for myself
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
#!/usr/bin/env ruby | |
# Usage: tweetsplit.rb < tweetstorm.txt | |
# https://twitter.com/CoralineAda/status/869204799027372032 | |
# Sam Stephenson / 2017-05-29 | |
# Tweet-sized version: | |
# puts $<.read.split(/\s+/).reduce(nil){|(*cs,c),w|n=[c,w].compact*" ";cs+(n.size>140?[c,w]:[n])}*"\n" | |
def chunks_for(words, chunk_size) |
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore (except for perhaps a few exceptional occasions). ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
license: gpl-3.0 | |
height: 570 | |
border: no |
A shady Internet business has been discovered.
The website has been made public by a whistle blower. We have enough evidence about the dirty deals they did. But to charge them we need to get hands on precise numbers about the transactions that happened on their platform.
Unfortunately no record of the transactions could be seized so far. The only hint we have is this one transaction:
EXP_NPC_ANOMALY_DESC_1 | |
As I approach the electronic being, it springs to life. From its dark mask, scanning beams emerge that envelop me. There is a unnerving chittering sound and then, unbelievably, it speaks in my language. | |
It offers me a choice. It can show me how to harness black holes, in order to embark upon a journey to the centre of the galaxy. It can light my way to an Atlas Interface, so I may follow a path. Or it will assist me in my own exploration. | |
EXP_NPC_ANOMALY_LANG_1 | |
Rare linguistic form. Pleasure! Nada, divergent Korvax. Assistance offered. Route to galactic core? Reconnect with Atlas for guidance? Resources for journey? Yes/no? | |
EXP_NPC_ANOMALY_DESC_2 |
SCAN_NO_TECH | |
No scan technology installed | |
SCAN_BROKEN | |
Scanner is critically damaged | |
SCAN_RECHARGE | |
Scanner recharging | |
WARP_MSG |
# Automated AMI Backups | |
# | |
# @author Bobby Kozora | |
# | |
# This script will search for all instances having a tag with the name "backup" | |
# and value "Backup" on it. As soon as we have the instances list, we loop | |
# through each instance | |
# and create an AMI of it. Also, it will look for a "Retention" tag key which | |
# will be used as a retention policy number in days. If there is no tag with | |
# that name, it will use a 7 days default value for each AMI. |
I came across 'bundler/inline' in Bundler pull request 3440, which I'd found from Rails pull request 20429. This now has a little snippet on the What's new page of the Bundler site.
This little example demonstrates how I might use it to create a single file using minitest.
I've just noticed that this script was working for me because I already had minitest installed as a system gem. If I uninstall the gem then the script fails because it can't find minitest. The source code documents an option to install gems if they don't exist (gemfile(true) do
) but that doesn't seem to work for me. I see the following error:
Fetching gem metadata from https://rubygems.org/...
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using metaclass 0.0.4