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
Show hidden characters
{ | |
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"console.log(\"\")": { | |
"prefix": "clg", | |
"body": [ | |
"console.log(\"$1\")" |
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
/* | |
Udemy Course Duration Calculator | |
Unlicensed | |
Usage: add this file as a browser bookmarklet or run it on console with your course open | |
*/ | |
const ACCORDION_QUERY = '[id^="accordion-panel-title"]'; | |
const ITEMS_QUERY = '[class*="curriculum-item-link--metadata"]'; | |
const CHECKBOX_QUERY = '[data-purpose="progress-toggle-button"]'; |
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 fs from 'fs'; | |
import path from 'path'; | |
import { fileURLToPath } from 'url'; | |
import Sequelize from 'sequelize'; | |
const models = {}; | |
const filename = fileURLToPath(import.meta.url); | |
const dirname = path.dirname(filename); | |
const basename = path.basename(filename); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct eno { | |
int valor; | |
struct eno *esq; | |
struct eno *dir; | |
} No; | |
No *criar(int); |
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
Verifying that "ngustavo.id" is my Blockstack ID. https://onename.com/ngustavo |