Skip to content

Instantly share code, notes, and snippets.

@kurniantoska
kurniantoska / Setup_Raspbian.md
Created December 25, 2018 00:55 — forked from Robpol86/Setup_Debian.md
This is how I setup Raspbian on a Raspberry Pi.

Raspbian Setup (Raspberry Pi)

Steps written for 2017-11-29-raspbian-stretch-lite.img at the time of this writing.

sudo raspi-config

Since I'm from the US and primarily use my Raspberry Pis on my Atrix Lapdock, I use these settings:

  • en_US.UTF-8 UTF-8
  • US/Pacific Ocean
@kurniantoska
kurniantoska / raspbian-python3.6.rst
Created December 21, 2018 00:50 — forked from dschep/raspbian-python3.6.rst
Installing Python 3.6 on Raspbian

Installing Python 3.6 on Raspbian

As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.

  1. Install the required build-tools (some might already be installed on your system).
@kurniantoska
kurniantoska / script.py
Created November 8, 2018 16:25
Test gist
import antigravity
def test_gist():
pass
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="Django default" uuid="623294ca-a9fe-4c68-a2e1-39aa4ca17666">
<driver-ref>sqlite.xerial</driver-ref>
<synchronize>true</synchronize>
<imported>true</imported>
<remarks>$PROJECT_DIR$/test1/settings.py</remarks>
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
<jdbc-url>jdbc:sqlite:D:\Users\skater\PycharmProjects\test1\db.sqlite3</jdbc-url>
@kurniantoska
kurniantoska / HeadFirstPyv2_.idea_HeadFirstPyv2.iml
Created August 9, 2017 22:50
Project head first python second edition
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>