Skip to content

Instantly share code, notes, and snippets.

View arturvt's full-sized avatar

Artur Tenorio arturvt

  • Booking.com
  • Netherlands
View GitHub Profile
@arturvt
arturvt / useful_git_commands.md
Last active April 16, 2020 07:25
Useful git commands

Delete branches

Delete a merged branch

git branch -d branchname

Delete a non merged branch

@arturvt
arturvt / comandos_uteis_git.md
Created April 16, 2020 08:27
Comandos úteis git.

Comandos uteis GIT

Deletando branches (local)

Deleta uma branch que já foi merged

git branch -d branchname

Deleta uma branch ainda não merged

@arturvt
arturvt / android_sms_reader.py
Last active September 16, 2020 15:34
A simple Python 2.7 app that read all non read messages from Android (rooted) devices. Also a method to mark as read. Fully tested with Android 5.0 device.
#!/usr/bin/env python
"""
This file contains a method to fetch all unread SMS messages from an android device and returns a dict with result.
@author: Artur Tenorio - arturvt@gmail.com
"""
from datetime import datetime
import os
import pipes
import subprocess