Skip to content

Instantly share code, notes, and snippets.

@nk23x
nk23x / README.notebook.lenovol440-touchpadconf.sh
Last active November 21, 2015 11:30 — forked from tfg13/touchpadconf.sh
script to set synaptics configuration for Thinkpad T440p / Thinkpad L440
#!/bin/sh
# this script sets some parameters to get a useable configuration
# these changes are not persistent, you may want to include this in your autostart
# 1 finger = left click, 2 finger = right click, 3 finger = middle click
synclient TapButton2=3
synclient TapButton3=2
synclient ClickFinger2=3
synclient ClickFinger3=2
@nk23x
nk23x / httpd.conf_spiders
Last active August 29, 2015 14:27 — forked from gplv2/httpd.conf_spiders
Apache bot control system, filter out spiders good and bad crawlers/ webspiders when they hit your server hard, like googlebot , bingbot. Block all them for specific places marked in the robots.txt to not visit (yet they do sometimes).
# To relieve servers
##Imagine a robots.txt file like this (Google understands this format):
#User-agent: *
#Disallow: /detailed
#Disallow: /?action=detailed
#Disallow: /*/detailed
#Crawl-delay: 20
##
@nk23x
nk23x / build.prop.tweaks
Last active June 5, 2024 08:41
build.prop tweaks in common raw format (edit needed to adapt to device)
#
# TWEAKS
#
# Qualcomm
#com.qc.hardware=true
#debug.qctwa.statusbar=1
#debug.qctwa.preservebuf=1
#debug.qc.hardware=true
@nk23x
nk23x / build.prop
Created October 5, 2015 01:27 — forked from CHEF-KOCH/build.prop
Android Build.prop tweaks <- FOR ALL AOSP ROMS (4.0.x - 5.0.x) ->
# Begin build properties
# EOL UNIX
# 0.0 644 /system/build.prop
#
# Note: Some changes are Device and OS/ROM independent!
# Note2: Some settings are between
# performance and security <- I prefer last one
#
ro.build.id= -----
ro.build.display.id= -----
@nk23x
nk23x / Pentesting blog sources
Created October 5, 2015 22:28 — forked from eyeskiller/Pentesting blog sources
Some of the blogs on Pentesting by some of the best researchers
http://pentestmonkey.net/blog
http://jeremiahgrossman.blogspot.com
http://www.darknet.org.uk
http://spylogic.net
http://taosecurity.blogspot.com
http://www.room362.com
http://blog.sipvicious.org
http://blog.portswigger.net
http://blog.c22.cc
http://carnal0wnage.blogspot.com
@nk23x
nk23x / README.md
Created October 13, 2015 12:47 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@nk23x
nk23x / config
Created November 3, 2015 19:32 — forked from vonbirdie/config
SSH
Host *.domain
ProxyCommand ssh -x -q -W %h:%p gateway.server
@nk23x
nk23x / sysctl.conf
Created November 4, 2015 17:29 — forked from kfox/sysctl.conf
Linux kernel tuning settings for large number of concurrent clients
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
@nk23x
nk23x / my.cnf
Created November 18, 2015 20:42 — forked from fevangelou/my.cnf
Optimized MySQL configuration
# The settings provided below are ideal for a 4GB-8GB RAM server.
# You can adjust values accordingly for higher or lower spec systems, but generally,
# it's an almost "one size, fits all" setup.
# Use DB diagnostics tools like:
# https://launchpad.net/mysql-tuning-primer or http://blog.mysqltuner.com/download/
# to get more insight on your MySQL DB's resource usage and more...
# Special thanks to Yves Trudeau (Percona) for his valuable help on compiling this setup.
[mysqld]
default_storage_engine=InnoDB # Options are MyISAM & InnoDB. Prefer the latter
@nk23x
nk23x / pci_dss.md
Created March 18, 2016 14:54 — forked from diyan/pci_dss.md
PCI DSS. Useful resources