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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
#------------------------------------------------------------------------------- | |
# Name: module1 | |
# Purpose: | |
# | |
# Author: Ashim | |
# | |
# Created: 14/05/2013 | |
# Copyright: (c) Ashim 2013 | |
# Licence: <your licence> | |
#------------------------------------------------------------------------------- |
Create a new repository on the command line | |
touch README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/ashim888/iphoneQuiz.git | |
git push -u origin master | |
-------------------------------- |
#include<stdio.h> | |
#include <math.h> | |
#define ESP 0.01 | |
//#define F(x) (x)*(x)*(x) + (x)*(x) + (x) + 7 | |
#define F(x) (x)*(x) - 3 | |
//#define F(x) (x)*(x)*(x)-0.165*(x)*(x)+0.0003993 | |
void main() | |
{ | |
int i = 1; | |
float low,up,mid; |
#include<stdio.h> | |
#include<math.h> | |
#define e 0.001 | |
#define F(x) (2*x)-3 | |
float frac(float a) | |
{ | |
float f1; | |
f1=a*a-3*a+2; | |
return f1; | |
} |
what<-function(id=1:333){ | |
fileLocation<-paste(getwd(),"/",sep="") | |
for(i in id){ | |
if(i<10){ | |
fileName<-paste("00",id,".csv",sep="") | |
return(fileName) | |
} | |
else{ | |
fileName<-paste("0",id,".csv",sep="") | |
return(fileName) |
from __future__ import division | |
fuckthis=[['This','fucker','bastard'],['fucker','ok','go','no'],['my','home','is','far'],['hey','you','fucker']] | |
#print len(fuckthis) | |
unique_list=[] | |
my_dict={} | |
def totalwords(): | |
total_words=0 | |
for x in range(0,len(fuckthis)): | |
for y in fuckthis[x]: |
# coding=UTF-8 | |
from __future__ import division | |
import re | |
# This is a naive text summarization algorithm | |
# Created by Shlomi Babluki | |
# April, 2013 | |
class SummaryTool(object): |
Getting started:
Related tutorials:
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from pymongo import MongoClient | |
import pprint | |
from nltk.corpus import stopwords | |
from nltk.tokenize import RegexpTokenizer | |
from microsofttranslator import Translator | |
import langid | |
porn_list=["anal","hentai","anus","arse","butt","arsehole","ass","fcuk","fuck","naked","xvideos","porn", "sex", "porno", "free porn", "porn tube", "porn videos", "streaming porn","Free porn", "sex videos","pussy","Porn hub", "xxx" "porn", "sex" ] |