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
<label class="component-holder btn btn-primary k-button" xattr-theme="btn-primary" data-component="crn-upload-file"><i class="glyphicon glyphicon-cloud-upload"></i> <input type="file" id="upload-file" style="display:none" onchange="$evt('cronapi.client(\'js.blockly.Arquivos.converteArquivo\').names().run()')"> <span>Upload</span></label> |
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
.state('redirectArquivo', { | |
url: "/download/:codigo", | |
resolve : { | |
async function($stateParams, $state, $http, $timeout) { | |
if ($stateParams.codigo == undefined || $stateParams.codigo == "") { | |
$state.go('404'); | |
} else { | |
sessionStorage.setItem('codigo', $stateParams.codigo); |
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
package blockly; | |
import org.springframework.web.servlet.support.ServletUriComponentsBuilder; | |
import cronapi.CronapiMetaData; | |
import cronapi.Var; | |
import cronapi.rest.security.CronappSecurity; | |
/** | |
* @author Matheus Portugal | |
* @version 1.0 | |
* @since 2020-09-09 |
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
<!doctype html> | |
<html ng-app="MyApp" update-language> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="IE=5,9,10,11;Edge"> | |
<!-- CSS --> | |
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css"> | |
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css"> |
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
[ | |
{ | |
"_class": "app.entity.Application", | |
"id": "3dc2e6de-12e9-4658-b8d0-d84b0d82bd09", | |
"name": "io.cronapp.apps.projetoparatestes" | |
}, | |
{ | |
"_class": "app.entity.User", | |
"id": "1d4e5d7b-dca8-4a1d-90fd-72648cf5dc8d", | |
"name": "Administrator", |
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
[ | |
{ | |
"_class": "app.entity.Application", | |
"id": "e1ff06d2-eaca-45f3-996c-f91d482010c5", | |
"name": "io.cronapp.apps.cursofontendweb" | |
}, | |
{ | |
"_class": "app.entity.User", | |
"id": "1d4e5d7b-dca8-4a1d-90fd-72648cf5dc8d", | |
"name": "Administrator", |
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
[ | |
{ | |
"_class": "app.entity.Application", | |
"id": "2518e36f-31cd-47eb-b6f4-f55c4c5b745a", | |
"name": "io.cronapp.apps.postogaszip" | |
}, | |
{ | |
"_class": "app.entity.User", | |
"id": "1d4e5d7b-dca8-4a1d-90fd-72648cf5dc8d", | |
"name": "Administrator", |
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
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.util.Scanner; | |
import java.util.Random; | |
public class RndNumbers { | |
public static void main (String[] args) throws IOException{ | |
Scanner scan = new Scanner(System.in); |
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
/* Defina uma classe para representar um Vetor multi dimensional, ou seja, um vetor definito por: | |
* V = (a1, a2, a3, ..., an) | |
* Sua classe deverá receber um array de números inteiros na construção, representando seus componentes. | |
* | |
* Sua Classe deverá ter um método para calcular o produto escalar entre o vetor atual (this) e um vetor informado como parametro através da formula: | |
* | |
* V1 = (a1, a2, ..., an) | |
* V2 = (b1, b2, ..., bn) | |
* for (int i = 0; i < n; i++) { | |
* V1xV2[i] += a[i] x b[i] |
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
import Tkinter | |
class simpleapp_tk(Tkinter.Tk): | |
21def __init__(self,parent): | |
Tkinter.Tk.__init__(self,parent) | |
self.parent = parent | |
self.initialize() | |
def initialize(self): | |
self.grid() #.grid() Layout type, in a grid you put objects by telling python the position of things (column=x, row=y) |
NewerOlder