Skip to content

Instantly share code, notes, and snippets.

View akdasa's full-sized avatar
📚
Godhead is Light, Nescience Is Darkness

Advaita Kṛṣṇa Dāsa akdasa

📚
Godhead is Light, Nescience Is Darkness
View GitHub Profile
@akdasa
akdasa / README.md
Last active October 24, 2019 13:51
Get rid of bloatware on your Android
@akdasa
akdasa / load_tree.py
Created October 6, 2019 14:23
Load python dictionary as tree
class Node:
def __init__(self, title: str, parent: "Node" = None):
self.title = title
self.parent = parent
self.children = []
# append self as children of a parent
if parent:
self.parent.children.append(self)
@akdasa
akdasa / app.py
Last active November 13, 2022 18:48
Create QML component dynamically from Python
import sys
from PyQt5.QtCore import QUrl, pyqtProperty, pyqtSignal
from PyQt5.QtCore import pyqtSlot
from PyQt5.QtGui import QGuiApplication
from PyQt5.QtQml import QQmlApplicationEngine
from PyQt5.QtQml import qmlRegisterType, QQmlComponent
from PyQt5.QtQuick import QQuickItem
@akdasa
akdasa / application.js
Last active October 23, 2016 09:28
Simple PyQt5/QML application
function log() {
console.log("HELLO!");
}