Explore >> Select a destination


You are here

gist.github.com
| | connorberry.com
3.5 parsecs away

Travel
| | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);...
| | alexandrnikitin.github.io
6.2 parsecs away

Travel
| | TIL: JIT can treat static readonly fields as constants
| | mariocarrion.com
2.5 parsecs away

Travel
| | I'm starting the Mono POSIX shared memory wrapping, decided to begin dllimporting shm_open, however doesn't seems to be easy at all, my current effort is: using System; using System.Runtime.InteropServices; namespace Mono.Posix { public class SharedMemory { public SharedMemory () { } [DllImport ("librt", EntryPoint="shm_open", CharSet=CharSet.Ansi, CallingConvention=CallingConvention.StdCall)] public static extern IntPtr Open ( [MarshalAs (UnmanagedType.LPStr)] string name, int oflag, int mode_t); public...
| | jaketrent.com
20.7 parsecs away

Travel
| The object-relational mapping world of JPA and Hibernate has made a lot of things really nice and easy. As with any framework of this sort, however, it bec