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
import random | |
__author__ = 'fabiocigliano' | |
def genarray(): | |
n = int(random.random() * 10) + 1 | |
ris = range(n) | |
random.shuffle(ris) | |
return ris |
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
import random | |
__author__ = 'fabiocigliano' | |
def genarray(): | |
n = int(random.random() * 10) + 1 | |
ris = range(n) | |
random.shuffle(ris) | |
return ris |
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
import random | |
__author__ = 'fabiocigliano' | |
def genarray(): | |
n = int(random.random() * 10) + 1 | |
ris = range(n) | |
random.shuffle(ris) | |
return ris |
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
import random | |
__author__ = 'fabiocigliano' | |
def genarray(): | |
n = int(random.random() * 10) + 1 | |
ris = range(n) | |
random.shuffle(ris) | |
return ris |
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
#!/usr/bin/python | |
""" | |
Alpha program to mirror a remote Picasa Album | |
with local directory | |
""" | |
__author__ = "fabiocigliano" | |
import gdata.photos |
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
/* | |
Copyright (c) 2015 Fabio Cigliano | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
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
// clear; mkoctfile extlibrary.cpp -o extlibrary.a | |
// mkoctfile extlibrary.cpp -M --link-stand-alone -o extlibrary.a | |
// clear; mkoctfile extlibrary.cpp --link-stand-alone -o extlibrary.o | |
//#include <iostream> | |
#include <octave-3.2.4/octave/oct.h> |
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
// | |
// ViewController.h | |
// testWebView | |
// | |
// Created by Fabio Cigliano on 21/02/13. | |
// Copyright (c) 2013 Fabio Cigliano. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
/** | |
* Sample Java class to test the keystore support | |
*/ | |
package net.fabiocigliano.test.keystore; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; |
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
/** | |
* Sample class that define a Callbackable object to act like a Javascript callback function | |
*/ | |
package net.fabiocigliano.test.callback; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Modifier; |