Skip to content

Instantly share code, notes, and snippets.

View githubrakesh's full-sized avatar
🏠
Working from home

Rakesh githubrakesh

🏠
Working from home
View GitHub Profile
@githubrakesh
githubrakesh / apachesuperset.md
Created August 13, 2022 16:42
Apachce Superset - install and running

Problem - Install Superset in Ubuntu 22.04 with Python 3.10 - FAILED

apache/superset#19986 (comment)

I used pyenv to get 3.9 installed alongside 3.10 in DAT Linux.

apt-get install --yes libsqlite3-dev libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev lzma lzma-dev tcl-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev wget curl make build-essential python3-openssl git clone https://github.com/pyenv/pyenv.git $HOME/.pyenv

@githubrakesh
githubrakesh / brokenrequest.html
Last active June 5, 2018 11:25
check if a network connection timed out during an AJAX call
<!DOCTYPE html>
<html>
<body>
<h2>XMLHttpRequest : Status and ReadyState</h2>
<button type="button" onclick="loadData()">Load Data</button>
<script>
function loadData() {