Skip to content

Instantly share code, notes, and snippets.

View Gianfranco97's full-sized avatar

Gianfranco Gesu Manganiello Tiso Gianfranco97

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gianfranco97 on github.
  • I am gianfranco97 (https://keybase.io/gianfranco97) on keybase.
  • I have a public key ASA0cE0IUwWoNGMsJElCb95Mfth9PimSEFguk5cNJTfXbAo

To claim this, I am signing this object:

@Gianfranco97
Gianfranco97 / getData.js
Created September 19, 2017 20:17
Get data of the url
// get data of the url
function getData (parm) {
var url = window.location.href
var queryStart = url.indexOf("?") + 1,
queryEnd = url.indexOf("#") + 1 || url.length + 1,
query = url.slice(queryStart, queryEnd - 1),
pairs = query.replace(/\+/g, " ").split("&"),
parms = {}, i, n, v, nv
if (query === url || query === "") return
@Gianfranco97
Gianfranco97 / angus-css-gradient.css
Last active September 15, 2019 21:26
Angus - css gradient
background: rgb(168,0,56);
background: linear-gradient(180deg, rgba(168,0,56,1) 0%, rgba(253,0,84,1) 47%);
@Gianfranco97
Gianfranco97 / angus-colors.md
Last active September 15, 2019 21:26
Angus - Paleta de color

Alabaster: #fbf9fa

Folly: #fd0054

Shiraz: #a80038

Cocoa-Brown: #2a1f23

@Gianfranco97
Gianfranco97 / angus-typography.md
Last active September 15, 2019 21:29
Angus - Typography
<link rel="stylesheet" href="https://use.typekit.net/lyr2mix.css">

Cairo ExtraLight

font-family: cairo, sans-serif;
@Gianfranco97
Gianfranco97 / PlayerPrefsRemover.cs
Created August 10, 2024 13:48
Create a tool to reset the PlayerPrefs values on a Unity project
using UnityEngine;
using UnityEditor;
[ExecuteInEditMode]
public class PlayerPrefsRemover : EditorWindow
{
[MenuItem("Tools/Player Prefs Remover")]
public static void DeletePlayerPrefs()
{
PlayerPrefs.DeleteAll();