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
# -*- coding: utf-8-dos; mode: python -*- | |
# requires: Wrye Flash 29 BETA or later. | |
import sys | |
import time | |
from optparse import OptionParser | |
from bash import bosh | |
from bash.bosh import formatInteger,formatDate | |
from bash.bolt import GPath |
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
# -*- coding: utf-8-dos; mode: python -*- | |
import bosh | |
from bolt import GPath | |
bosh.initDirs() | |
bosh.initSettings(readOnly=True) | |
bosh.oblivionIni = bosh.OblivionIni() | |
bosh.modInfos = bosh.ModInfos() | |
bosh.modInfos.refresh() |
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
# -*- coding: utf-8-dos; mode: python -*- | |
import bosh | |
from bolt import GPath | |
bosh.initDirs() | |
bosh.initSettings(readOnly=True) | |
bosh.oblivionIni = bosh.OblivionIni() | |
bosh.modInfos = bosh.ModInfos() | |
bosh.modInfos.refresh() |
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
# -*- coding: utf-8-dos; mode: python -*- | |
import bosh | |
from bolt import GPath | |
bosh.initDirs() | |
bosh.initSettings(readOnly=True) | |
bosh.oblivionIni = bosh.OblivionIni() | |
bosh.modInfos = bosh.ModInfos() | |
bosh.modInfos.refresh() |
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
#!/usr/bin/env ruby1.9 | |
require 'rubygems' | |
require 'fcgiwrap' | |
CORE_DIR = "#{File.dirname(__FILE__)}/core" | |
$LOAD_PATH.unshift CORE_DIR | |
FCGIWrap.each do | |
load File.join(CORE_DIR, 'index.rb') | |
end |
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
' | |
' C:\emacs23.1\bin\emacsclientw.vbs | |
' | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
strComputer = "." | |
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") | |
Set colItems = objWMIService.ExecQuery("Select * From Win32_Process") | |
Dim emacsProcess |
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
#!/bin/sh | |
PATH=/bin:/usr/bin:/command | |
check_nginx () { | |
local -a nginx_stats | |
nginx_stats=(`svstat /service/nginx | cut -d ' ' -f 2,5`) | |
if [ ${nginx_stats[0]} != "up" ]; then | |
echo Nginx is dead. | |
return 1 | |
fi |
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
#!/usr/local/bin/ruby1.9 | |
require 'rubygems' | |
require 'hpricot' | |
require 'pathname' | |
require 'yaml' | |
require 'yaml_waml' | |
require File.join(File.dirname(__FILE__), 'string_table') | |
orig_dir = Pathname.new(ARGV.shift) |
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
'' logoff_robocopy_desktop.vbs | |
'' RamDisk に Desktop を置いてる場合の logout スクリプ㌧ | |
'' 要 robocopy | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
desktop = "Z:\DESKTOP" | |
desktop_bak = "C:\Documents and Settings\valda\DESKTOP_BACKUP" | |
commdesktop = "Z:\COMMONDESKTOP" |
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
--- main.cpp.orig 2009-01-17 07:56:08.000000000 +0900 | |
+++ main.cpp 2009-01-26 16:31:22.654000000 +0900 | |
@@ -20,6 +20,7 @@ | |
static bool DoInjectDLL(PROCESS_INFORMATION * info, const char * dllPath, ProcHookInfo * hookInfo); | |
static bool TestChecksum(const char * procName, std::string * dllSuffix, ProcHookInfo * hookInfo); | |
static void PrintError(const char * fmt, ...); | |
+static bool Inject3DMDLL(HANDLE hprocess); | |
int main(int argc, char ** argv) | |
{ |
NewerOlder