Skip to content

Instantly share code, notes, and snippets.

arooni

Block or report user

Report or block arooni

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0b6a75bba22a53cd9989e4a7009b143b
19 if ( $allow_address = 0 ) {
20 set $check "A";
21 }
22
23 if ( $request_uri ~ ^/wp-login\.php ) {
24 set $check "${check}B";
25 }
26
27 if ( $check = "AB" ) {
28 return 403;
View gist:57eb7fe10839d933abe180a4538dc24e
if has("unix")
let s:uname = system("uname")
if s:uname == "Linux\n"
" Remote Clipboard
function! PropagatePasteBufferToOSX()
let @n=getreg('"')
call system('pbcopy-remote', @n)
echo "done"
endfunction
View -
health#nvim#check
================================================================================
## Remote Plugins
- SUCCESS: Up to date
## Python 2 provider
- INFO: `g:python2_host_prog` is not set. Searching for python2 in the environment.
- INFO: Executable: /usr/local/bin/python2
- INFO: Python2 version: 2.7.11
View -
MiniArooni: 7 windows (created Fri Sep 2 11:34:55 2016) [189x44] (group 0) (attached)
MiniArooni-group- 6583: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-12178: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-12271: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-15695: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-16042: 7 windows (created Sat Sep 10 14:38:17 2016) [189x45] (group 0) (attached)
MiniArooni-group-17429: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-23331: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-29848: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-47340: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
View -
#!/usr/bin/env sh
# A useful wrapper to invoke tmux that I got from a guy on IRC #tmux
# 5/20/2016 -- Modified by David Parkinson
# Basically invokes a new sesion if no argument, and group attaches to an existing session
# and kills any group sessions that are unattached. Very useful.
# from https://ntnn.de/plain//tmux_attach_or_new
# Now added tmuxifier logic
link=0
View tmux_attach_or_new
#!/usr/bin/env sh
# A useful wrapper to invoke tmux that I got from a guy on IRC #tmux
# 5/20/2016 -- Modified by David Parkinson
# Basically invokes a new sesion if no argument, and group attaches to an existing session
# and kills any group sessions that are unattached. Very useful.
# from https://ntnn.de/plain//tmux_attach_or_new
# Now added tmuxifier logic
link=0
@arooni
arooni / 0_reuse_code.js
Created Jun 29, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View restart_synergy
#! /bin/sh
case "${1}" in
suspend|hibernate)
;;
resume|thaw)
lsof -t -i:24800
# Is synergy already running? Then kill existing ssh and synergy clients before reconnecting
if [ $? -eq 0 ]
View gist:b496bd7060463258dfb8
~/.c/f/functions  sudo apt-get install --reinstall libvte-2.90-9=1:0.34.9-1ubuntu2  I
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libvte-2.90-9
0 upgraded, 0 newly installed, 0 to remove and 1657 not upgraded.
View gist:4462d135dbffc5a2bb2d
LilArooni ~/downloads: sudo airodump-ng wlan0
[sudo] password for david:
ioctl(SIOCSIWMODE) failed: Device or resource busy
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
Sysfs injection support was not found either.
You can’t perform that action at this time.