Skip to content

Instantly share code, notes, and snippets.

@manti
manti / install_cli.py
Created November 2, 2024 15:10
install_cli.py
#!/usr/bin/env python3
r"""
This script installs the Aptos CLI.
It will perform the following steps:
- Determine what platform (OS + arch) the script is being invoked from.
- Download the CLI.
- Put it in an appropriate location.
This was adapted from the install script for Poetry.
@manti
manti / keybase.md
Created June 7, 2024 14:35
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@manti
manti / gist:33eaf148e4e2b4b12a37
Last active September 4, 2015 03:38 — forked from illerucis/gist:4586359
Server-side Python + MongoDB + Flask implementation for DataTables
from collections import namedtuple
from pymongo import MongoClient
from flask import request
from core.web.site import app
from core.web.site.views_master import *
import json
'''
$('#companies').dataTable( {
"bProcessing": true,