Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created October 30, 2011 08:19
Show Gist options
  • Save Eugeny/1325703 to your computer and use it in GitHub Desktop.
Save Eugeny/1325703 to your computer and use it in GitHub Desktop.
~/Work/ajenti (dev ✘)✭ ᐅ find ajenti | grep \.py$ | xargs grep ' with.*:'
ajenti/api/helpers.py: You will need to decorate handler methods with :func:`event`.
ajenti/api/confmanager.py: with open(path, 'r') as f:
ajenti/api/confmanager.py: with open(path, 'w') as f:
ajenti/plugins/health/monitor.py: with self._lock_refresh:
ajenti/plugins/health/monitor.py: with self._cond_refresh:
ajenti/plugins/health/monitor.py: with self._cond_refreshed:
ajenti/plugins/health/monitor.py: with self._lock_refresh:
ajenti/plugins/health/monitor.py: with self._cond_refreshed:
ajenti/plugins/health/monitor.py: with self._cond_refresh:
ajenti/config.py: with open(self.filename, 'w') as f:
~/Work/ajenti (dev ✘)✭ ᐅ find plugins | grep \.py$ | xargs grep ' with.*:'
plugins/squid/backend.py: with open(self.cfg_file, 'w') as f:
plugins/network/nc_centos.py: with open('/etc/sysconfig/network-scripts/' + ifcf, 'r') as f:
plugins/network/nc_centos.py: with open('/etc/sysconfig/network-scripts/ifcfg-' + i, 'w') as f:
plugins/samba/backend.py: with open('/tmp/pdbeditnn', 'w') as f:
plugins/terminal/pyte/screens.py: it contains three screens with different features:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment