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
#Begin | |
#!/usr/local/bin/python | |
#import httplib | |
import urllib | |
from google.appengine.api import urlfetch | |
from struct import * | |
def cellid_2_pos(cellid, lac, mnc = 0, mcc = 0): |
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 NLua; | |
namespace EventLua | |
{ | |
public class MyClass | |
{ | |
public Action actionFromLua; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Xamarin Studio (based on Snappy Light)</string> |
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.Linq; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
using System.ComponentModel; | |
using System.Drawing; | |
using System.Drawing.Printing; | |
using System.Windows.Forms; |
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.IO; | |
using System.Runtime.InteropServices; | |
namespace AR.Drone.Infrastructure | |
{ | |
public static class InteropHelper | |
{ | |
public const string LD_LIBRARY_PATH = "LD_LIBRARY_PATH"; |
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
#!/bin/sh | |
if [$# -ne 2]; then | |
echo "Usage: $0 output lenght_seconds" >&2 | |
exit 1 | |
fi | |
#!/bin/sh | |
/Applications/VLC.app/Contents/MacOS/VLC -v "http://midiaserver.tvcultura.com.br:8003/;stream/1" --sout "#duplicate{dst=std{access=file,mux=raw,dst=$1.mp3}" --stop-time=$2 vlc://quit |
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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using NLua; | |
namespace ConsoleApplication2 | |
{ | |
class Program |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <conio.h> | |
#include "allegro.h" | |
#include <math.h> | |
#include <conio.h> | |
#include <ctype.h> | |
#define NADA -10 | |
#define X1 ((xf-x0)/abs(xf-x0)) |
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 NUnit.Framework; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace TestUri | |
{ | |
class Program |
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
.....Stacktrace: | |
at <unknown> <0xffffffff> | |
at (wrapper managed-to-native) KeraLua.Lua.luaL_unref (intptr,int,int) <IL 0x00025, 0xffffffff> | |
at NLua.LuaLib.lua_unref (KeraLua.Lua/lua_State,int) <IL 0x0000c, 0x0001f> | |
at NLua.Lua.dispose (int) <IL 0x0001b, 0x00053> | |
at NLua.LuaBase.Dispose (bool) <IL 0x00022, 0x0002b> | |
at NLua.LuaBase.Finalize () <IL 0x00002, 0x00013> | |
at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff> |