Skip to content

Instantly share code, notes, and snippets.


Giorgos Logiotatidis glogiotatidis

View GitHub Profile
View crontab
@daily /home/seadog/bin/
glogiotatidis /
Last active Mar 21, 2019
Migrate ASRSnippets to new template system + icon gallery
# To be run within a django shell plus
import os
import re
import hashlib
import base64
import json
import io
from PIL import Image
import requests
LOGIN_URL = '!login.action'
SMS_URL = ''
# Fill in your My Vodafone username nand password
PHONE = '69xxxxxxxx'
MESSAGE = 'This is a test'
# Script to remove GPG key from git-crypt
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
glogiotatidis /
Created Apr 22, 2016 — forked from teffalump/
OpenWRT adblock implementation

Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script:


In its basic usage, this script will modify the router such that blocked addresses are null routed and unreachable. Since the address blocklist is full of advertising, malware, and tracking servers, this setup is generally a good thing. In addition, the router will update the blocklist weekly. However, the blocking is leaky, so do not expect everything to be blocked.

View swap
.snippet p {
display: inline-block;
height: unset;
padding-left: unset;
vertical-align: unset;
width: unset;

Keybase proof

I hereby claim:

  • I am glogiotatidis on github.
  • I am giorgos ( on keybase.
  • I have a public key whose fingerprint is 3BC0 E283 F838 C0B8 15B9 6148 0F8C AF54 67DE DD04

To claim this, I am signing this object:

glogiotatidis / cacheresults
Last active Aug 29, 2015
Masterfirefoxos caching
View cacheresults
# Tested on EC2 instance
## With Cache
ubuntu@masterfirefoxos-jenkins:~$ ab -n 1000 -c 10
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,
Benchmarking (be patient)
import ipdb
import json
from rna.clients import RestModelClient
from rna.models import Note, Release
# Release notes for
# 30.0beta
# 31.0beta
# 31.0
# 31.1.0
View github
# Usage
[[ -z $1 ]] || [[ -z $2 ]] && {
echo "Rerun a github pr with a project and a pull ."
echo -e " $ $(basename $0) PROJECT PULLNUM"
exit 1
You can’t perform that action at this time.