- install mosquitto
apt-get install mosquitto mosquitto-clients
- add config to create server
echo "allow_anonymous true" > /etc/mosquitto/conf.d/nework.conf
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
import requests | |
import re | |
from lxml import html | |
def printError(search): | |
print("Errorea gertatu da, ziur aski sartu duzun hitza ez da hiztegian agertzen") |
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
import requests | |
import re | |
class MediaWiki: | |
def getList(self, aplimit): |
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# usage: python3 fmod.py "/home/zital/Music" | |
import os, sys, datetime | |
def getResources(path): | |
resources = [] |
# /etc/fstab | |
#... | |
tmpfs /tmp tmpfs defaults,rw,nodev,nofail,noatime,nosuid,size=8G 0 0 | |
#... |
// ==UserScript== | |
// @name YouTube Link Replacer | |
// @namespace Violentmonkey Scripts | |
// @match https://www.youtube.com/* | |
// @match https://m.youtube.com/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
(function() |
<?php | |
//... | |
$wgScriptPath = ""; | |
$wgArticlePath = "/wiki/$1"; | |
$wgUsePathInfo = true; | |
//... |