Skip to content

Instantly share code, notes, and snippets.

@ifmihai
ifmihai / build swisseph windows.txt
Last active December 30, 2020 14:31
How to build and use pyswisseph python package on windows
On windows, you cannot install directly the pyswisseph python package.
Pyswisseph, is the python extension to AstroDienst Swiss Ephemeris library.
https://pypi.org/project/pyswisseph/
So, after contacting the creator of the this python package,
and after many tries,
i came up with this workflow, to build the pyd DLL yourself.
I succeeded with python 2.7 32bit, and also python 3.7 64bit
@ifmihai
ifmihai / README.md
Created August 27, 2015 07:31
YAHOO HK 0293

README is empty

@ifmihai
ifmihai / 0_reuse_code.js
Created August 27, 2014 06:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ifmihai
ifmihai / googletz.py
Last active August 29, 2015 14:05
google timezone api. getting timezone for a (latitude, longitude) tuple, or for a string address
from geopy import geocoders
def getlatlon(address, i=0, avg=False):
'''
returns a tuple with (lat, lon) of desired place
Parameters
----------
address: str
the address as given to google maps
@ifmihai
ifmihai / gist:a7a054cd1548be9cb3c5
Created August 6, 2014 06:05
venus crossing jupiter's equator 1950-2020
Position Finder Calculation
Calculation Inputs
Calculation type = Position Event Finder
Target = VENUS
Observer = JUPITER
Reference frame = IAU_JUPITER
Light propagation = No correction