Skip to content

Instantly share code, notes, and snippets.

View vandersonarruda's full-sized avatar
🚀
Hi there!

Vanderson Arruda vandersonarruda

🚀
Hi there!
View GitHub Profile
@vandersonarruda
vandersonarruda / prisma.ts
Created October 17, 2023 17:37
PrismaClient (src/lib/prisma.ts)
import { PrismaClient } from '@prisma/client'
declare global {
var cachedPrisma: PrismaClient
}
let prisma: PrismaClient
if (process.env.NODE_ENV === 'production') {
prisma = new PrismaClient()
} else {
@vandersonarruda
vandersonarruda / settings.json
Last active April 24, 2024 01:35
VSCode Settings
{
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
@vandersonarruda
vandersonarruda / simplegamecenter.cs
Last active March 19, 2024 05:43 — forked from coreyjs/simplegamecenter.cs
Unity3d Simple GameCenter Integration
using UnityEngine;
using System.Collections;
using UnityEngine.SocialPlatforms;
using UnityEngine.SocialPlatforms.GameCenter;
public class GameCenter : MonoBehaviour {
static ILeaderboard m_Leaderboard;
public int highScoreInt = 1000;
@vandersonarruda
vandersonarruda / HTML: HTML5 Default Template
Last active August 29, 2015 14:26 — forked from fakiolinho/HTML: HTML5 Default Template
HTML: HTML5 Default Template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<!-- Favicons Start -->
<!-- In case image.ico -->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
@vandersonarruda
vandersonarruda / index.html
Created June 26, 2012 19:21
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS 3D WORLD &middot; CodePen</title>
<link rel="stylesheet" href="http://jsdo.it/GeckoTang/2W7f/css">