Skip to content

Instantly share code, notes, and snippets.

View bojanrajkovic's full-sized avatar

Bojan Rajkovic bojanrajkovic

View GitHub Profile
<%@ WebHandler Language="c#" Class="Xamarin.Activation.Studio" %>
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Web;
using System.Net;
using System.Text;
using MySql.Data.MySqlClient;
The F-22 goes really really high (I wish I could say how high, it's impressive as shit, but I can't). That's the real reason it has thrust vectoring and massive control surfaces; it goes up to where you need those to maneuver worth a damn. Other aircraft (even Flanker variants) may be able to go that high, but they can't maneuver when they get up there because they have smaller control surfaces. The fact that this gives the Raptor supermaneuverability at more "conventional" altitudes is a really nice side benefit. And the Raptor's really really fast to boot. It's a race horse that wants to go fast. Pilots have to be careful not to go supersonic on takeoff before they reach the end of the runway. And it's radar is scary accurate (again, I wish I could go into detail). That combination of speed, altitude, the ability to see (very clearly) without being seen? That makes the F-22 an apex predator. It's a Great White Shark or the creature from "Alien." Sure, you can see it if it wants you to, but it's an ambush pr
services.Configure<MvcOptions>(options => {
var jsonFormatters = options.OutputFormatters.OfType<JsonOutputFormatter>();
foreach (var formatter in jsonFormatters) {
// Camel-case by default \o/
formatter.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver();
}
});
  mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext)	Unknown
 	mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout)	Unknown
 	mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)	Unknown
 	mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)	Unknown
 	mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)	Unknown
 	mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)	Unknown
 	Microsoft.AspNet.Server.Kestrel.dll!Microsoft.AspNet.Server.Kestrel.Http.FrameResponseStream.Write(byte[] buffer, int offset, int count)	Unknown
 	Microsoft.AspNet.Mvc.Core.dll!Microsoft.AspNet.Mvc.HttpResponseStreamWriter.FlushInternal(bool flus
//
// Attributes.cs
//
// Database-agnostic portions of the code are copyright (c) 2009-2010 Krueger Systems, Inc.
// Oracle support is copyright (c) 2010 Bojan Rajkovic
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
, bgColor = "black"
, fgColor = "grey"
, position = TopW L 90
, commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "%a %b %_d %l:%M" "date" 10
, Run StdinReader
]
(gdb) t a a bt
Thread 14 (process 59647):
#0 0x9374d9b2 in __workq_kernreturn ()
#1 0x9374df48 in _pthread_wqthread ()
#2 0x9374db66 in start_wqthread ()
Thread 13 (process 59647):
#0 0x93728122 in semaphore_wait_signal_trap ()
#1 0x9372dbe6 in pthread_mutex_lock ()
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs
index 16ecc25..88d598b 100644
--- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs
+++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs
@@ -37,6 +37,7 @@ namespace MonoDevelop.VersionControl.Git
static string gitExe;
const string msysGitX86 = @"C:\Program Files (x86)\Git\bin\git.exe";
const string msysGit = @"C:\Program Files\Git\bin\git.exe";
+ const string gitMacOSX = @"/usr/local/git/bin/git";
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs b/main/src/addins/VersionControl/MonoDevelop.VersionCont
index 16ecc25..4fc04cb 100644
--- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs
+++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs
@@ -37,15 +37,19 @@ namespace MonoDevelop.VersionControl.Git
static string gitExe;
const string msysGitX86 = @"C:\Program Files (x86)\Git\bin\git.exe";
const string msysGit = @"C:\Program Files\Git\bin\git.exe";
+ const string gitOsxInstaller = "/usr/local/git/bin/git";