Skip to content

Instantly share code, notes, and snippets.

View a-hilaly's full-sized avatar

Amine a-hilaly

View GitHub Profile
@a-hilaly
a-hilaly / main.go
Created October 15, 2019 09:08
grpc + json proxy
package start
import (
"context"
"fmt"
"net"
"net/http"
"os"
"os/signal"
"time"
@a-hilaly
a-hilaly / README.md
Last active August 26, 2019 17:05
GSoC Report 2019
@a-hilaly
a-hilaly / keybase.md
Created May 3, 2019 10:27
keybase.md

Keybase proof

I hereby claim:

  • I am a-hilaly on github.
  • I am ahilaly (https://keybase.io/ahilaly) on keybase.
  • I have a public key ASDbsYGxg4fDD9ReSkFIc33Y00M4A4J9mvK_ssfJmQ50-Ao

To claim this, I am signing this object:

@a-hilaly
a-hilaly / primegenerator.java
Last active April 1, 2017 20:11
Fast prime list generation and primitivity test
package euler.tools.algebra;
import java.util.ArrayList;
import java.util.Iterator;
/* Generating primes using a known list of primes eliminates all unecessary calculation
* Until we will need to extend our prime list using the fact that the IP\{2,3} are all included
* in {6k+1, 6k-1 / for k in N\{0}}
*
*/
@a-hilaly
a-hilaly / The Technical Interview Cheat Sheet.md
Created March 17, 2017 18:59 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@a-hilaly
a-hilaly / AdverserialLearningLogisticRegression.ipynb
Created March 17, 2017 17:04 — forked from arminwasicek/AdverserialLearningLogisticRegression.ipynb
Jupyter notebook on adverserial learning on logistic regression
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@a-hilaly
a-hilaly / README.md
Created March 17, 2017 08:38 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@a-hilaly
a-hilaly / beautiful_idiomatic_python.md
Created March 17, 2017 08:25 — forked from JeffPaine/beautiful_idiomatic_python.md
Transforming Code into Beautiful, Idiomatic Python: notes from Raymond Hettinger's talk at pycon US 2013. The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]:
@a-hilaly
a-hilaly / gist:0b7b8b3ba46f2c1cbc2ccf36729884db
Created March 9, 2017 16:04 — forked from 0xKD/gist:4530035
Mid-point circle drawing algorithm implemented in Python
# Mid-point circle drawing algorithm.
# Requires pygame: http://pygame.org
from pygame import gfxdraw
import sys,pygame
pygame.init()
screen = pygame.display.set_mode((400,400))
screen.fill((0,0,0))
pygame.display.flip()
@a-hilaly
a-hilaly / introrx.md
Created March 7, 2017 16:31 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing