Skip to content

Instantly share code, notes, and snippets.

# non-interactive kde installer for alpine
# apk add curl && curl -L | sh
echo "I will make Alpine Linux a Desktop Linux.. ."
## Desktop user
grigio /
Created April 27, 2015 21:14
enable swapfile
sudo fallocate -l 4G /swapfile
sudo mkswap /swapfile
sudo chmod 600 /swapfile
# "UUID" & create
#SWAP_UUID=`sudo blkid -s UUID /swapfile | grep -Po '[\w*-]*\w'| tail -1`
echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab
sudo swapon -a
grigio /
Created September 15, 2013 21:59
if curl --output /dev/null -sI ""; then
echo "ok"
echo "fail"
grigio /
Last active July 30, 2021 02:45
Google Reader open source alternatives & features

Here some Google Reader Open Source alternatives with the most expected features.

Please fork and help me to keep it updated.

Name language Database has categories Responsive/Mobile
Commafeed java hsql,mysql/postgresql
Freader nodejs mongodb ???
Goread go appengine
Miniflux php
[Desktop Entry]
Name=Touchpad Fix
Exec=/usr/bin/synclient MinSpeed=1.8 MaxSpeed=4 AccelFactor=0.04 ClickPad=1 VertHysteresis=0.1 HorizHysteresis=0.1 HorizTwoFingerScroll=1 VertScrollDelta=-30 HorizScrollDelta=-30
Comment=synaptic touchpad fix
grigio / bitbucket-pipelines.yml
Created October 27, 2017 16:08
image: node:8
depth: full
- step:
- git config --global "" && git config --global "Your Name"
- echo "Check if the PR branch is rebased"; git rebase origin/master | grep -v "up to date" && exit 1
# nodemon.json
"events": {
"restart": "clear"
# nodemon --quiet --exec babel-node --stage 0 -- myfile.js
grigio /
Created January 24, 2016 21:49 — forked from KartikTalwar/
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
grigio / checks.json
Created November 24, 2013 22:14
sensu test
"checks": {
"sensu-rabbitmq-beam": {
"handlers": [
"command": "/etc/sensu/plugins/check-procs.rb -p beam -C 1 -w 4 -c 5",
"interval": 60,
"occurrences": 2,
"refresh": 300,
# Dockerfile for Meteor Shell app
# sudo docker build -t my/shell - < Dockerfile # build image
# sudo docker run -p 7000:3000 my/shell # run web server, wait for http://localhost:3000
# Go to: http://localhost:7000
FROM ubuntu:12.04
MAINTAINER Luigi Maselli
RUN echo "deb precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y python-software-properties git curl sudo