Skip to content

Instantly share code, notes, and snippets.

Python development environment setup:
https://docs.conda.io/projects/conda/en/stable/user-guide/install/windows.html
<div className="container flex mx-auto max-w-screen-md items-center h-screen ">
{formType === 'signUp' && (
<div>
<input
className="text-sm w-full mr-3 py-5 px-4 h-2 border rounded mb-2"
type="text"
name="username"
onChange={onChange}
placeholder="username"
/>
In [25]: # import required libraries
In [26]: from spacy.lang.ur import *
In [27]: # that is the urdu language library
In [28]: # get a urdu sentences, I think this is one, I have no idea what is saying
In [29]: sentences = [
...: "اردو ہے جس کا نام ہم جانتے ہیں داغ",
kg config -g -u "your_username" -p "your_password" -c "kobe-bryant-shot-selection"
kg download
https://www.supergloo.com/fieldnotes/spark-sql-mysql-python-example-jdbc/
@epocolis
epocolis / spark_notes.md
Created April 1, 2016 13:45 — forked from robcowie/spark_notes.md
Apache Spark Notes

Install Apache Spark (OSX)

$ brew install apache-spark

Run the Spark python shell

A python shell with a preconfigured SparkContext (available as sc). It is

Free disk space when /boot is full (Ubuntu)

TL;DR

dpkg -l linux-image*
uname -r
sudo apt-get remove linux-image-2.6.32-{21,37,38,39,40,41,42,43,44}-server
sudo apt-get autoremove

Django documentation says to use:

WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com

<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Require all granted

Offline-first tools for web developers

A quick list of tools for building HTML/CSS/JS apps that work well offline. Ping me at @nolanlawson if I missed anything!

Hybrid app development

Tools for bundling your HTML/CSS/JS into a native app.