Skip to content

Instantly share code, notes, and snippets.

Avatar

Artur Tenorio arturvt

  • Swisscom
  • Netherlands
View GitHub Profile
View comandos_uteis_git.md

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 / useful_git_commands.md
Last active Apr 16, 2020
Useful git commands
View useful_git_commands.md

Delete branches

Delete a merged branch

git branch -d branchname

Delete a non merged branch

@arturvt
arturvt / android_sms_reader.py
Last active Sep 16, 2020
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.
View android_sms_reader.py
#!/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