Skip to content

Instantly share code, notes, and snippets.

View nestorwheelock's full-sized avatar
:octocat:
Meow

Nestor Wheelock nestorwheelock

:octocat:
Meow
View GitHub Profile
@fabiotatsuo
fabiotatsuo / rust.md
Last active May 20, 2024 00:03
Install Rust, Cargo and Rustup Toolchain inside FreeBSD 12 Jail
  1. 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

@sundowndev
sundowndev / GoogleDorking.md
Last active July 26, 2024 08:12
Google dork cheatsheet

Google dork cheatsheet

Search filters

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"
@fbatschi
fbatschi / nginx-cache.sh
Last active January 2, 2020 05:12
Nginx fastcgi/proxy Cache Manager
#!/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"
@proffalken
proffalken / README.md
Last active April 25, 2023 21:38
Mautic Nginx Configuration

Mautic Nginx Configuration

These files allow you to configure Mautic using Nginx.

[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
@enonethreezed
enonethreezed / axis_ftp_enable_telnet.rb
Last active September 27, 2023 18:54
Axis Camera remote enable Telnet via FTP
#!/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'
@lukecav
lukecav / woocommerce.vcl
Last active February 12, 2024 19:20
Varnish v4 VCL for WooCommerce Stores - Beta
/* SET THE HOST AND PORT OF WooCommerce
* *********************************************************/
backend default {
.host = "127.0.0.1";
.port = "8080";
}
# SET THE ALLOWED IP OF PURGE REQUESTS
# ##########################################################
#!/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
@whizzzkid
whizzzkid / zoom_install.sh
Last active September 16, 2022 08:55
Installs Zoom meeting client on linux
# 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