Skip to content

Instantly share code, notes, and snippets.

View IQAndreas's full-sized avatar

Andreas Renberg IQAndreas

View GitHub Profile
@IQAndreas
IQAndreas / gist:b1870fa9af631ea814d396ba4ed02149
Last active March 3, 2017 20:38 — forked from larsiusprime/gist:2cff49cc973eba078a94b6c3358c7efb
Help me diagnose a black screen error on linux/mac

I believe these settings should be enough to reproduce the error.

platform: linux
bits: 64
haxe version: latest dev version

hxcpp: https://github.com/larsiusprime/hxcpp (master branch)

@IQAndreas
IQAndreas / profile
Last active December 22, 2015 20:19 — forked from wolever/profile
# prompt examples:
# [3 jobs master] ~/code/myproject/foo
# [1 job my-branch] ~/code/bar/
# ~
# Very, very fast, only requiring a couple of fork()s (and no forking at all to determine the current git branch)
if [[ "$USER" == "root" ]]
then
export PS1="\e[1;31m\]\u \[\e[1;33m\]\w\[\e[0m\] ";
else
$ python3 gh-issues-import/gh-issues-import.py
Traceback (most recent call last):
File "gh-issues-import/gh-issues-import.py", line 129, in <module>
main()
File "gh-issues-import/gh-issues-import.py", line 125, in main
import_issues(issues, milestones, labels)
File "gh-issues-import/gh-issues-import.py", line 103, in import_issues
res_issue = send_post_request("%s/issues" % dst_url, issue)
File "gh-issues-import/gh-issues-import.py", line 22, in send_post_request
response = urllib.request.urlopen(req)
import urllib.request, urllib.error, urllib.parse
import json
import base64
#==== configurations =======
username = "username"
password = "password"
src_repo = "AdamAtomic/flixel"
dst_repo = "FlixelCommunity/flixel"
#==== end of configurations ===