JLinX - Blog

Weblog von Jan Linxweiler

Zitat des Tages

Abgelegt unter: Zitate — Jannis at 1:34 pm on Samstag, Januar 24, 2009

“Computers are the equivalent of a bicycle for our minds.”- Steve Jobs

Zitat des Tages

Abgelegt unter: Zitate — Jannis at 1:56 pm on Samstag, Januar 10, 2009

To find yourself, think for yourself.
  –  Socrates

How to Install boost on OS X

Abgelegt unter: Apple & Mac OS X, Development — Jannis at 11:19 pm on Freitag, Dezember 12, 2008

Get boost source files from boost.org.

  • cd path/to/boost_1_37_0
  • ./configure
  • sudo make install

Boost libraries and header files will be installed to /usr/local/lib and /usr/local/include.

OS X Run Shell Scripts From Finder

Abgelegt unter: Apple & Mac OS X, Linux — Jannis at 9:40 pm on Sonntag, November 23, 2008
  1. Rename the shell script extension from .sh to .command
  2. Make the file executable: chmod +x file.command
  3. Wherever you put the file, it will run with your home directory as the current working directory. To get around this, use the following line:
    cd “`dirname “$0″`”

How to Make MacBook and MacBook Pro Hibernate

Abgelegt unter: Apple & Mac OS X, Software — Jannis at 7:42 pm on Sonntag, November 23, 2008

See Make my MacBook Pro Hibernate for details.

Use SmartSleep to configure your MB.

How to Search for File Contend in Specific Files

Abgelegt unter: Apple & Mac OS X, Linux — Jannis at 9:16 pm on Donnerstag, November 20, 2008

find . -iname “*.cpp” -print | xargs grep “main(” -s

-s = silent - no error messages

Mac Tricks And Tips

Abgelegt unter: Apple & Mac OS X, Blogs & Links, Internet — Jannis at 8:23 pm on Mittwoch, November 19, 2008

Find Mac Tricks And Tips here

Cocoa Coding - Cocoa lernen Schritt für Schritt

Abgelegt unter: Bücher, Cocoa, Development — Jannis at 11:33 am on Dienstag, November 18, 2008

http://cocoa-coding.de/

Kostenlose deutsche Onlinelektüre zum Erlernen von Cocoa.

 

Delay Load CUDA Runtime Library DLL

Abgelegt unter: Development — Jannis at 6:29 pm on Montag, November 17, 2008

#include < windows.h>
#include <delayimp.h>

int cudaDetect()
{
// Try to load imports from NVIDIA runtime DLL
// If this is not possible then there’s no compatible driver installed
__try
{
if( FAILED( __HrLoadAllImportsForDll( “cudart.dll” ) ) )
  return 0;
}
__except( EXCEPTION_EXECUTE_HANDLER )
{
return 0;
}
return 1;
}

  • Add “/DELAYLOAD:cudart.dll” to linker command line
  • Add Dependency to “delayimp.lib”

Model View Presenter (MVP) – Tips from trenches (TFT)

Abgelegt unter: Development, Patterns, Software Engineering — Jannis at 4:27 pm on Donnerstag, November 13, 2008
  • Model View Presenter (MVP) – Tips from trenches (TFT) – Working with HttpContext (Part 2)
  • Model View Presenter (MVP) – Tips from trenches (TFT) – Base types(Part 1)
  • Model View Presenter (MVP) – Tips from trenches (TFT) - Announcement
  •  

    « Vorherige SeiteNächste Seite »