Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Arslan ararslan

  • Beacon Biosignals
  • Seattle, WA
View GitHub Profile
@ararslan
ararslan / # chezscheme - 2017-02-19_23-27-33.txt
Created Feb 20, 2017
chezscheme on macOS 10.11.6 - Homebrew build logs
View # chezscheme - 2017-02-19_23-27-33.txt
Homebrew build logs for chezscheme on macOS 10.11.6
Build date: 2017-02-19 23:27:33
@ararslan
ararslan / log.txt
Created Feb 10, 2017
AppVeyor 32-bit failure
View log.txt
[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 Feb 6, 2017
Payne-Hanek reduction based on the Jetfuel C# library
View painfulkayak.jl
# 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 Apr 1, 2016
Get election primary results for any Stack Exchange moderator election
View se_election_results.py
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")