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 | |
$matrix = generateMatrix(20, 20); | |
$homePath = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' | |
? $_SERVER['HOMEDRIVE'] . $_SERVER['HOMEPATH'] | |
: $_SERVER['HOME']); | |
$filename = $homePath . '\\matrix.txt'; | |
$file = fopen($filename, 'w') or die('imposible escribir en ' . $filename); | |
$content = ''; |
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
var FormValidation = (function($) { | |
var context = null; | |
function FormValidation(form) { | |
this.form = $(form); | |
this.tabs = $(form).find('.nav-tabs a[role="tab"]'); | |
this.panels = $(form).find('.tab-content [role="tabpanel"]'); |
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
var FileUploader = (function($global) { | |
var defaults = { | |
'wrapperStyle': '', | |
'url': null, | |
'chooseText': 'Seleccionar archivos' | |
}, | |
context = null; | |
function Uploader(element, settings) { |
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
// ==UserScript== | |
// @name T! bbcode ++ | |
// @namespace lincecode | |
// @include /^http:\/\/([w]{3}\.)?taringa.net[^$]*$/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
$(document).ready(function () { | |
'use strict'; |