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
commit 0f048706c04718c73ad1cc920225ff8d9008871a | |
Author: Jacques Crocker <railsjedi@gmail.com> | |
Date: Sun Aug 29 16:52:25 2010 -0700 | |
asdklfjadklsfjlk | |
commit b45d683e1e64927941ee8e59e25c00f8b74101a8 | |
Author: Jacques Crocker <railsjedi@gmail.com> | |
Date: Sun Aug 29 16:49:06 2010 -0700 |
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
<head> | |
<title>Animation Walk Test</title> | |
</head> | |
<body> | |
<div id = "icon"></div> | |
</body> |
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
controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
$scope.$on('authLoaded', function() { | |
$scope.isExpert($scope.main.serieId); | |
$scope.isMember($scope.main.serieId); | |
}); | |
$scope.loadAuth = function() { | |
Auth.load().success(function(data) { | |
$scope.main.user = data.user; | |
$scope.$broadcast("authLoaded"); |
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
<?php | |
// IP del telefono Android | |
$ip="192.168.1.12"; | |
$puerto="9090"; | |
// Numero de telefono al que se enviara el SMS | |
$telf="+34XXXXXXXXX"; | |
$password="secreto"; | |
$text="BOOOOOOOOOOOM"; | |
// http://192.168.1.12:9090/sendsms?phone=+34XXXXXXXXX&text=BOOOOOOOOOOOM&password=secreto |
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
def clean_cedula(self): | |
""" | |
Valída que sea Correcta la Cédula | |
""" | |
ced = self.cleaned_data['cedula'] | |
msg = "La Cédula introducida no es válida" | |
valores = [ int(ced[x]) * (2 - x % 2) for x in range(9) ] | |
suma = sum(map(lambda x: x > 9 and x - 9 or x, valores)) | |
veri = 10 - (suma - (10 * (suma / 10))) | |
if int(ced[9]) == int(str(veri)[-1:]): |
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
/** | |
* jquery.gallery.js | |
* http://www.codrops.com | |
* | |
* Copyright 2011, Pedro Botelho / Codrops | |
* Free to use under the MIT license. | |
* | |
* Date: Mon Jan 30 2012 | |
*/ |