This file contains hidden or 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
| import sys, os | |
| import gtk | |
| import commands | |
| import gst | |
| import glut | |
| import time |
This file contains hidden or 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
| diff --git a/plugins/apache/30-apache.py b/plugins/apache/30-apache.py | |
| index 80e48e2..4dec139 100755 | |
| --- a/plugins/apache/30-apache.py | |
| +++ b/plugins/apache/30-apache.py | |
| @@ -73,6 +73,7 @@ class ApachePluginInstance(PluginInstance): | |
| self._edit_apache_modules.btnOK.tag = 'modules' | |
| self._edit_apache_modules.btnOK.handler = self.back_button_clicked | |
| + self._edit_apache_modules.session = self.session # This can be somewhere else already (but I haven't found it) | |
| self._edit_apache_modules.openConfigDialog = self.open_module_config |
This file contains hidden or 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
| diff --git a/plugins/apache/30-apache.py b/plugins/apache/30-apache.py | |
| index 80e48e2..4dec139 100755 | |
| --- a/plugins/apache/30-apache.py | |
| +++ b/plugins/apache/30-apache.py | |
| @@ -73,6 +73,7 @@ class ApachePluginInstance(PluginInstance): | |
| self._edit_apache_modules.btnOK.tag = 'modules' | |
| self._edit_apache_modules.btnOK.handler = self.back_button_clicked | |
| + self._edit_apache_modules.session = self.session # This can be somewhere else already (but I haven't found it) | |
| self._edit_apache_modules.openConfigDialog = self.open_module_config |
This file contains hidden or 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
| diff --git a/plugins/log/30-log.py b/plugins/log/30-log.py | |
| old mode 100644 | |
| new mode 100755 | |
| index e25d02b..e590deb | |
| --- a/plugins/log/30-log.py | |
| +++ b/plugins/log/30-log.py | |
| @@ -22,7 +22,8 @@ class LogPluginInstance(PluginInstance): | |
| _pathLabel = None; | |
| _pathTree = None; |
This file contains hidden or 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
| root@u4srv:~/ajenti# ls /etc/apache2/sites-* -l | |
| /etc/apache2/sites-available: | |
| total 24 | |
| -rwxr--r-- 1 root root 1071 2010-03-01 14:20 cacti | |
| -rwxr--r-- 1 root root 1056 2010-03-01 14:20 chemfuck | |
| -rw-r--r-- 1 root root 1268 2010-03-18 13:57 default | |
| -rw-r--r-- 1 root root 7364 2010-03-01 14:20 default-ssl | |
| -rwxr--r-- 1 root root 1034 2010-03-01 14:20 rebooter | |
| /etc/apache2/sites-enabled: |
This file contains hidden or 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
| diff --git a/ajenti/ui/classes.py b/ajenti/ui/classes.py | |
| index c8f46a9..4b31f00 100755 | |
| --- a/ajenti/ui/classes.py | |
| +++ b/ajenti/ui/classes.py | |
| @@ -50,6 +50,11 @@ class Html(object): | |
| return Element(name, *args, **kwargs) | |
| +class UI(object): | |
| + def __getattr__(self, name): |
This file contains hidden or 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
| import gtk | |
| class Player(object): | |
| stack = 0 | |
| bets = 0 | |
| name = '' | |
| room = None | |
| fold = False | |
| all_in = False | |
| done = False |
This file contains hidden or 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
| USE [master] | |
| GO | |
| /****** Object: Database [dssync] Script Date: 05/31/2010 12:23:17 ******/ | |
| CREATE DATABASE [dssync] ON PRIMARY | |
| ( NAME = N'dssync', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\dssync.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) | |
| LOG ON | |
| ( NAME = N'dssync_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\dssync_1.ldf' , SIZE = 8384KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) | |
| GO |
This file contains hidden or 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
| Inner = new Sockets.Socket(Sockets.AddressFamily.InterNetwork, Sockets.SocketType.Stream, Sockets.ProtocolType.Tcp); | |
| Inner.ExclusiveAddressUse = false; | |
| Inner.Blocking = true; | |
| Inner.Bind(new IPEndPoint(addr, port)); | |
| Inner.Listen(10); |
This file contains hidden or 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
| public void RunVPC(string name, bool indeed) | |
| { | |
| if (indeed && name.StartsWith("serverA_")) | |
| { | |
| Service.Invoke("vpcprep"); | |
| Thread.Sleep(500); | |
| } | |
| string s = Environment.MachineName.ToUpper(); | |
| if (name.StartsWith("serverA_") && s.CompareTo("VI61") >= 0 && s.CompareTo("VI99") <= 0 && s.Length == 4) | |
| { |
OlderNewer