This file contains 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 { PrismaClient } from '@prisma/client' | |
declare global { | |
var cachedPrisma: PrismaClient | |
} | |
let prisma: PrismaClient | |
if (process.env.NODE_ENV === 'production') { | |
prisma = new PrismaClient() | |
} else { |
This file contains 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
{ | |
"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", |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.SocialPlatforms; | |
using UnityEngine.SocialPlatforms.GameCenter; | |
public class GameCenter : MonoBehaviour { | |
static ILeaderboard m_Leaderboard; | |
public int highScoreInt = 1000; | |
This file contains 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 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" /> |
This file contains 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"> | |
<title>CSS 3D WORLD · CodePen</title> | |
<link rel="stylesheet" href="http://jsdo.it/GeckoTang/2W7f/css"> |