NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
#!/usr/bin/env python | |
import os | |
import shutil | |
import subprocess | |
# global variables | |
SYNC_DIRS = [ | |
{ | |
'src': "/Volumes/PhotoArchive/Lightroom", |
#!/bin/sh | |
# FILL OUT YOUR INFO HERE | |
LOGIN=PIA LOGIN HERE | |
PASSWORD=PIA PASSWORD HERE | |
USER=TRANSMISSION LOGIN HERE | |
PASS=TRANSMISSION PASSWORD HERE | |
BIN="/usr/bin/transmission-remote" | |
LOGGING="/home/USERNAME/transmission_logging.txt" |
# Use this script to test that your Telegram bot works. | |
# | |
# Install the dependency | |
# | |
# $ gem install telegram_bot | |
# | |
# Run the bot | |
# | |
# $ ruby bot.rb | |
# |
! Title: Bad JAV sites | |
! Homepage: https://gist.github.com/theclashoftitans/08ae50b813cab62466b5e2995e3683ac | |
! Expires: 1 days | |
! To use this list, add the URL as a 3rd party filter in your AdBlock (or alike) plug-in. | |
! Deceptive, malicious or fake sites, or sites created to intentionally pollute search results. | |
! Also includes filters for ads. | |
! Report false positives to theclashoftitans at users.noreply.github.com |
import pandas as pd | |
import numpy as np | |
from nltk.stem import PorterStemmer, WordNetLemmatizer | |
from nltk.corpus import stopwords | |
from sklearn.feature_extraction.text import TfidfVectorizer | |
from sklearn import cluster | |
stemmer = PorterStemmer() |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !