Skip to content

Instantly share code, notes, and snippets.

@gofullthrottle
gofullthrottle / README.md
Created April 23, 2022 11:05 — forked from bgoonz/README.md
github-cloner

GithubCloner

A script that clones Github repositories of users and organizations.

Usage

Description Command
@gofullthrottle
gofullthrottle / gist:1faa3cc75c357d3d8abdc51490cb03e0
Created January 29, 2021 01:04 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

Awesome Penetration Testing Awesome

A collection of awesome penetration testing resources.

Penetration testing is the practice of launching authorized, simulated attacks against computer systems and their physical infrastructure to expose potential security weaknesses and vulnerabilities.

Your contributions and suggestions are heartily♥ welcome. (✿◕‿◕). Please check the Contributing Guidelines for more details. This work is licensed under a Creative Commons Attribution 4.0 International License.

This project is supported by Netsparker Web Application Security Scanner

# Naive Bayes
# Importing the libraries
import numpy as np ## scientific comutaion
import matplotlib.pyplot as plt ## Visulization
import pandas as pd ## Reading data
# Importing the dataset
dataset = pd.read_csv('https://raw.githubusercontent.com/shivang98/Social-Network-ads-Boost/master/Social_Network_Ads.csv') ## Reading data from the url
X = dataset.iloc[:, [2, 3]].values ##

Performance tests

I compare performance of my devices with common tools.

For the storage and overall cpu-memory-storage performance:

hdparm -tT /dev/sd?

For the memory:

@gofullthrottle
gofullthrottle / raspi-monitor
Created June 16, 2020 11:03 — forked from DmitryMyadzelets/raspi-monitor
Script to enable and disable the HDMI signal of the Raspberry PI
#!/bin/bash -e
# /usr/local/sbin/raspi-monitor
# Script to enable and disable the HDMI signal of the Raspberry PI
# Inspiration: http://www.raspberrypi.org/forums/viewtopic.php?t=16472&p=176258
CMD="$1"
function on {
/opt/vc/bin/tvservice --preferred
@gofullthrottle
gofullthrottle / tmux-cheatsheet.markdown
Created October 1, 2019 13:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@gofullthrottle
gofullthrottle / tmux.md
Last active October 1, 2019 13:24 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

import os
import cv2
import dlib
from matplotlib import pyplot as plt
import numpy as np
import config
detector = dlib.get_frontal_face_detector()
@gofullthrottle
gofullthrottle / clone.bash
Last active December 9, 2018 16:05 — forked from milanboers/clone.bash
Clone all repositories of a Github user
curl -s https://api.github.com/users/INSERT_USER/repos?per_page=200 | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone