S3 Bucket:
Dump bucket content:
$ export url='https://dlink-gpl.s3.amazonaws.com/?prefix=CJ_Backup&list-type=2'
$ function dump_urls { cat data.xml \
S3 Bucket:
Dump bucket content:
$ export url='https://dlink-gpl.s3.amazonaws.com/?prefix=CJ_Backup&list-type=2'
$ function dump_urls { cat data.xml \
download openjdk for macos x86_64
decompress it somewhere (e.g. ~/software/jdk-11.0.15_10
)
brew install dynamodb-local
#!/usr/bin/env sh | |
#WIP | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 \"search_string\" file.xlsx" | |
echo " e.g.: $0 \"foo\" *.xlsx" | |
exit 1 | |
fi |
#!/usr/bin/perl -w | |
# stolen from: https://forums.gentoo.org/viewtopic-p-3089351.html | |
#this script search for frag on a fs | |
use strict; | |
#number of files | |
my $files = 0; | |
#number of fragment | |
my $fragments = 0; |
# get the files and amount of extends | |
find . -type f -exec filefrag '{}' \; > frags.txt | |
# sort by extends | |
cat frags.txt | sed 's/\([^:]*\)\: \([0-9]*\) extent[s]* found/\2 \1/g' | sort -n -r > sorted_frags.txt | |
# defrag the files | |
cat sorted_frags.txt | cut -d' ' -f2- | xargs -d'\n' -I{} sudo btrfs filesystem defragment -v "{}" |
{ | |
"name": "docker_web_app", | |
"version": "1.0.0", | |
"description": "Node.js on Docker", | |
"author": "First Last <first.last@example.com>", | |
"main": "server.js", | |
"scripts": { | |
"start": "node server.js" | |
}, | |
"dependencies": { |
FROM opensuse:tumbleweed | |
MAINTAINER Felipe Barriga Richards <felipe at felipebarriga.cl> | |
RUN echo "commit.downloadMode = DownloadInAdvance" >> /etc/zypp/zypp.conf && \ | |
zypper --non-interactive update && \ | |
zypper --non-interactive install sudo xorg-x11-server-extra xterm x11vnc xvfb-run iproute2 twm && \ | |
zypper --non-interactive install git nano man && \ | |
zypper --non-interactive install -t pattern devel_C_C++ && \ | |
zypper --non-interactive addrepo --no-gpgcheck http://download.opensuse.org/repositories/X11:/MATE:/Next/openSUSE_Factory/ mate:next |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFRovA8BCACnylHul2R6j9XaHaaS2GedY89AZ3dhFEbelP2o8S8WLvDsk/6w | |
UFMB66fATbQ/fXG7cL7Rni1jV8vCSz7e6X1jtzn/XoW79IC+PsnOgoCspeaGGB1J | |
ggeZTOwzSlDbXZVAlK5guGpqr95ojLVfVjL1mbnH8Ejg9nZofNLEbVTBhlTyA8QE | |
ZIn9omupLDktLqVUyCBTdDE4EHEc8ytKJJYVlmQgUlItr5vEEYYn5GY6nj3Fq2cI | |
R+R4aOiV7hKoSD9CmMzviw3a7Njr2lmhO30+0ap2ZxbjwAJNKEA1AiR+nehjjs6F | |
owrn2Uh7aeY0GkUBC7IFmHnnONTkwPFRuTEjABEBAAG0MUZlbGlwZSBCYXJyaWdh | |
IFJpY2hhcmRzIDxmZWxpcGVAZmVsaXBlYmFycmlnYS5jbD6JATkEEwECACMFAlRo |
I hereby claim:
To claim this, I am signing this object: