Skip to content

Instantly share code, notes, and snippets.

View Misaghlb's full-sized avatar

Misagh Misaghlb

View GitHub Profile
# scrapping data from https://analytics-polygon.sushi.com/pairs
import json
import scrapy
class SushiPairsSpider(scrapy.Spider):
name = "sushipairs"
<?php
/*ini settings*/
set_time_limit(0);
ini_set('memory_limit', '512M');
function download()
{
$hash = $_GET['hash'];
$timestamp =$_GET['timestamp'];

Keybase proof

I hereby claim:

  • I am misaghlb on github.
  • I am misaghlb (https://keybase.io/misaghlb) on keybase.
  • I have a public key whose fingerprint is C3F5 64D2 8255 C471 AB22 7FC9 7F4E 80CB 8BF6 6D9A

To claim this, I am signing this object:

@Misaghlb
Misaghlb / night_rtl.css
Created August 3, 2017 07:35
RTL support for Typora Markdown Editor - Night Theme
@import "night/mermaid.dark.css";
html {
font-size: 16px;
}
html,
body {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
@Misaghlb
Misaghlb / hexo.plugin.zsh
Created January 9, 2017 16:30
oh-my-zsh autocompletion plugin for hexo static site generator
# hexo basic command completion
_hexo_get_command_list () {
hexo --no-ansi | awk '/(--|^ +[a-z]+)/{ print $1 }'
}
_hexo () {
compadd `_hexo_get_command_list`
}