MySQL
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
'automatical movement based on mathematical formulas..... | |
'(c) fbr@vizrt.com | |
dim target as container = Scene.FindContainer("Result") | |
sub OnInitParameters() | |
'create the GUI | |
RegisterParameterString("url", "URL:","http://cricket.yarsha.net", 50,255, "") |
Verifying my Blockstack ID is secured with the address 12VR5CPymXjkW6hXqppZ59x334eHDCG9Bs https://explorer.blockstack.org/address/12VR5CPymXjkW6hXqppZ59x334eHDCG9Bs |
more_set_headers "Access-Control-Allow-Origin: $http_origin"; | |
more_set_headers "Access-Control-Allow-Credentials: true"; | |
# OPTIONS indicates a CORS pre-flight request | |
if ($request_method = 'OPTIONS') { | |
more_set_headers "Access-Control-Max-Age: 1728000"; | |
more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"; | |
more_set_headers "Access-Control-Allow-Headers: Authorization,Content-Type,Accept,Origin,User-Agent,DNT,Cache-Control,X-Mx-ReqToken,Keep-Alive,X-Requested-With,If-Modified-Since"; | |
more_set_headers "Content-Length: 0"; |
# Sample Nginx config with sane caching settings for modern web development | |
# | |
# Motivation: | |
# Modern web development often happens with developer tools open, e. g. the Chrome Dev Tools. | |
# These tools automatically deactivate all sorts of caching for you, so you always have a fresh | |
# and juicy version of your assets available. | |
# At some point, however, you want to show your work to testers, your boss or your client. | |
# After you implemented and deployed their feedback, they reload the testing page – and report | |
# the exact same issues as before! What happened? Of course, they did not have developer tools | |
# open, and of course, they did not empty their caches before navigating to your site. |
packer build packer-install-template.json | tee output.txt | |
tail -1 output.txt | head -1 | awk 'match($0, / [0-9]+/) { print substr($0, RSTART, RLENGTH) }' |
#!/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" ] |
Getting started:
Related tutorials:
# 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): |
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]: |
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) |