This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Jeff Day - 2013 | |
# Sublime plugin that invokes Grunt whenever the user saves a file within the current project. | |
# call to RSYNC project to remote server via RSync | |
# | |
# October 27, 2013 - Updated this to work using Sublime Text 3 (Jeff) | |
# November 10, 2013 - Now compatible with OSX Mavericks (Jeff) | |
# January 2, 2014 - Switched over to Grunt (Tom) | |
import sublime, sublime_plugin | |
import json, os, subprocess, functools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim /etc/sysconfig/iptables | |
# | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT | |
-A INPUT -p icmp -j ACCEPT | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT |
NewerOlder