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
Host OS: Windows 7 | |
OS Arch: x86 | |
JRE Version: 1.6.0_24 | |
JRE Vendor: Sun Microsystems Inc. | |
JRE Home: C:\Users\Brian\AppData\Local\Titanium Studio\jre | |
Install Directory: file:/C:/Users/Brian/AppData/Local/Titanium Studio/ | |
Version: 1.0.7.201112281340 | |
VM Arguments: -Xms40m | |
-Xmx1024m | |
-Declipse.p2.unsignedPolicy=allow |
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
private static readonly log4net.ILog _log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); |
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
override public function createBody():void | |
{ | |
super.createBody(); | |
b2body.SetUserData( new BodyData( BodyData.WALL, this ) ); | |
} |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<_locDefinition xmlns="urn:locstudio"> | |
<_locDefault _loc="locNone" /> | |
<_locTag _loc="locData">Title</_locTag> | |
<_locTag _loc="locData">Description</_locTag> | |
<_locTag _loc="locData">Author</_locTag> | |
<_locTag _loc="locData">ToolTip</_locTag> | |
</_locDefinition> | |
<CodeSnippet Format="1.0.0"> |
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
/// <summary> | |
/// Starts the application | |
/// </summary> | |
public static void Start() | |
{ | |
DynamicModuleUtility.RegisterModule(typeof(OnePerRequestHttpModule)); | |
DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule)); | |
bootstrapper.Initialize(CreateKernel); | |
System.Web.Http.GlobalConfiguration.Configuration.ServiceResolver.SetResolver(System.Web.Mvc.DependencyResolver.Current.ToServiceResolver()); |
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
<Window x:Class="SimpleBorderlessWindow.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="MainWindow" | |
Height="562" | |
Width="1000" | |
WindowStyle="None" | |
AllowsTransparency="True" | |
ResizeMode="CanResizeWithGrip"> |
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
<ItemGroup> | |
<TypeScriptCompile Include="$(ProjectDir)\**\*.ts" Exclude="$(ProjectDir)\**\*.d.ts" /> | |
</ItemGroup> | |
<Target Name="BeforeBuild"> | |
<Exec Command=""$(PROGRAMFILES)\Microsoft SDKs\TypeScript\0.8.1.0\tsc.exe" @(TypeScriptCompile ->'"%(fullpath)"', ' ')" /> | |
</Target> |
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
using System; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
namespace AttackoftheTray | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
public <#=code.Excape(container)#>(string connectionString) | |
: base(connectionString) | |
{ | |
<# | |
if (!loader.IsLazyLoadingEnabled(container)) | |
{ | |
#> | |
this.Configuration.LazyLoadingEnabled = false; | |
<# | |
} |
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
''' <summary> | |
''' Collapse XML comment for all code members | |
'''</summary> | |
Sub CollapseXmlComments() | |
Try | |
DTE.UndoContext.Open("Collapse XML comments") | |
Dim ce As CodeElement2 | |
For Each ce In DTE.ActiveDocument.ProjectItem.FileCodeModel.CodeElements | |
collapseSubmembers(ce, False) | |
Next |
OlderNewer