This file has been truncated, but you can view the full file.
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
| @echo off | |
| set PATH=c:\development\app.src.pkgs\mozilla\mozilla-build\msys\local;c:\development\app.src.pkgs\mozilla\mozilla-build\wget;c:\development\app.src.pkgs\mozilla\mozilla-build\7zip;c:\development\app.src.pkgs\mozilla\mozilla-build\blat261\full;c:\development\app.src.pkgs\mozilla\mozilla-build\python;c:\development\app.src.pkgs\mozilla\mozilla-build\svn-win32-1.6.3\bin;c:\development\app.src.pkgs\mozilla\mozilla-build\upx203w;c:\development\app.src.pkgs\mozilla\mozilla-build\emacs-22.3\bin;c:\development\app.src.pkgs\mozilla\mozilla-build\info-zip;c:\development\app.src.pkgs\mozilla\mozilla-build\nsis-2.22;c:\development\app.src.pkgs\mozilla\mozilla-build\nsis-2.33u;c:\development\app.src.pkgs\mozilla\mozilla-build\nsis-2.46u;c:\development\app.src.pkgs\mozilla\mozilla-build\wix-351728;c:\development\app.src.pkgs\mozilla\mozilla-build\hg;c:\development\app.src.pkgs\mozilla\mozilla-build\python\scripts;c:\development\app.src.pkgs\mozilla\mozilla-build\kdiff3;c:\development\app.src.pkgs\mozilla\mozilla- |
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
| from win32file import * | |
| from winioctlcon import FSCTL_GET_REPARSE_POINT | |
| __all__ = ['islink', 'readlink'] | |
| # Win32file doesn't seem to have this attribute. | |
| FILE_ATTRIBUTE_REPARSE_POINT = 1024 | |
| # To make things easier. | |
| REPARSE_FOLDER = (FILE_ATTRIBUTE_DIRECTORY | FILE_ATTRIBUTE_REPARSE_POINT) |
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
| @echo off | |
| goto Main | |
| :GetVirtualEnvName | |
| rem If the foldername of the virtual env contains a dot, (ex: .vip) | |
| rem part of the foldername will end up in the extension part of the path. | |
| rem Because of that, we'll combine the extension and name parts of the | |
| rem path. | |
| set PROMPT=(%~n1%~x1) %PROMPT% | |
| goto :EOF |
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
| (function ($G, N, D, S, O, F, A, M, I, _undef) { | |
| var undef, def, | |
| J = 'JSON', | |
| _S = 'tring', | |
| SS = 'S'+_S, | |
| c = 'call', | |
| p = 'prototype', | |
| sl = 'slice', | |
| l = 'length', | |
| t = 'to', |
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
| # encoding: utf-8 | |
| """ | |
| http | |
| TODO: Description | |
| This program is free software. It comes without any warranty, to | |
| the extent permitted by applicable law. You can redistribute it | |
| and/or modify it under the terms of the Do What The Fuck You Want | |
| To Public License, Version 2, as published by Sam Hocevar. See | |
| http://sam.zoy.org/wtfpl/COPYING for more details. |
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
| ############################################## | |
| # # | |
| # @@@ # | |
| # @@@@@@@@@@@@@@@@ # | |
| # @@@ @@@@@@@@@@@@ # | |
| # @ @@@@@@@@@@@@ # | |
| # @@ @@@@@@@@@@@@@ # | |
| # @ @@@@@@@@@@@@@@ # | |
| # @ @@@@@@ @@ # | |
| # @ @ # |
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
| local ffi = require('ffi') | |
| local rpcrt4 = ffi.load('rpcrt4') | |
| local ole32 = ffi.load('ole32') | |
| local shell32 = ffi.load('shell32') | |
| CLSCTX_INPROC_SERVER = 0x01 | |
| CLSCTX_INPROC_HANDLER = 0x02 | |
| CLSCTX_LOCAL_SERVER = 0x04 | |
| CLSCTX_INPROC_SERVER16 = 0x08 | |
| CLSCTX_REMOTE_SERVER = 0x10 |
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 string | |
| ws = string.whitespace | |
| def cleanup(doc): | |
| return ' '.join([ l.strip(ws) for l in doc.splitlines() ]) | |
| class Declaration(object): | |
| def __init__(self, name, doc=None): | |
| self.name = 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
| namespace RegUnedit.LibConfig | |
| { | |
| internal sealed class Module : IDisposable | |
| { | |
| ... | |
| private void loadFunctions(HMODULE hmod) | |
| { | |
| if(mapProcs != null) { throw new Exception("This should not happen."); } |
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
| local ffi = require('ffi') | |
| local rpcrt4, ole32, shell32 = | |
| ffi.load('rpcrt4'), | |
| ffi.load('ole32'), | |
| ffi.load('shell32') | |
| CLSCTX_INPROC_SERVER = 0x01 | |
| CLSCTX_INPROC_HANDLER = 0x02 | |
| CLSCTX_LOCAL_SERVER = 0x04 | |
| CLSCTX_INPROC_SERVER16 = 0x08 |