I hereby claim:
- I am ayumi on github.
- I am ayumi (https://keybase.io/ayumi) on keybase.
- I have a public key whose fingerprint is A228 677C C0A8 FE93 E269 5657 7C92 009E A07E 2468
To claim this, I am signing this object:
| #!/bin/sh | |
| # Calculate aggregate VM CPU usage as integer percentage (eg 42). | |
| # Denominator for awk division is 4 for 4 vCPUs -- change if needed. | |
| xentop -b -d 1 -i 2 | tac | sed '/MAXMEM/,$d' | tr -s ' ' | sed -e 's/^[ \t]*//' | cut -d ' ' -f 4 | awk '{s+=$1} END {printf "%.0f", int(s/4)}' |
| #!/bin/bash | |
| # Based on https://micahflee.com/2016/12/qubes-tip-making-yubikey-openpgp-smart-cards-slightly-more-usable/ | |
| # Detach only: | |
| # ./toggle-yubikey.sh | |
| # (Detach &&) Attach: | |
| # ./toggle-yubikey.sh {vm-attachment-target} | |
| YUBIKEY=`qvm-usb | grep Yubikey` | |
| if [ -z "$YUBIKEY" ]; then |
| #!/usr/bin/env ruby | |
| # Take 2 bookmark HTML files in netscape format, and look for differences. | |
| # Doesn't compare hierarchy. | |
| # Requirements: Ruby 2.x; oga ruby gem (gem install oga) | |
| # License: MPL 2.0 | |
| HELP_MSG = "Usage: compare-bookmarks.rb [Bookmarks HTML 1] [Bookmarks HTML 2]".freeze | |
| # HTML parser |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| /* This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
| * You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| # net_error_list.h | |
| # https://cs.chromium.org/chromium/src/net/base/net_error_list.h?sq=package:chromium | |
| path = ARGV[0] or (puts "Usage: Pass path to net_error_list.h."; exit) |
| // Dependency: | |
| // light_ws2812 | |
| // https://github.com/cpldcpu/light_ws2812 | |
| // --- | |
| // if you have USB 3.0 ports, you might need a USB 2.0 hub to program this. | |
| // use the cRGB struct hsv method | |
| #define USE_HSV |
| http://www.helifreak.com/showthread.php?t=170184 | |
| pgoelz | |
| Rochester MI | |
| I too have researched the subject of LiPo storage and now store my packs in a small refrigerator when not in use. I make sure they are no more than 90% charged and try to store them 50% charged when possible. | |
| Here is what I have found: | |
| 1. Cells degrade continuously from the day they are manufactured until the day they are considered dead. Rule of thumb seems to be about 3 years to 80% capacity UNDER IDEAL CONDITIONS and probably under 0.5C to 1C discharge conditions. This is the BEST you can expect. |
| /* | |
| * Your Stylesheet | |
| * | |
| * This stylesheet is loaded when Atom starts up and is reloaded automatically | |
| * when it is changed. | |
| * | |
| * If you are unfamiliar with LESS, you can read more about it here: | |
| * http://www.lesscss.org | |
| */ |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * sprockets doesn't play well with SASS, dont use the default directives! | |
| * (this one is cool) | |
| *= require_self | |
| */ | |
| @import "lib/**/*"; | |
| @import "variables/**/*"; | |
| @import "styles/**/*"; |