Skip to content

Instantly share code, notes, and snippets.

View stevecohenfr's full-sized avatar
🏠
Working from home

Steve Cohen stevecohenfr

🏠
Working from home
View GitHub Profile
@stevecohenfr
stevecohenfr / facebook-message-all-friends.js
Created March 5, 2020 00:48
Send facebook message to all your contacts
/*
* == To use this script just past this code Chrome/Firefox console ==
*
* You don't need to modify this code, you will be prompt to choose your message, if you want to execut this script in dry mode, etc.
* If you don't have javascript knowledge and are scared to run this script in your facebook, just ask someone that know javascript to check it (it very simple to understand :) )
* It will :
* - ask you if you want to run in dry mode (test mode without sending message)
* - ask you to write your message
* - load all your friends in your profile friends tab
* - create a button at bottom of the page (that you will not see) with a generated facebook link to send message yo your contact
@stevecohenfr
stevecohenfr / .python-gsmmodem-advanced.md
Last active January 26, 2024 10:20
Read long SMS with python-gsmmodem (and send SMS with same running script)

Read long SMS with python-gsmmodem (and send SMS with same running script)

I spend a lot of time to replace gammu with python-gsmmodem for my Huawei E3531.

The python exemple is just an exemple, it's incomplete. It does not read sms in the memory (if you receive a sms before starting the script). And it does not concat multiple parts sms (it will print unordered parts).
Also, as your live read sms script is running, you cannot send sms with another script because the dongle is busy.

Here is my own script to read all kind of SMS and send in same time.