Skip to content

Instantly share code, notes, and snippets.

underscored text
underscored and bolded text some text after

calibration_revision (some text)

  • List 1 a lot of text that end with under_scope
  • List 2
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Windows.Forms;
using System.Runtime.InteropServices;
void Test( float* kernel, float* src, float* dst, int n )
{
in al,dx
and esp,0FFFFFFF0h
sub esp,2Ch
__m128 zero = _mm_setzero_ps();
__m128 x0 = zero;
__m128 x1 = zero;
__m128 x2 = zero;
__m128 x3 = zero;
@KindDragon
KindDragon / CompareSteamPrices.user.js
Created September 22, 2012 21:35
Compare Steam Prices
// ==UserScript==
// @name Steam Price Comparison - Unpowered edition
// @version 2.3.3
// @namespace http://steamunpowered.eu/comparison-script/
// @description Displays prices from all regions in the Steam store and convert them to your local currency
// @copyright 2011+, KindDragon; 2010+, Zuko; Original author: Tor (http://code.google.com/p/steam-prices/)
// @homepage http://userscripts.org/scripts/show/149928
// @download http://userscripts.org/scripts/source/149928.user.js
// @update http://userscripts.org/scripts/source/149928.meta.js
// @license MIT License; http://www.opensource.org/licenses/mit-license.php
diff --git a/Project/ICSharpCode.TextEditor.csproj b/Project/ICSharpCode.TextEditor.csproj
index 13c9f35..8f055ef 100644
--- a/Project/ICSharpCode.TextEditor.csproj
+++ b/Project/ICSharpCode.TextEditor.csproj
@@ -244,4 +244,4 @@
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
-</Project>
\ No newline at end of file
template <class Fun>
class ScopeGuard {
Fun f_;
bool active_;
public:
ScopeGuard(Fun f)
: f_(std::move(f))
, active_(true) {
}
~ScopeGuard() { if (active_) f_(); }
template <class T>
class Expected {
union {
T ham;
std::exception_ptr spam;
};
bool gotHam;
Expected() {} // used internally
public:
Expected(const T& rhs) : ham(rhs), gotHam(true) {}
@KindDragon
KindDragon / parallel.cpp
Created February 22, 2013 15:47
OpenCV parallel_for check HAVE_CONCURRENCY
void cv::parallel_for_(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes)
{
#ifdef HAVE_PARALLEL_FRAMEWORK
if(numThreads != 0)
{
ProxyLoopBody pbody(body, range, nstripes);
cv::Range stripeRange = pbody.stripeRange();
#if defined HAVE_TBB
<!DOCTYPE html>
<html>
<head>
<title>Log in to TeamCity -- TeamCity</title>
<meta http-equiv="X-UA-Compatible" content="IE=9, chrome=1" >
<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon"/>
<meta name="format-detection" content="telephone=no"/>

Space vs Tab

Space

std::string GetSomething()
{
    return something;
}