Skip to content

Instantly share code, notes, and snippets.

View fuomag9's full-sized avatar
🥝
Available

fuomag9

🥝
Available
View GitHub Profile
@fuomag9
fuomag9 / autoclickperiscope.js
Last active March 21, 2019 14:55
clicca cuore auto periscope
// ==UserScript==
// @name clicca cuore auto periscope
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author You
// @match https://www.pscp.tv/*
// @grant none
// ==/UserScript==
@fuomag9
fuomag9 / script.js
Created March 21, 2019 13:40
rimpiazza timeevent (roba di periscope)
// ==UserScript==
// @name rimpiazza timeevent (roba di periscope)
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.pscp.tv/*
// @grant none
// ==/UserScript==
@fuomag9
fuomag9 / space2underscore.py
Last active September 6, 2018 08:29
Replace spaces with underscores for files in execution folder
# coding=utf-8
import os
from os import listdir
from os.path import isfile, join
bot_path=os.getcwd()
lista_cibo=[f for f in listdir(bot_path) if isfile(join(bot_path, f))]
for x in lista_cibo:
os.rename(x,x.replace(" ","_"))