Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
Getting started:
Related tutorials:
# coding:utf-8 | |
import gc | |
import inspect | |
import weakref | |
from django.core.management.base import BaseCommand, CommandError | |
from django.dispatch import Signal, saferef | |
from optparse import make_option |
# Copyright Jehiah Czebotar 2013 | |
# http://jehiah.cz/ | |
import tornado.options | |
import glob | |
import os | |
import sqlite3 | |
import logging | |
import datetime | |
import csv |
/* | |
* Copyright (C) 2009 flakes @ EFNet | |
* New match logic by Gm4n @ freenode | |
* Version 1.0 (2012-08-19) | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 as published | |
* by the Free Software Foundation. | |
*/ |
from django.db.models import Manager | |
class ActivePeopleManager(Manager): | |
def get_query_set(self): | |
return super(ActivePeopleManager, self).get_query_set().filter(is_active=True) | |
class StaffPeopleManager(ActivePeopleManager): |
#!/bin/bash | |
find . -name "*.mkv" | while read FILE | |
do | |
# What would the output file be? | |
DST=/Volumes/USBRAID/Converted/$(dirname "$FILE") | |
MKV=$(basename "$FILE") | |
MP4=${MKV%%.mkv}.mp4 | |
# If it already exists, don't overwrite it | |
if [ -e "$DST/$MP4" ] |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
brew install gfortran | |
mkvirtualenv --no-site-packages stl-mlearning | |
pip install pyyaml | |
pip install numpy | |
pip install scipy | |
wget http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip | |
unzip http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip | |
cd nltk | |
python setup.py install |