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 { get } = require("axios").default; | |
const { exec } = require("child_process"); | |
const { join } = require("path"); | |
const cheerio = require("cheerio"); | |
const url = "https://youtube-downloader-v3.herokuapp.com"; | |
const ytBaseUrl = "https://www.youtube.com/watch?v=" | |
const getName = async (id) => { | |
const response = await get(ytBaseUrl+id); |
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
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }) | |
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded" }) | |
local capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities()) | |
lspconfig.clangd.setup { | |
on_attach = function(_, bufnr) | |
vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc") | |
end, | |
capabilities = utils.capabilities, | |
} |
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
{ | |
"id": "41526289817", | |
"user_id": "457624948", | |
"user_login": "dunossauro", | |
"user_name": "dunossauro", | |
"game_id": "1469308723", | |
"game_name": "Software and Game Development", | |
"type": "live", | |
"title": "[Python] Trampando / respondendo perguntas de python / batendo papo", | |
"viewer_count": 54, |
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
<script setup> | |
const getVideos = async () => { | |
const response = await api.get(...); | |
return response.data; | |
} | |
const video = await getVideos(); | |
</script> |
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
<script lang="ts"> | |
import { defineComponent } from 'vue'; | |
import { useRoute } from 'vue-router'; | |
export default defineComponent({ | |
setup() { | |
const $route = useRoute(); | |
const params = $route.params; | |
const query = $route.query. | |
} |
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
Instalar o nvim: | |
`brew install neovim` | |
Comando pra abrir o nvim: | |
`nvim` | |
Deve abrir corretamente | |
Clonar o repositório do LazyVim: | |
`git clone https://github.com/LazyVim/starter ~/.config/nvim` |
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> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<style> | |
body { | |
display: flex; | |
align-items: center; |
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
// ==UserScript== | |
// @name Puray Moe | |
// @namespace https://gist.github.com/fadiinho/606a2fbf72ea469712d8b51f707464b3 | |
// @version 0.1 | |
// @description Deixando Puray Moe mais pika do que já é | |
// @author https://github.com/fadiinho | |
// @match https://puray.moe/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=puray.moe | |
// @grant none | |
// ==/UserScript== |