Skip to content

Instantly share code, notes, and snippets.

Federico Cerutti ceres-c

Block or report user

Report or block ceres-c

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ceres-c / Dockerfile
Last active Jan 28, 2019
Dockerfile to create a welcoming environment on top of base/devel arch image
View Dockerfile
FROM base/devel:latest
# update system
pacman -Syyu --noconfirm
# install basic dependencies
ceres-c /
Created Jan 6, 2019
I needed a script to traverse my music collection and quickly update cuesheets with correct titles. Given all files in my collection are tagged with MusicBrainz archive, the best way to do so is reading flac files tags.
# Author: ceres-c 2019-01-06
# Updates recursively cue files to reflect track's title present in flac files.
import os
from mutagen.flac import FLAC
def cueupdater (path, cuefile):
title = None
ceres-c /
Last active Nov 25, 2019
Automatically extract KeyStore objects and relative password from Android applications with Frida - Read more:
author: ceres-c
usage: ./
Once the keystore(s) have been exported you have to convert them to PKCS12 using keytool
import frida, sys, time
ceres-c / SummerDays-2018
Last active Sep 26, 2018
Upcoming McDonald Italy offers
View SummerDays-2018
2018-07-11 - Big Mac [2€]
2018-07-12 - Confezione patatine grandi [1€]
2018-07-13 - McFlurry [1,50€]
2018-07-14 - 9 McNuggets [1,50€]
2018-07-15 - Tasty Basket [7€]
2018-07-16 - McWrap Caesar Cheese [3€]
2018-07-17 - Bibita media + Borsa Coca Cola [2€]
2018-07-18 - Le Ricche [1€]
2018-07-19 - McFlurry [1,50€]
2018-07-20 - McMenu Classic Double Cheeseburger/Double Cheeseburger BBQ [4€]
ceres-c /
Last active Aug 11, 2019
Using mfcuk r65 with libnfc 1.5.1 in 2018

You first need to download both libnfc 1.5.1 and mfcuk r65. The former is available among github releases wile the latter can be obtained via git rebase.

If you're on Arch you'll need pcsclite, if on Debian derivates libpcsclite-dev

Let's compile libnfc (<user> is your username)

mkdir -p ~/builds/nfc
cd ~/builds/nfc
tar zxf libnfc-1.5.1.tar.gz
ceres-c /
Created Jan 8, 2018 — forked from wch/
Script for restarting wpa_supplicant in debug mode under Arch linux (systemd)
# set wpa_supplicant debug level to 1, disable timestamps, disable show_keys
[ "$UID" == 0 ] || { echo "Only root can run this"; exit 0;}
echo "Stopping NetworkManager"
systemctl stop NetworkManager
ceres-c / filledShapes.c
Last active Oct 8, 2017
(Uni homework) Draw filled shapes on a canvas in C
View filledShapes.c
#include <stdio.h>
#include <stdlib.h>
#define NUMROW 40
#define NUMCOL 40
void drawCircle (char *canvas, int r, int xCenter, int yCenter);
void drawEllipse (char *canvas, int width, int height, int xCenter, int yCenter);
void drawRhombus (char *canvas, int a, int b, int xCenter, int yCenter);
void fillEmpty (char *canvas, int nRow, int nCol);
ceres-c /
Created Jul 17, 2017
Keybase github verification

Keybase proof

I hereby claim:

  • I am ceres-c on github.
  • I am ceresc ( on keybase.
  • I have a public key ASD8_o1ADB4ACh4_E3D0vNOwVzk-yAetJPR7mnJBXyNyPwo

To claim this, I am signing this object:

ceres-c /
Last active Apr 15, 2018
010Editor Template for Mifare Ultralight cards
//--- 010 Editor v8.0 Binary Template
// File:
// Authors: ceres-c
// Version: 1.0
// Purpose: Mifare Ultralight structure parsing.
// Commonly used in tickets.
// Category: Electronics
// File Mask:
You can’t perform that action at this time.