// Preferences.sublime-settings
// Settings in here override those in "Default/Preferences.sublime-settings", and
// are overridden in turn by file type specific settings.
{
"draw_white_space": "all",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true
}
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
# watch a file changes in the current directory, | |
# execute some command when a file is changed or renamed | |
param($BatFile) | |
if (($BatFile -eq $null) -or (-not (Test-Path -Path $Batfile))) | |
{ | |
"Specify bat file to run continuously." | |
exit | |
} |
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
namespace SemanticModelTest | |
{ | |
[TestFixture] | |
public class ModelTest | |
{ | |
[Test] | |
public void RaisesEvents() | |
{ | |
// Act | |
var user = new User(); |
- http://opencv-code.com/tutorials/how-to-integrate-tesseract-ocr-and-opencv/
- http://opencv-code.com/tutorials/how-to-read-the-digits-from-a-scratchcard/
- http://opencv-code.com/tutorials/ocr-ing-nikes-new-rsvp-program/
- http://opencv-code.com/tutorials/detecting-simple-shapes-in-an-image/
- http://docs.opencv.org/doc/tutorials/ios/video_processing/video_processing.html
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
import random | |
moves = ['R', 'P', 'S'] | |
dna_encode = { | |
'PP': '1', 'PR': '2', 'PS': '3', | |
'RP': '4', 'RS': '5', 'RR': '6', | |
'SS': '7', 'SP': '8', 'SR': '9' } | |
beat_move = {'R': 'P', 'P': 'S', 'S': 'R'} | |
output = '' |
“Straighter is greater” — Walter Ray Williams, legendar
“Älska att vinna; få aldrig nog av att göra strike. Alla kan göra strike men vinnaren gör även spärr. Spärra så får du chansen att vinna.” — Lidas, Fredrikshof IF
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
// http://rosettacode.org/wiki/Primality_by_trial_division#By_Regular_Expression | |
function isPrime(n) { | |
var e = /^1?$|^(11+?)\1+$/; | |
return !e.exec('1'.repeat(n)); | |
} |
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.Collections.Generic; | |
using System.Data.Entity; | |
using System.Data.Entity.ModelConfiguration.Conventions; | |
using System.Linq; | |
using StackExchange.Profiling; | |
using StackExchange.Profiling.EntityFramework6; | |
namespace EffortTest | |
{ |
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.Diagnostics; | |
using System.Linq; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
using Raven.Abstractions.Data; | |
using Raven.Abstractions.Indexing; | |
using Raven.Client; | |
using Raven.Client.Embedded; | |
using Raven.Client.Indexes; |
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
# watch a file changes in the current directory, | |
# execute all tests when a file is changed or renamed | |
param($BatFile) | |
if (($BatFile -eq $null) -or (-not (Test-Path -Path $Batfile))) | |
{ | |
"Specify bat file to run continuously." | |
exit | |
} |