You can use this under following situations:
- Download all images from a website
- Download all videos from a website
- Download all PDF files from a website
$ wget -r -A.pdf http://url-to-webpage-with-pdfs/
| function Swiper(el, left, right, up, down) { | |
| var xD = null, | |
| yD = null; | |
| el.addEventListener("touchstart", function(ev) { | |
| xD = ev.touches[0].clientX; | |
| yD = ev.touches[0].clientY; | |
| }, false); | |
| el.addEventListener("touchmove", function(ev) { | |
| if (!xD || !yD) return; | |
| var xU = ev.touches[0].clientX, |
| # after appcleaner does his magic, do this | |
| sudo rm -rf "/Library/Application Support/Paragon Software/" | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
| sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
| sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
| sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
| sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
| #!/bin/sh | |
| SOC_USB=/sys/devices/platform/soc/20980000.usb | |
| if [ ! -d $SOC_USB ]; | |
| then | |
| SOC_USB=/sys/devices/platform/soc/3f980000.usb # Raspberry Pi 3 | |
| fi | |
| BUSPOWER=$SOC_USB/buspower |
| #!/bin/sh | |
| # Written by: Keefer Rourke <https://krourke.org> | |
| # Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git> | |
| # dependancies: fonts-cantarell, ttf-ubuntu-font-family, git | |
| sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git | |
| srcdir="/tmp/google-fonts" | |
| pkgdir="/usr/share/fonts/truetype/google-fonts" | |
| giturl="git://github.com/google/fonts.git" |
| curl --include \ | |
| --no-buffer \ | |
| --header "Connection: Upgrade" \ | |
| --header "Upgrade: websocket" \ | |
| --header "Host: example.com:80" \ | |
| --header "Origin: http://example.com:80" \ | |
| --header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \ | |
| --header "Sec-WebSocket-Version: 13" \ | |
| http://example.com:80/ |
| /* | |
| Prints speaker notes for a reveal.js presentation. | |
| To print the notes, run the js function PrintRevealNotes() | |
| You need to disable the pop-up blocker | |
| Copyright 2016 Patrick G | |
| http://geek1011.github.io | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
| #!/usr/bin/env swift | |
| // | |
| // PrintBootCampESDInfo.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
| # Copyright Carve Systems 2015 | |
| # | |
| # LICENSE: If you use this code, and it helped you learn or accomplish a goal, | |
| # please let us know. We would love to hear from you. | |
| # Keep our numbers clean and such | |
| def toint32(val): | |
| return val & 0xffffffff | |
| def toint16(val): |
| #!/bin/sh | |
| # | |
| # Read-only Root-FS for Raspian | |
| # | |
| # Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with | |
| # overlayfs integrated in Linux Kernel >= 3.18. | |
| # | |
| # Originally written by Axel Heider (Copyright 2012) for Ubuntu 11.10. | |
| # This version can be found here: | |
| # https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash#Overlayfs |