Skip to content

Instantly share code, notes, and snippets.

View arcanosam's full-sized avatar

Samuel Teixeira Santos arcanosam

View GitHub Profile
@arcanosam
arcanosam / gist:1342a2c9c18de379ca4e
Last active August 29, 2015 14:01
Particle Panda - Help Tab Error - TabbedPanelHeader panel attribute no longer exist
[INFO ] [Logger ] Record log in C:\Users\arcan_000\.kivy\logs\kivy_14-05-22_10.txt
[INFO ] Kivy v1.8.1-dev
[INFO ] [Python ] v3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)]
[INFO ] [Factory ] 168 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
@arcanosam
arcanosam / re_json_file.py
Last active June 29, 2017 00:16
Reading chunks of a json file and identifying each json structures as they chunks are read
"""reading from a json file in chunks and added each json structure on a list
"""
import re
import json
# path to a json file
json_file = '<<fill with a complete path to a json file>>'
# this variable hold text read from file until found a json structure
text_read = ''
@arcanosam
arcanosam / csv-to-json.js
Last active March 11, 2018 01:07
Microsoft: DEV283x Introduction to Node.js - Module 1 Assignment Lab: CSV to JSON Converter
# Sorry.In the end, I follow the instructions and make a repository to assignments
# check here https://github.com/arcanosam/edx-ms-dev283x-intronodejs
@arcanosam
arcanosam / install_Python381.sh
Last active October 29, 2020 05:56
my Python 3.8.1 build script on CentOS 7
#!/bin/bash
# original source/tip: https://www.workaround.cz/howto-compile-install-latest-python-37-38-centos-7-8/
wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz -P /tmp/
tar xzfv /tmp/Python-3.8.1.tgz -C /tmp
cd /tmp/Python-3.8.1