Skip to content

Instantly share code, notes, and snippets.

View heyseus1's full-sized avatar

Matthew M. heyseus1

View GitHub Profile
@brisbanewebdeveloper
brisbanewebdeveloper / docker-compose.yml
Created April 16, 2018 06:45
Docker with Kali Linux
# https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes
# https://docs.docker.com/compose/compose-file/
#
# [ How to delete Dangling Images (which are layers that have no relationship to any tagged images) ]
# docker rmi $(docker images -f dangling=true -q)
#
# [How to login the container]
# docker run -t -i kali_kali /bin/bash
#
# [About Metasploit]
@seveniu
seveniu / MongoDB.dockerfile
Created August 4, 2016 11:47
MongoDB Dockerfile
#
# MongoDB Dockerfile
#
# https://github.com/dockerfile/mongodb
#
# Pull base image.
FROM ubuntu:14.04
# Install MongoDB.
@chockenberry
chockenberry / finder_icons.sh
Last active February 10, 2024 19:05
A simple shell script to turn the Finders desktop icons on and off
#!/bin/sh
defaults read com.apple.finder CreateDesktop > /dev/null 2>&1
enabled=$?
if [ "$1" = "off" ]; then
if [ $enabled -eq 1 ]; then
defaults write com.apple.finder CreateDesktop false
osascript -e 'tell application "Finder" to quit'
open -a Finder
@calimaborges
calimaborges / readme.md
Last active September 5, 2024 20:37
Curl Examples

curl examples

Usefull for REST

GET

curl -i -H "Accept: application/json" http://192.168.0.165/persons/person/1  
@PurpleBooth
PurpleBooth / README-Template.md
Last active November 13, 2024 22:21
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@imran31415
imran31415 / torproxy.py
Created April 28, 2015 22:28
Torproxy.py
import os
from selenium import webdriver
import subprocess
ff_prof = webdriver.FirefoxProfile()
#set some privacy settings
ff_prof.set_preference( "places.history.enabled", False )
ff_prof.set_preference( "privacy.clearOnShutdown.offlineApps", True )
ff_prof.set_preference( "privacy.clearOnShutdown.passwords", True )
ff_prof.set_preference( "privacy.clearOnShutdown.siteSettings", True )

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@adamgibbons
adamgibbons / install-mongodb.md
Last active January 17, 2023 15:17
Install MongoDB on Mac OS X 10.9

Install MongoDB with Homebrew

brew install mongodb
mkdir -p /data/db

Set permissions for the data directory

Ensure that user account running mongod has correct permissions for the directory:

@KonradIT
KonradIT / readme.md
Last active July 11, 2024 20:46
GoPro Studio for Linux