Skip to content

Instantly share code, notes, and snippets.

View dkorzhevin's full-sized avatar
💭
Knowledge is compensation for effort.

Dmytro Korzhevin dkorzhevin

💭
Knowledge is compensation for effort.
View GitHub Profile
@SvenKortekaas
SvenKortekaas / installation_naskit_nanopi.md
Last active May 28, 2022 06:45
Setting up 1-bay NAS Kit v1.2 for NanoPi NEO&NEO2

Build your own NAS storage

Aluminum Case | OpenMediaVault Ready | NanoPi NEO-512M Applicable

Credit, text from: http://www.friendlyarm.com/index.php?route=product/product&product_id=192&search=nas&description=true&category_id=0&sub_category=true

Image 1/14

The NanoPi NEO and NanoPi NEO2 are pin-to-pin compatible super-mini ARM computers released by FriendlyElec. The NanoPi NEO uses Allwinner's quad-core Cortex-A7 H3 SoC while the NanoPi NEO2 usus Allwinner's 64-bit quad-core Cortex-A53 H5 SoC. Both have onboard Ethernet and USB.

The 1-bay NAS Dock V1.2 for NanoPi NEO&NEO2 uses high speed USB 3.0 to SATA chip JMS567. It has an onboard RTC battery. It works with the latest mainline kernal Linux-4.11 and Debian8-Jessie.

@sh1n0b1
sh1n0b1 / linuxprivchecker.py
Created July 13, 2015 23:36
linuxprivchecker.py -- a Linux Privilege Escalation Check Script
#!/usr/env python
###############################################################################################################
## [Title]: linuxprivchecker.py -- a Linux Privilege Escalation Check Script
## [Author]: Mike Czumak (T_v3rn1x) -- @SecuritySift
##-------------------------------------------------------------------------------------------------------------
## [Details]:
## This script is intended to be executed locally on a Linux box to enumerate basic system info and
## search for common privilege escalation vectors such as world writable files, misconfigurations, clear-text
## passwords and applicable exploits.
@paulcollett
paulcollett / functions.php
Last active December 19, 2023 04:42
Remove Yoast HTML Comments “This site is optimized with the Yoast WordPress SEO plugin”
// For Yoast SEO Plugin Version: 14.1+ add to your Wordpress Theme's functions.php...
// Remove All Yoast HTML Comments
// https://gist.github.com/paulcollett/4c81c4f6eb85334ba076
// Credit @devendrabhandari (https://gist.github.com/paulcollett/4c81c4f6eb85334ba076#gistcomment-3303423)
add_filter( 'wpseo_debug_markers', '__return_false' );
// For Yoast SEO Plugin Version: < 14.1 add to your Wordpress Theme's functions.php...
@moklett
moklett / openconnect.md
Created July 24, 2012 15:21
OpenConnect VPN on Mac OS X

Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.

As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.

Here's how to get it set up on Mac OS X:

  1. OpenConnect can be installed via homebrew:

     brew update
    

brew install openconnect