I hereby claim:
- I am nsmgr8 on github.
- I am nasim (https://keybase.io/nasim) on keybase.
- I have a public key ASCELb0nkgYHDixCTz36D6HEFeA2z7j42DARx0cPUGpTrgo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import re | |
import sys | |
try: | |
number = sys.argv[1] | |
except IndexError: | |
number = '45333312884443' |
from typing import NamedTuple, Callable | |
class KeyCombination(NamedTuple): | |
first: int | |
second: int | |
third: int | |
def __str__(self): | |
return f'{self.first}{self.second}{self.third}' |
process.env.ts |
I hereby claim:
To claim this, I am signing this object:
from django.conf.urls import url | |
from django.http import HttpResponse | |
DEBUG, ROOT_URLCONF, SECRET_KEY = True, __name__, '.' | |
urlpatterns = url('', lambda _: HttpResponse('Hello world')), |
#include <iostream> | |
#include <map> | |
#include <vector> | |
#include <cstdlib> | |
using namespace std; | |
void all_primes(int n, vector<int> &primes) { | |
if(n < 2) | |
return; |
#include <stdio.h> | |
#include <math.h> | |
long fact(long p) { | |
long i, mult = 1; | |
for(i=1; i<=p; i++) | |
mult *= i; | |
return mult; |
#!/usr/bin/env python | |
from itertools import islice, count | |
def eratosthenes_improved(n): | |
''' Slightly improved version of Eratosthenes Sieve algorithm. | |
This algorithm do not store an array of numbers to rule out composites. | |
Instead it uses a dictionary of special composite numbers only, hence saving | |
memory. It also rules out even numbers in the loop, making less iteration. ''' |
README
LaTeX Preamble
Created by Mark Eli Kalderon on 2008-07-30
LaTeX preamble and associated files. Meant to be used as a submodule of a Git repository. The file, preamble.tex, needs to be included in the LaTeX document under version control. See the provided template. For more information about keeping your LaTeX preamble in a Git submodule see this blog post.
#!/usr/bin/env python | |
import os | |
import datetime | |
import time | |
import urllib2 | |
def getcsv(se): | |
response = urllib2.urlopen('http://dsecse.latest.nsmgr8.appspot.com/'+se) | |
fname = response.headers['content-disposition'] |