I hereby claim:
- I am tuffacton on github.
- I am nicacton (https://keybase.io/nicacton) on keybase.
- I have a public key ASAxwHREh5GtcWiVtk2lJBkoIKoXj9FjXVZxfw6Mj5zQjAo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example</title> | |
<style> | |
body { | |
height: 3000px; | |
} | |
.dot { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example</title> | |
<style> | |
body { | |
/* Uncomment below and set image URL to a background of choice*/ | |
/*background-image: url('https://s-media-cache-ak0.pinimg.com/originals/ef/6f/66/ef6f66567e8e6f077598df1094f1df70.jpg'); */ | |
height: 3000px; |
I hereby claim:
To claim this, I am signing this object:
# Strip URLs from a file (in this case, a markdown file called Notes.md) | |
# Append to a working file called link_list.txt | |
$ grep -o 'https://[^)]*.pdf' Notes.md > link_list.txt | |
# Download all pdfs from the list you created | |
$ wget -i ../links_list.txt | |
# You might have odd filenames, use rename to rename them | |
# Syntax: | |
$ rename [options] 's/old/new' files |
// Create function | |
function waitScrape(class_name) | |
{ | |
console.log("Starting"); | |
var buttons = document.getElementsByClassName(class_name); | |
for(i = 0; i <= buttons.length; i++) { | |
setTimeout(function () { | |
// register click event | |
buttons[i].click(); | |
// Set wait time for 3 seconds (3000 milliseconds) |
First install apache server:
$ yum install httpd -y
Then start the service
$ service httpd start
If you want to have the service start on reboot
Run a Docker container with a folder attached
$ docker run -it -v <path/to/folder>:</path/in/container> <container_name>
Commiting to new image
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Start a new session
$ tmux
Detach using ctrl+b
then type :detach