$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}
Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain:
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
## This is a directory/file filter for WinMerge | |
## This filter suppresses various binaries found in Visual C# source trees | |
name: Visual C# loose | |
desc: Suppresses various binaries found in Visual C# source trees | |
## This is an inclusive (loose) filter | |
## (it lets through everything not specified) | |
def: include | |
## Filters for filenames begin with f: |
// One shot request HTTP client - show local/remote addresses | |
// | |
// Attempt to use a modified Agent that has own self.createConnection() | |
// that binds the client socket to a particular address. | |
var assert = require('assert'), | |
dns = require('dns'), | |
http = require('http'), | |
net = require('net'), | |
util = require('util'); |
internal static class NativeMethods | |
{ | |
[DllImport("XpsPrint.dll", ExactSpelling = true, CharSet = CharSet.Unicode)] | |
public static extern int StartXpsPrintJob(string printerName, string jobName, string outputFileName, IntPtr progressEvent, SafeWaitHandle completionEvent, | |
[MarshalAs(UnmanagedType.LPArray)] byte[] printablePagesOn, int printablePagesOnCount, out IXpsPrintJob xpsPrintJob, out IXpsPrintJobStream documentStream, out IXpsPrintJobStream printTicketStream); | |
} | |
[ComImport, Guid("E974D26D-3D9B-4D47-88CC-3872F2DC3585"), ClassInterface(ClassInterfaceType.None)] | |
internal class XpsOMObjectFactory | |
{ |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var grabby = new Grabby(); | |
string output = grabby.Grab("http://www.dotnetnerd.dk/cv"); | |
Console.WriteLine(output); | |
File.WriteAllText("c:\\test.html", output); | |
} |
using System; | |
using System.Collections.Specialized; | |
using System.IO; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Web; | |
using System.Web.Configuration; | |
using System.Web.Hosting; | |
using System.Web.SessionState; |
import Foundation | |
class Request : NSObject { | |
var url : NSURL? = nil | |
var request : NSMutableURLRequest? = nil | |
var response : NSHTTPURLResponse? = nil | |
var data: NSMutableData? = nil | |
var done: (NSError?, NSData, NSString?) -> () = { (_, _, _) -> () in } |
Windows is really horrible system for developers and especially for devops. It doesn’t even have a usable terminal and shell, so working with command line is really pain in the ass. If you really don’t want to switch to any usable system (OS X, Linux, BSD…), then this guide should help you to setup somewhat reasonable environment – usable terminal, proper shell, ssh client, git and Sublime Text as a default editor for shell.