Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mehmetcodes on github.
  • I am pedantal33t (https://keybase.io/pedantal33t) on keybase.
  • I have a public key ASDOKF2efseiA8CnOLaoa7cQA0lrz_FyWIdwBhnxOQedcAo

To claim this, I am signing this object:

javascript: (function() {
if (typeof GM_ID_KEY != "undefined") {
javascript: window.open("https://mail.google.com/mail/u/0?ik=" + GM_ID_KEY + "&view=om&permmsgid=" + encodeURIComponent(document.getElementsByClassName('adn')[0].getAttribute('data-message-id').replace("#", "")), "_new")
}
else {
javascript: window.open("https://mail.google.com/mail/#search/rfc822msgid%3A" + encodeURIComponent(document.getElementsByClassName('message_id')[0].innerHTML.slice(4, -4)), "_self");
}
})()
var http = require('http');
var https = require('https');
// Config start
var ogApiKey = '<ogApiKey>';
var jiraUsername = '<jiraUsername>';
var jiraPassword = '<jiraPassword>';
// If you're using your own installation of JIRA,
@mehmetcodes
mehmetcodes / index.html
Last active December 24, 2015 05:37
jWMWXQ
<html>
<head>
<title>Test javascript</title>
</head>
<body>
<div id="content">
<form>
<textarea id="myText"></textarea>
from collections import deque
import json
from kivy import Logger
import threading
from kivy.clock import Clock
from kivy.network.urlrequest import UrlRequest
from kivy.support import install_twisted_reactor
# from memory_profiler import profile
import zmq
from kivy.compat import queue
@mehmetcodes
mehmetcodes / gist:b05961cf1e11310479fd
Created July 23, 2015 16:38
Tic Tac Toe around July 23 from Amazon
from dynamodb.connectionManager import ConnectionManager
from dynamodb.gameController import GameController
from models.game import Game
from uuid import uuid4
from flask import Flask, render_template, request, session, flash, redirect, jsonify, json
from ConfigParser import ConfigParser
import os, time, sys, argparse
@mehmetcodes
mehmetcodes / designer.html
Last active August 29, 2015 14:18
designer
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;