Skip to content

Instantly share code, notes, and snippets.

View ValchanOficial's full-sized avatar
:octocat:
Happy Octocat

Valéria Padilha de Vargas ValchanOficial

:octocat:
Happy Octocat
View GitHub Profile
@juunegreiros
juunegreiros / matrizInimigo.js
Created June 23, 2020 10:41
Matrizes Imersão GameDev Javascript
const matrizInimigo = [
[0, 0],
[104, 0],
[208, 0],
[312, 0],
[0, 104],
[104, 104],
[208, 104],
[312, 104],
[0, 208],
@warlock
warlock / app.json
Created June 20, 2019 13:25
App.json Expo Example Android And iOS permission examples
{
"expo": {
"name": "appname",
"slug": "appslug",
"privacy": "unlisted",
"sdkVersion": "32.0.0",
"platforms": [ "ios", "android" ],
"version": "2.0.36",
"orientation": "portrait",
"icon": "./assets/icon.png",
@diego3g
diego3g / NODE.md
Last active April 29, 2025 16:13
VSCode Settings (Updated)

⚠️ Note!

With VSCode version 1.94, the APC extension broke and there is no fix yet.

So, for those having issues with APC after the VSCode update, I recommend downloading the previous version of VSCode for now (https://code.visualstudio.com/updates/v1_93) and setting updates to manual by adding this to the editor's configuration:

"update.mode": "manual",
@arielweinberger
arielweinberger / strong-password-regex.md
Last active April 30, 2025 09:54
Strong password Regular Expression - NestJS Course
  • Passwords will contain at least 1 upper case letter
  • Passwords will contain at least 1 lower case letter
  • Passwords will contain at least 1 number or special character
  • There is no length validation (min, max) in this regex!

Regular expression for JavaScript:

/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/
@bmaupin
bmaupin / free-database-hosting.md
Last active April 30, 2025 11:40
Free database hosting
@ericoporto
ericoporto / trabalho_canada.txt
Created October 29, 2018 01:21
Stuff about jobs in canada
##Job Search & Staffing Services
www.careerbuilder.ca
www.6figures.com
www.acsess.org
www.adecco.ca
www.allstarjobs.ca
www.auto-jobs.ca
www.bestjobsca.com
www.bridges.com
@Aravin
Aravin / xmlParser.ts
Last active May 22, 2024 06:22
Converting JSON toXML& XML to JSON in Node.js using xml2js package in TypeScript
import { parseString, Builder } from "xml2js";
// Convert string/XML to JSON
function toJson(xml: string) {
parseString(xml, { explicitArray: false }, function(error, result) {
console.log(result);
});
}
@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active April 30, 2025 09:14
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for...i or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem

@bmaupin
bmaupin / free-backend-hosting.md
Last active April 30, 2025 11:36
Free backend hosting
@eliasnogueira
eliasnogueira / pom.xml
Created January 23, 2018 21:36
Trecho de código das dependências do treinamento JUnit para Testadores
<properties>
<junit.version>4.12</junit.version>
<junit.params.version>1.1.1</junit.params.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>