Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/img/favicon/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/favicon/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/img/favicon/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/img/favicon/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/assets/img/favicon/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/assets/img/favicon/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/assets/img/favicon/apple-touch-icon-76x76.png" />
@nicosomb
nicosomb / android2.md
Last active June 6, 2017 19:20
blog post about wallabag android 2

wallabag Android application 2 released

Hello! We are excited to announce the new release of wallabag Android application. This release comes with many improvements and some awesome features that will make your reading experience even better.

What's new?

Here goes an explanation of the new features and improvements. While you read through these explanations, you'll surely realize why do we say it one of the most significant release of wallabag App for Android.

Keybase proof

I hereby claim:

  • I am nicosomb on github.
  • I am nicosomb (https://keybase.io/nicosomb) on keybase.
  • I have a public key whose fingerprint is 6A25 8855 8B8F 56C9 7D2B EDCA 4AAF F4AF D969 8EE4

To claim this, I am signing this object:

@nicosomb
nicosomb / fix.md
Last active August 30, 2019 09:33
Fix for wallabag 2.2 and SQLite

After upgrading wallabag to 2.2, if you use SQLite for database, you may have a blank page or an internal server error (error 500). It can be due to migrations which failed.

The migrations who failed are migrations which try to create new columns on tables.

To fix this problem, please execute these commands on your webserver:

    php bin/console doctrine:migration:execute 20161024212538 -e=prod
    php bin/console doctrine:migration:execute 20161106113822 -e=prod
delete user
API: ability to export entry in all available format (epub, pdf, etc...)
Bring annotations to API
reset account
download pictures
add pinboard import
Added new tag form in mobile view for Material theme
Added unmark.it sharing
Share to Shaarli - Include tags
Added shortcuts
@nicosomb
nicosomb / relaunch_workers.sh
Last active December 1, 2016 12:33
Script to relaunch asynchronous redis workers for wallabag (for pocket / instapaper / readability / pinboard imports)
#! /usr/bin/env bash
nbWorkers=10
wallabag_path='/var/www/app.wallabag.it'
workers[0]='pocket'
workers[1]='instapaper'
workers[2]='readability'
workers[3]='wallabag_v1'
workers[4]='wallabag_v2'
@nicosomb
nicosomb / sphp.sh
Created October 24, 2016 20:33 — forked from w00fz/sphp.sh
PHP switcher
#!/bin/bash
# Check if command was ran as root.
if [[ $(id -u) -eq 0 ]]; then
echo "The command \"sphp\" should not be executed as root or via sudo directly."
echo "When a service requires root access, you will be prompted for a password as needed."
exit 1
fi
# Usage
git fetch origin
git checkout -b 2.0.0-beta.1 origin/2.0.0-beta.1
composer install
bin/console doctrine:schema:update --force
Debug log: Untitled wallabag instance
...** SANDSTORM SUPERVISOR: Starting up grain.
+ mkdir -p /var/lib/mysql
+ mkdir -p /var/lib/nginx
+ mkdir -p /var/lib/php5/sessions
+ mkdir -p /var/log
+ mkdir -p /var/log/mysql
+ mkdir -p /var/log/nginx
@nicosomb
nicosomb / setup.sh
Created January 23, 2016 08:04
setup.sh wallabag / sandstorm
#!/bin/bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y nginx php5-fpm php5-mysql php5-cli php5-curl git php5-dev mysql-server
rm -f /etc/nginx/sites-enabled/default
cat > /etc/nginx/sites-available/sandstorm-php <<EOF
server {