Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tchekda Tchekda

🏠
Working from home
View GitHub Profile
@Tchekda
Tchekda / immo.py
Created Jan 24, 2021
Apartement Searcher
View immo.py
import requests
import re
import json
import time
import urllib.parse
import logging
import sys
def countSite(url, regex, name):
@Tchekda
Tchekda / FTPRecursiveFolderUpload.php
Last active Jun 26, 2019
Upload Folder with SubFolders to remote FTP Server
View FTPRecursiveFolderUpload.php
<?php
error_reporting(E_ERROR | E_PARSE);
//Define vars
$ftp_server = getenv('server'); // As ftp.server.com
$ftp_user_name = getenv('user'); // As user
$ftp_password = getenv('password'); //As password
$remoteDir = getenv('remoteDir'); // As /home/user/ftp/ WITH the last slash!!