start new:
tmux
start new with session name:
tmux new -s myname
"use strict" | |
const request = require('request') | |
const fs = require('fs'); | |
const zlib = require('zlib'); | |
const opts = { | |
url: "https://iptvx.one/epg/epg.xml.gz", | |
headers: { | |
"User-Agent": "request" | |
} |
/* | |
Would be updated | |
*/ | |
"use strict" | |
const request = require("request"); | |
const fs = require("fs"); | |
const image = fs.createReadStream("path/to/image.jpg ") | |
//run from terminal /node app.js/ and get variables from command line |
/* | |
There are a lot of examples on FB Messenger Dev Docs how to send multiple messages | |
using curl in command line (terminal). | |
This code demonstraits how to send these messages using Node.js | |
*/ | |
"use strict" | |
const request = require("request"); | |
const fs = require("fs"); |
#!/usr/bin/python | |
#Heavily based on libtorrent example | |
#Did this to print examples of what information is being processed at different parts of the bittorrent protocol | |
#added saving to file > jt0in3e | |
import libtorrent as lt | |
import time | |
import sys |
#!/usr/bin/bash | |
# | |
# Script to notify user for new mails. | |
# Crontab ex: | |
# */3 * * * * $HOME/.local/scripts/mbsync-notify.sh [acc_name] | |
# | |
# do not duplicate | |
killall mbsync &>/dev/null |
//added a little randomness to the initial script | |
let interval = null | |
let count = 10000 | |
let ntt = function(){ | |
interval = setInterval(function(){ | |
document.querySelectorAll('[data-testid=unlike]').forEach((t)=> { | |
t.click() | |
}) | |
count += 1000 |