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
| // Requires official MongoShell 3.6+ | |
| db = db.getSiblingDB("...."); | |
| db.getCollection("produtos").aggregate( | |
| [ | |
| { | |
| "$project" : { | |
| "_id" : NumberInt(0), | |
| "produtos" : "$$ROOT" | |
| } | |
| }, |
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
| const gulp = require("gulp"); | |
| const filter = require("gulp-filter"); | |
| const purify = require("gulp-purify-css"); | |
| const gzip = require("gulp-gzip"); | |
| const brotli = require("gulp-brotli"); | |
| const clean = require("gulp-clean"); | |
| const { series, parallel } = require("gulp"); | |
| // #1 | Optimize 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
| #EXTM3U | |
| #EXT-X-SESSION-DATA:DATA-ID="com.xui.1_5_5r2" | |
| #EXTINF:-1 tvg-logo="http://a5.vc/3pv" group-title="Canais | Globo",Globo Brasilia FHD | |
| http://x00.so:80/Jessicadias/Hd9hF6/131151.ts | |
| #EXTINF:-1 tvg-logo="http://a5.vc/3pv" group-title="Canais | Globo",Globo Brasilia HD | |
| http://x00.so:80/Jessicadias/Hd9hF6/131164.ts | |
| #EXTINF:-1 tvg-logo="http://a5.vc/3pv" group-title="Canais | Globo",Globo Brasilia SD | |
| http://x00.so:80/Jessicadias/Hd9hF6/131116.ts | |
| #EXTINF:-1 tvg-logo="http://a5.vc/3pv" group-title="Canais | Globo",Globo EPTV Campinas SD | |
| http://x00.so:80/Jessicadias/Hd9hF6/131210.ts |
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 ParseFunctionString { | |
| /* Parse a string function definition and return a function object. Does not use eval. | |
| * @param {string} str | |
| * @return {function} | |
| * | |
| * Example: | |
| * var f = function (x, y) { return x * y; }; | |
| * var g = parseFunction(f.toString()); | |
| * g(33, 3); //=> 99 | |
| */ |
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
| <?php | |
| function pre_print_r($var){ | |
| echo "<pre>"; | |
| print_r($var); | |
| echo "</pre>"; | |
| } | |
| function Bigrams($word){ |
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
| /* Parse a string function definition and return a function object. Does not use eval. | |
| * @param {string} str | |
| * @return {function} | |
| * | |
| * Example: | |
| * var f = function (x, y) { return x * y; }; | |
| * var g = parseFunction(f.toString()); | |
| * g(33, 3); //=> 99 | |
| */ | |
| function parseFunction (str) { |
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
| // Library | |
| // Simple transformation of Javascript to HTML. | |
| class Dominator { | |
| private readonly eventListeners: any[]; | |
| private readonly children: any[]; | |
| private element: any; | |
| private id: any; | |
| private content: any; | |
| private properties: any; | |
| private tag: any; |
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
| // Library | |
| // Simple transformation of Javascript to HTML. | |
| class Dominator { | |
| constructor(object) { | |
| Object.assign(this, object) | |
| let childObjects = [] | |
| if (object.children){ | |
| for (const child of object.children) { | |
| let childObject = new Dominator(child) |
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
| data:text/csv;base64,dWY7Y29kaWdvO2V4O3RpcG87bmFjaW9uYWxmZWRlcmFsO2ltcG9ydGFkb3NmZWRlcmFsO2VzdGFkdWFsO211bmljaXBhbDt2aWdlbmNpYWluaWNpbzt2aWdlbmNpYWZpbTt2ZXJzYW8Kc2M7MDAwMDAwMDA7OzA7Ny44NTs5Ljg1OzAuMDA7MC4wMDswMS8wMi8yMDIxOzMwLzA0LzIwMjE7MjEuMS5BCmFjOzAwMDAwMDAwOzswOzcuODU7OS44NTswLjAwOzAuMDA7MDEvMDIvMjAyMTszMC8wNC8yMDIxOzIxLjEuQQ== |
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
| #!/bin/bash | |
| ## RECOMENDO EXECUTAR ESSE SCRIPT NA PASTA DOCUMENTOS DENTRO DO USUARIO | |
| echo "PRECISA DE INTERNET PARA EXECUTAR ESSE SCRIPT" | |
| echo "FAZ DOWNLOAD DE ARQUIVOS NA NET" | |
| sudo su | |
| apt-get update -y |