View script.js
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() { | |
function timeDiff(start, end) { | |
var diff = end - start; | |
var units = [ | |
1000 * 60 * 60 *24, | |
1000 * 60 * 60, | |
1000 * 60, | |
1000 | |
]; |
View cloudSettings
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
{"lastUpload":"2020-03-12T02:04:08.348Z","extensionVersion":"v3.4.3"} |
View Default%20%28OSX%29.sublime-keymap
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
Show hidden characters
{ | |
// The Nodejs installation path | |
"node_path": { | |
"windows": "node.exe", | |
"linux": "/usr/bin/nodejs", | |
"osx": "/usr/local/bin/node" | |
}, | |
// The location to search for a locally installed eslint package. | |
// These are all relative paths to a project's directory. |
View Default%20%28OSX%29.sublime-keymap
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
{ | |
// The Nodejs installation path | |
"node_path": { | |
"windows": "node.exe", | |
"linux": "/usr/bin/nodejs", | |
"osx": "/usr/local/bin/node" | |
}, | |
// The location to search for a locally installed eslint package. | |
// These are all relative paths to a project's directory. |
View cloudSettings
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
{"lastUpload":"2019-12-30T18:07:06.125Z","extensionVersion":"v3.4.3"} |
View t11.c
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) | |
{ | |
int nEp = 1; | |
int tam = 12; | |
int n = 4; | |
int *vA = (int *)malloc(tam * sizeof(int)); |
View parserLexico.jflex
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 java.io.*; | |
%% | |
%byaccj | |
%{ | |
// Armazena uma referencia para o parser | |
private Parser yyparser; |
View arquivo.txt
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
a | |
a | |
int | |
asd | |
as123 | |
99 | |
99. | |
99.999 | |
float | |
real a |
View index.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>App</title> | |
</head> | |
<body> | |
<div id="app"></div> | |
<script src="index.js"></script> | |
</body> |
View index.js
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
const Box = x => ( | |
{ | |
map: f => Box(f(x)), | |
fold: f => f(x) | |
} | |
); | |
const splitEvery = (list, n) => { | |
const result = []; | |
let idx = 0; |
NewerOlder