Skip to content

Instantly share code, notes, and snippets.

@ShahnawazIN
ShahnawazIN / git-lfs-example.sh
Created December 16, 2023 20:00 — forked from MichaelCurrie/git-lfs-example.sh
Use git-lfs on existing repository
# Install git-lfs
# (From https://github.com/git-lfs/git-lfs/wiki/Installation)
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install
# Add git-lfs to an existing repo
@ShahnawazIN
ShahnawazIN / Controller.cs
Created August 30, 2023 08:01 — forked from onevcat/Controller.cs
Final script for UniWebView "Working with Code" sample
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Controller : MonoBehaviour {
UniWebView webView;
// Use this for initialization
void Start () {
@ShahnawazIN
ShahnawazIN / typescript-crash.ts
Created January 27, 2023 14:46 — forked from bradtraversy/typescript-crash.ts
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple