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
# $Id: gprs,v 1.4 2004/04/28 08:40:32 mcfrisk Exp $ | |
# | |
# File: | |
# gprs | |
# | |
# Description: | |
# Serial cable, IrDA, Bluetooth and USB pppd options for GPRS phones. | |
# See 'man pppd' for detailed option descriptions. | |
# Most GPRS phones don't reply to LCP echo's |
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 | |
# Base Script File (jsonv.sh) | |
# Created: Fri Jan 13 15:26:18 2012 | |
# Version: 1.0 | |
# Author: François-Xavier Thomas <[email protected]> | |
# | |
# This Bash script was developped by François-Xavier Thomas. | |
# You are free to copy, adapt or modify it. | |
# If you do so, however, leave my name somewhere in the credits, I'd appreciate it ;) |
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
--- a/backend/common/kite_vm.c 2010-08-21 01:20:25.000000000 +0200 | |
+++ b/backend/common/kite_vm.c 2012-02-11 02:29:37.000000000 +0100 | |
@@ -152,7 +152,12 @@ | |
#endif | |
#ifdef HAVE_GC_H | |
+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2 | |
+ ret->old_proc = GC_get_warn_proc(); | |
+ GC_set_warn_proc ((GC_warn_proc)kite_ignore_gc_warnings); | |
+#else |
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
#!/usr/bin/python | |
# coding=utf-8 | |
from setuptools import setup, find_packages | |
setup( | |
name = "LibSVM", | |
version = "3.11", | |
packages = find_packages(), | |
) |
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
-- Test LUA lesson | |
function main () | |
image_params = { | |
id = "equerre", | |
type = "image", | |
params = { | |
filename = "Bubble.png", | |
movable = false | |
} |
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
#!/usr/bin/python | |
# coding=utf-8 | |
# Base Python File (ilocalize.py) | |
# Created: Sun May 6 11:18:15 2012 | |
# Version: 1.0 | |
# | |
# This Python script was developped by François-Xavier Thomas. | |
# You are free to copy, adapt or modify it. | |
# If you do so, however, leave my name somewhere in the credits, I'd appreciate it ;) |
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
#!/usr/bin/python | |
# coding=utf-8 | |
# Import everything you need for image processing | |
from pylab import * | |
# This is an addon that's needed to be able to save the image | |
from scipy.misc import imsave | |
# Read image called "input.jpg" (rename that to whatever you want) |
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 | |
function enable_proxy { | |
echo "Enabling SOCKS proxy to localhost:8080" | |
networksetup -setsocksfirewallproxy wi-fi localhost 9999 | |
} | |
function disable_proxy { | |
echo "Disabling SOCKS proxy" | |
networksetup -setsocksfirewallproxystate wi-fi off |
Eclipse .project
and .classpath
files are XML files, and you can hook into
sbteclipse's generation process by using the classpathTransformerFactories
and projectTransformerFactories
setting keys.
(The following Scala samples should be inside your project's Build.scala
file, or a plugin)
Let's say we want to add the com.example.nature
nature to our project. The