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
    
  
  
    
  | # Minimal version of CMake | |
| cmake_minimum_required (VERSION 2.6) | |
| # Build type | |
| if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) | |
| message(STATUS "Setting build type to 'Debug' as none was specified.") | |
| set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) | |
| # Set the possible values of build type for cmake-gui | |
| set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release") | |
| endif () | 
  
    
      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
    
  
  
    
  | @set @junk=1 /* | |
| @cscript //nologo //E:jscript %~f0 %* | |
| @goto :eof */ | |
| var args=WScript.Arguments, argCnt=args.Length, stdin=WScript.StdIn, stdout=WScript.StdOut; | |
| var replaceSingleQuotes=false, printMatchesOnly=false, matchString, flagString, regex, argDx=0; | |
| if(argCnt==0) { | |
| throw new Error("You must provide search criteria."); | |
| } | 
  
    
      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
    
  
  
    
  | #include <stdio.h> | |
| #include <stdlib.h> | |
| #ifdef __APPLE__ | |
| #include <OpenCL/opencl.h> | |
| #else | |
| #include <CL/cl.h> | |
| #endif | |
| int main() { | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # | |
| # git-mv-with-history -- move/rename file or folder, with history. | |
| # | |
| # Moving a file in git doesn't track history, so the purpose of this | |
| # utility is best explained from the kernel wiki: | |
| # | |
| # Git has a rename command git mv, but that is just for convenience. | |
| # The effect is indistinguishable from removing the file and adding another | |
| # with different name and the same content. | 
  
    
      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
    
  
  
    
  | // Create a new InternetExplorer.Application object | |
| // 2nd arg is a prefix for events (any string) | |
| var ie = WScript.CreateObject("InternetExplorer.Application", "ieEvent_"); | |
| // Set url | |
| ie.Navigate("about:blank"); | |
| // Show window (default state is hidden) | |
| ie.Visible = 1; | |
| // Create specially named function using prefix (that 2nd arg above) | |
| // (OnQuit means when IE window is closed) | 
  
    
      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 is how to track a white ball example using SimpleCV | |
| The parameters may need to be adjusted to match the RGB color | |
| of your object. | |
| The demo video can be found at: | |
| http://www.youtube.com/watch?v=jihxqg3kr-g | |
| ''' | |
| print __doc__ | 
NewerOlder