Skip to content

Instantly share code, notes, and snippets.

View xunkai55's full-sized avatar

Xunkai xunkai55

  • Beijing, China
View GitHub Profile
@xunkai55
xunkai55 / ingress_map_revision.js
Created March 29, 2016 16:09
revise ingress map
document.createElement('script');script.src='https://secure.jonatkins.com/iitc/release/total-conversion-build.user.js';document.body.appendChild(script);script1=document.createElement('script');script1.src='https://secure.jonatkins.com/iitc/release/plugins/player-tracker.user.js';document.body.appendChild(script1);script2=document.createElement('script');script2.src='https://secure.jonatkins.com/iitc/release/plugins/portal-highlighter-high-level.user.js';document.body.appendChild(script2);script3=document.createElement('script');script3.src='https://secure.jonatkins.com/iitc/release/plugins/fly-links.user.js';document.body.appendChild(script3);script4=document.createElement('script');script4.src='https://secure.jonatkins.com/iitc/release/plugins/portal-names.user.js';document.body.appendChild(script4);script5=document.createElement('script');script5.src='https://secure.jonatkins.com/iitc/release/plugins/draw-tools.user.js';document.body.appendChild(script5);
@xunkai55
xunkai55 / setup_bpy.sh
Last active March 16, 2022 00:39
Setup bpy (Blender as a python module) on Mac OS X
# Do not excute the script directly. It is just for demonstration.
# If you followed the documentation and got the errors below, please take a look at this guide.
# Color management: using fallback mode for management
# bpy: couldnt find 'scripts/modules', blender probably wont start.
# Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly.
# ImportError: No module named 'bpy_types'
# ImportError: No module named 'bpy_types'
# pyrna_srna_ExternalType: failed to find 'bpy_types' module
# ImportError: No module named 'bpy_types'