Skip to content

Instantly share code, notes, and snippets.

View SamMousa's full-sized avatar
🎯
Focusing

Sam SamMousa

🎯
Focusing
  • Sam-IT
  • Netherlands
View GitHub Profile
@SamMousa
SamMousa / config.json
Created February 26, 2020 09:34 — forked from twalker/config.json
inline-styles using phantomjs
{
"ignoreSslErrors": true,
"localToRemoteUrlAccessEnabled": true,
"webSecurityEnabled": false
}
@SamMousa
SamMousa / config.json
Created February 26, 2020 09:34 — forked from twalker/config.json
inline-styles using phantomjs
{
"ignoreSslErrors": true,
"localToRemoteUrlAccessEnabled": true,
"webSecurityEnabled": false
}
@SamMousa
SamMousa / draytest.py
Last active February 21, 2016 22:05 — forked from doobeh/draytest.py
Testing Draytek Vodaphone for Home Automation.
import re
import requests
from collections import namedtuple
import urllib
import base64
# Change these to match your settings. I think the username/password
# is encoded, if it doesn't work, try changing `ENCODE_LOGIN` to False
# and see if it works better