-
Install rust
jail-app is name of jail.
$ jexec jail-app $ pkg install curl
Download and install rustup
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# search and optionally purge cached content from nginx by URL or parts of the URL | |
# you can set the default cache dir | |
DEFAULT_NGINX_CACHE_DIR=/dev/shm/nginx | |
function usage { | |
echo "nginx cache - search and purge content from nginx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description="frappe-bench-frappe-default-worker" | |
PartOf=frappe-bench-workers.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/.local/bin/bench worker --queue default | |
StandardOutput=file:/home/revant/frappe-bench/logs/worker.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# This script takes advantage of a feature from this Technical Note: | |
# https://www.axis.com/en/techsup/cam_servers/tech_notes/telnet_support.htm | |
# and a default pair of user/password unchanged | |
# If the reboot command is not enabled as ftp command | |
# you must wait until some kind of camera reboot | |
require 'net/ftp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SET THE HOST AND PORT OF WooCommerce | |
* *********************************************************/ | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
# SET THE ALLOWED IP OF PURGE REQUESTS | |
# ########################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check to see if the script was run as Root | |
if [[ "$EUID" -ne 0 ]]; then | |
echo "Sorry, you need to run this as root" | |
exit 1 | |
fi | |
# This script has only been tested on Ubuntu Server 14.04 X64 | |
# Install apt repositories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To install run: | |
# bash -c "$(curl -fsSL http://bit.ly/zoom-install)" | |
sudo apt install libglib2.0-0 libgstreamer-plugins-base0.10-0 libxcb-shape0 libxcb-shm0 libxcb-xfixes0 libxcb-randr0 libxcb-image0 libfontconfig1 libgl1-mesa-glx libxi6 libsm6 libxrender1 libpulse0 libxcomposite1 libxslt1.1 libsqlite3-0 libxcb-keysyms1 libxcb-xtest0; | |
cd /tmp; | |
wget https://zoom.us/client/latest/zoom_amd64.deb; | |
sudo dpkg -i zoom_amd64.deb |
NewerOlder