Skip to content

Instantly share code, notes, and snippets.

View ararslan's full-sized avatar

Alex Arslan ararslan

  • Beacon Biosignals
  • Seattle, WA
  • 21:49 (UTC -07:00)
View GitHub Profile
@ararslan
ararslan / # chezscheme - 2017-02-19_23-27-33.txt
Created February 20, 2017 07:33
chezscheme on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for chezscheme on macOS 10.11.6
Build date: 2017-02-19 23:27:33
@ararslan
ararslan / log.txt
Created February 10, 2017 04:50
AppVeyor 32-bit failure
[00:00:00] Build started
[00:00:00] git config --global core.autocrlf input
[00:00:00] git clone -q --depth=50 https://github.com/JuliaLang/julia.git C:\projects\julia
[00:00:06] git fetch -q origin +refs/pull/20427/merge:
[00:00:08] git checkout -qf FETCH_HEAD
[00:00:17] Restoring build cache
[00:00:20]
[00:00:20] Cache 'i686-4.9.2-release-win32-sjlj-rt_v4-rev3.7z' - Downloading (68,594,896 bytes)...1%
[00:00:20] Cache 'i686-4.9.2-release-win32-sjlj-rt_v4-rev3.7z' - Downloading (68,594,896 bytes)...10%
[00:00:20] Cache 'i686-4.9.2-release-win32-sjlj-rt_v4-rev3.7z' - Downloading (68,594,896 bytes)...20%
@ararslan
ararslan / painfulkayak.jl
Created February 6, 2017 23:09
Payne-Hanek reduction based on the Jetfuel C# library
# Based on the Jetfuel C# library
# Bits of 1/2π
const INV2PI = UInt64[
(0x28be60db << 32) | 0x9391054a,
(0x7f09d5f4 << 32) | 0x7d4d3770,
(0x36d8a566 << 32) | 0x4f10e410,
(0x7f9458ea << 32) | 0xf7aef158,
(0x6dc91b8e << 32) | 0x909374b8,
(0x01924bba << 32) | 0x82746487,
@ararslan
ararslan / se_election_results.py
Created April 1, 2016 06:05
Get election primary results for any Stack Exchange moderator election
from bs4 import BeautifulSoup
from urllib.request import urlopen
from urllib.parse import urlparse
def get_sites():
response = urlopen("http://stackexchange.com/sites?tab=all")
soup = BeautifulSoup(response.read(), "html.parser")