Skip to content

Instantly share code, notes, and snippets.

View dodevs's full-sized avatar

Douglas Silva dodevs

  • Serra, ES - Brazil
View GitHub Profile
@erickdsama
erickdsama / rwas.py
Last active March 4, 2024 19:21
Class to read and write messages to Whatsapp through of the ADB. You need a android Device with Sqlite3 installed and ADB service.
# coding=utf-8
import json
import time
from subprocess import check_output, CalledProcessError
class WHO:
FROM_ME = "key_from_me == 1"
OTHERS = "key_from_me != 1"
ALL = ""
@KEIII
KEIII / ng-var.directive.ts
Last active November 24, 2021 08:36
Missed Angular *ngVar directive (from https://stackoverflow.com/a/43172992/1847657)
// tslint:disable:no-any directive-selector
import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';
/**
* Declare a variable in the template.
* Eg. <i *ngVar="false as variable">{{ variable | json }}</i>
*/
@Directive({selector: '[ngVar]'})
export class NgVarDirective {
@PurpleBooth
PurpleBooth / README-Template.md
Last active October 26, 2025 17:19
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites