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 fileField = document.getElementById("file_picker"); | |
var file = fileField.files[0]; // Use multiple attr in your input field to upload more than one file | |
var formData = new FormData(); | |
formData.append('filecsv', file, file.name); | |
$.ajax({ | |
type: "POST", | |
url: "", | |
processData: false, | |
contentType: false, |
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
/*===================================================== | |
* | |
* Sitef Date : A javascript library that handles dates in a way that fits Sitef's needs | |
* (c) Luiz Augusto Crisostomo 2014 | |
* | |
======================================================*/ | |
function SitefDate(date) { |
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 Messages = (function($) { | |
var Messages = {}; | |
Messages.showMessage = function (type, message) { | |
showMessage(type, message, containers.pageContainer, arguments); | |
}; | |
Messages.showModalMessage = function (type, message) { | |
showMessage(type, message, containers.modalContainer, arguments); | |
}; |
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
wget --user=myUser --ask-password -e robots=off -r -I /repositorios/eduexpo-ios/tags/4.0.0-eduexpo-ios/source/ http://fabr.com.br/repositorios/eduexpo-ios/tags/4.0.0-eduexpo-ios/source/ |
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
function render(tmpl_name, tmpl_data) { | |
if ( !render.tmpl_cache ) { | |
render.tmpl_cache = {}; | |
} | |
if ( ! render.tmpl_cache[tmpl_name] ) { | |
var tmpl_dir = '/templates'; | |
var tmpl_url = tmpl_dir + '/' + tmpl_name + '.html'; | |
var tmpl_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
/*===================================================== | |
* | |
* jQuery Sitef Paginator | |
* Inform Sistemas LTDA. | |
* | |
======================================================*/ | |
;(function ($, window, document, undefined) { | |
$.widget("sitef.paginator", { |
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
// | |
// NSManagedObject+IsNew.m | |
// eduexpos | |
// | |
// Created by Luiz Augusto on 8/29/14. | |
// Copyright (c) | |
// | |
#import "NSManagedObject+IsNew.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
function myFnc() { | |
if (true) { | |
let a = 'oi'; | |
console.log(a + ' gdg'); // oi gdg | |
} | |
console.log(a); // a is not defined | |
} | |
// myFnc(); |
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
function fadeOut(el){ | |
el.style.opacity = 1; | |
(function fade() { | |
el.style.opacity -= 0.1; | |
if (el.style.opacity < 0) { | |
el.style.display = "none"; | |
el.classList.add('tago-playerbox-hide'); | |
} else { | |
requestAnimationFrame(fade); |
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
.tago-infobox-arrow { | |
position: absolute; | |
width: 32px; | |
height: 32px; | |
left: 50%; | |
margin-left: -16px; | |
bottom: -32px; | |
overflow: hidden; | |
&:before { |
OlderNewer