This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
/* | |
Description: A tiny Eigen OSQP wrapper. | |
Author: Yotam Gingold <yotam (strudel) yotamgingold.com> | |
License: Public Domain [CC0](http://creativecommons.org/publicdomain/zero/1.0/) | |
On GitHub as a gist: https://gist.github.com/yig/f8fb55fc37dbc11c4fc60cbca77b7dc7 | |
*/ | |
#include <Eigen/Dense> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A port of "Retrieval on Parametric Shape Collections" [Schulz et al. 2017]'s public code release to Python. | |
# Project website: <https://people.csail.mit.edu/aschulz/paramShapeRetrieval/index.html> | |
# This code was created by manually correcting the output of ChatGPT. | |
import numpy as np | |
class ParametricShape: | |
EPSILON_CONST = 1e-7 | |
def __init__(self, filename=None, nParameters=None, defaultParameters=None, triangles=None, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Author: Yotam Gingold <yotam (strudel) yotamgingold.com> | |
License: Public Domain [CC0](http://creativecommons.org/publicdomain/zero/1.0/) | |
On GitHub as a gist: https://gist.github.com/yig/2de8f832b96f6ddffd788bb9c3e72ccf | |
''' | |
## pip install scikit-image drawsvg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
# Author: Yotam Gingold <[email protected]> | |
# License: CC0 | |
# URL: <https://gist.github.com/yig/d55eba6221997d12d94fe6976a357edd> | |
## About | |
Converts a PDF file assumed to be a two-column ACM article to text. Ignores reviewer red numbering. | |
## Install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## All the categories on <https://www.nirfindia.org/2023/Ranking.html> | |
## pip install requests beautifulsoup4 | |
## Author: Yotam Gingold <[email protected]> | |
## License: CC0 | |
## URL: <https://gist.github.com/yig/bc29935d22845dc02bf5000bcf18ba25> | |
# from pathlib import Path | |
import csv | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Author: Yotam Gingold <yotam (strudel) yotamgingold.com> | |
License: Public Domain [CC0](http://creativecommons.org/publicdomain/zero/1.0/) | |
On GitHub as a gist: https://gist.github.com/yig/4784a86c1343d2bed789dd243ce980fc | |
''' | |
''' | |
Example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Author: Yotam Gingold <yotam (strudel) yotamgingold.com> | |
License: Public Domain [CC0](http://creativecommons.org/publicdomain/zero/1.0/) | |
On GitHub as a gist: https://gist.github.com/yig/3d2a68232554df3b76509438ebba2106 | |
''' | |
from __future__ import print_function, division |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (C) 2016 Yotam Gingold <[email protected]> | |
// GitHub Gist: https://gist.github.com/yig/bea834b6e5262490611cdb4470a2f34c | |
/* | |
Boost Software License - Version 1.0 - August 17th, 2003 | |
Permission is hereby granted, free of charge, to any person or organization | |
obtaining a copy of the software and accompanying documentation covered by | |
this license (the "Software") to use, reproduce, display, distribute, | |
execute, and transmit the Software, and to prepare derivative works of the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Author: Yotam Gingold <[email protected]> | |
# License: Public Domain (CC0) | |
# URL: https://gist.github.com/yig/e59eaa22f5042320ecf18a87da4e44ae | |
from pathlib import Path | |
def make_index_html( path ): | |
path = Path(path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## Author: Yotam Gingold | |
## License: CC0 (public domain) https://creativecommons.org/share-your-work/public-domain/cc0/ | |
## URL: https://gist.github.com/yig/af5bbb054bb9c4de39abc9156e6863e1/ | |
## Download the latest Zoom installer. | |
echo "==> Downloading the latest Zoom installer." | |
cd ~/Downloads | |
## Intel: |
NewerOlder