Skip to content

Instantly share code, notes, and snippets.


evandrix evandrix

Block or report user

Report or block evandrix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am evandrix on github.
  • I am evandrix ( on keybase.
  • I have a public key ASBktS2U6T_UsjtfZ1SJQxJ2VZpY0pEXV1YyzrQCpSpByAo

To claim this, I am signing this object:

evandrix / index.html
Created Jun 14, 2014
SG-MY Causeway Camera embed
View index.html
<img alt="LNK CAM S5 SECOND LINK 10 KM-1.3 NB" src="">
<img alt="LNK CAM S5 SECOND LINK 8 KM1.8 SB" src="">
View gist:10592923
View gist:9509160
#coding: utf-8
from cStringIO import StringIO
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.header import Header
from email import Charset
from email.generator import Generator
import smtplib
# Example address data
evandrix / p438.cpp
Created Jan 11, 2014
Project Euler Problem 438
View p438.cpp
#include <iostream>
#include <cmath>
#include <stdlib.h>
#include <cstring>
using namespace std;
* Problem 438
* Example:

Gmail.js - JavaScript API for Gmail

TL;DR Summary

  • Lots of api methods to work with gmail. Useful for chrome extensions
  • Most of them dont take arguments, they work on what is currently visible on the screen
  • I still need to add implementation for chrome extension, works by injecting js for now
  • Main method is gmail.observe.on('lots_of_actions_here', callback())
  • Click on a method link to view more detailed docs
  • Create an issue/pull request for feedback, requests and fixes
import math
for i in xrange(1,600001):
# x*=2
# print str(i)+":"+str(int(math.log(n,2)))+":"+str(((2**x)**2)%1000000007)+"/"+str(x),
print i,x
if i == 20: break
View index.html
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HTML5 Video Player</title>
<link href="" rel="stylesheet">
<script src=""></script>
<body style="padding-top:16px">
evandrix / index.html
Created Oct 26, 2013
Twitter data visualization
View index.html
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
margin: 0;
padding: 0
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
<uses-sdk android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application android:label="@string/app_name">
You can’t perform that action at this time.