Skip to content

Instantly share code, notes, and snippets.

View JoKenPo's full-sized avatar
👽
sup!

Eduardo Florêncio JoKenPo

👽
sup!
View GitHub Profile
@JoKenPo
JoKenPo / Perfis para Visual Studio Code.md
Created February 21, 2024 18:18 — forked from jamesgsilva/Perfis para Visual Studio Code.md
Diferentes "Perfis" no VS Code para alternar configurações e extensões facilmente

Perfis para Visual Studio Code

Adotar o Visual Studio Code como editor de código/texto padrão para diversas tecnologias (Javascript, GO, Java) não é uma escolha fácil.

Muitas vezes fazer alterações nas configurações (tema, fonte, etc), e gerenciar extensões (ativar/desativar) para cada tipo de projeto é um trabalho tedioso.

Opções avançadas de linha de comando

Felizmente o VSCode pode ser iniciado pela linha de comando com opções avançadas para carregar configurações e extensões de um diretório especifico.

@JoKenPo
JoKenPo / tutorial.md
Created February 6, 2024 20:21 — forked from Makeshift/tutorial.md
Tutorial for automatically syncing an Obsidian vault with Git on an Android device

How to sync Obsidian with Git on Android

Limitations

  • If Termux is closed in the background by Android, the cron service will stop updating your repository and you must open Termux again. Refer to instructions for your device model to disable the killing of certain background applications.
  • This may negatively affect your devices battery life. I'm not entirely sure yet.

Setup

import React, { useState } from "react";
import {
format,
startOfWeek,
addDays,
startOfMonth,
endOfMonth,
endOfWeek,
isSameMonth,
isSameDay,
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example