This file contains hidden or 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
| # sudo apt-get install obfs4proxy obfsproxy tor | |
| # sudo vi /etc/tor/torrc | |
| UseBridges 1 | |
| ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy managed | |
| ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy managed | |
| # send email to bridges@torproject.org with body `get transport obfs4` you can get new bridges. | |
| bridge obfs4 195.154.49.15:44705 BACD07DACE996093DC7635F33A98C49... cert=xc/wtKNWADfJQf232xSXT0WpzsaINw6fgPvZBy5Rkw4.../ypaZPDug9L... iat-mode=0 |
This file contains hidden or 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
| /** | |
| * Calculates today's sunrise and sunset hours in local time (or in the given tz) for the given latitude, longitude. | |
| * The tz parameter is mainly for the possible circumstance that your system timezone does not match the location | |
| * you are currently at. | |
| * | |
| * Computations are based on the formulas found in: | |
| * https://en.wikipedia.org/wiki/Julian_day#Converting_Julian_or_Gregorian_calendar_date_to_Julian_Day_Number | |
| * https://en.wikipedia.org/wiki/Sunrise_equation#Complete_calculation_on_Earth | |
| * | |
| * @method suntimes |