Skip to content

Instantly share code, notes, and snippets.

View MCSH's full-sized avatar

Sajjad Heydari MCSH

View GitHub Profile
@MCSH
MCSH / datadump.py
Created March 1, 2024 07:11
Dump event capacity data from Eventbrite API
#!/bin/env python
"""Dump event capacity data from Eventbrite API."""
import argparse
import csv
from requests import get
def api_call(path, token, params=None):
"""Make a call to the Eventbrite API."""
if params is None:
### Keybase proof
I hereby claim:
* I am mcsh on github.
* I am sajjad_heydari (https://keybase.io/sajjad_heydari) on keybase.
* I have a public key ASDOeNmz-wyRduSb3bG3vQ_kufZgk8oTdWJfdhoBdl3w8wo
To claim this, I am signing this object:
@MCSH
MCSH / .cvimrc
Created January 21, 2018 20:09
cvimrc
gitlink () -> {{
console.log(document.getSelection().toString());
Mappings.parseLine ("call :tabnew https://github.com/" + document.getSelection().toString());
}}
map gh :call gitlink<CR>
let blacklists = ["https://www.youtube.com/*","https://twitter.com/*","https://inbox.google.com/*","https://www.udemy.com/*"]
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="variables_set" id=",KL%.Q=~LVTRnDWm[fR|" x="526" y="-229">
<field name="VAR">id davar</field>
<value name="VALUE">
<block type="text" id="Vv/0iRIXvu@M,%u-U;Ud">
<field name="TEXT">96343780</field>
<comment pinned="true" h="80" w="160">Id of Sajjad Heydari</comment>
</block>
</value>
<next>