Skip to content

Instantly share code, notes, and snippets.

View lolsborn's full-sized avatar

Steven Osborn lolsborn

  • Hillsboro, Oregon
View GitHub Profile
$fs = 1;
$fa = 4;
silver = [.88,.895,.895];
dark_silver = [.6,.6,.6];
module token() {
color(dark_silver) translate([0, 0, -.5]) linear_extrude(1) circle(r=7.5, center=true);
scale(.168) outer();
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
function free() {
vm_stat \
| perl -ne \
'/page size of (\d+)/ and $size=$1; /Pages\s+([^:]+)[^\d]+(\d+)/ and printf("%-16s % 16.2f Mi\n", "$1:", $2 * $size / 1048576);'
}
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
--- FastMail Support Ticket ---
This is an automated email generated by the FastMail support
ticket system for support ticket ABCD1234.
DO NOT REPLY TO THIS EMAIL. REPLIES WILL NOT BE MONITORED.
To view the status of this ticket at any time, or to add an update, please use the link below in your web browser.
Ticket Link: <https://www.fastmail.fm/html/?MSignal=TZ-**ABCD123>
sudo apt-get install python gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat autoconf automake libtool libglib2.0-dev libarchive-dev
mkdir $HOME/mender-work
cd $HOME/mender-work
git clone -b krogoth git://git.yoctoproject.org/poky
cd $HOME/mender-work/poky
git clone -b krogoth git://github.com/mendersoftware/meta-mender
git clone git://github.com/mem/oe-meta-go
source oe-init-build-env
bitbake-layers add-layer ../meta-mender
bitbake-layers add-layer ../oe-meta-go
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# ls
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# ls
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# cd ..
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# l
build/ configure.sstate git/ license-destdir/ openzwave-1.0/ pseudo/ sstate-install-populate_lic/ temp/
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# ls
build configure.sstate git license-destdir openzwave-1.0 pseudo sstate-install-populate_lic temp
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# cd git
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/gi
# $RDEPENDS [8 operations]
# set /home/ubuntu/mender-work/poky/meta/conf/bitbake.conf:262
# ""
# set /home/ubuntu/mender-work/poky/meta/conf/documentation.conf:349
# [doc] "Lists a package's runtime dependencies (i.e. other packages) that must be installed for the package to be built. They must be the names of other packages as listed in the PACKAGES variable, not recipe names (PN)."
# override[mender]:_append /home/ubuntu/mender-work/poky/meta-mender/classes/mender-uboot.bbclass:12
# " u-boot u-boot-fw-utils"
# override[kernel]:set /home/ubuntu/mender-work/poky/meta/classes/kernel.bbclass:372
# "kernel-base"
# override[kernel-base]:set? /home/ubuntu/mender-work/poky/meta/classes/kernel.bbclass:375
diff --git a/resources/images/s3/filestorage.go b/resources/images/s3/filestorage.go
index 52968bd..2a485b8 100644
--- a/resources/images/s3/filestorage.go
+++ b/resources/images/s3/filestorage.go
@@ -131,19 +131,19 @@ func (s *SimpleStorageService) Exists(objectID string) (bool, error) {
// Puts object into AWS S3
func (s *SimpleStorageService) PutFile(objectID string, image *os.File) error {
- fi, err := image.Stat()
0x2Be2Cd94988F10d3a0a5406a830cdED96171a065