This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# HabibLabReport.py V 0.1 - Habib LabReport CLI | |
# Copyright (C) <2014> mad_dev(A'mmer Almadani) | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
redoxygen is a bulk sms gateway. https://www.redoxygen.net | |
Their developer's page lacks a python example...here it is. | |
''' | |
def sms(message, number): | |
url = 'http://www.redoxygen.net/sms.dll?Action=SendSMS&' | |
param = {} | |
param['AccountId'] = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Simple example for using wtf-Flask's RECAPTCHA widget. | |
#APP.py | |
from flask import Flask, request, render_template | |
from flask.ext.wtf import Form | |
from flask.ext.wtf.recaptcha import RecaptchaField | |
from wtforms.fields import StringField | |
from wtforms.validators import DataRequired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am logic-gate on github. | |
* I am mad_dev (https://keybase.io/mad_dev) on keybase. | |
* I have a public key whose fingerprint is 22F3 BEA2 7382 C170 8AA2 2FCE 73E6 908B DEB4 FEB3 | |
To claim this, I am signing this object: |
NewerOlder