Skip to content

Instantly share code, notes, and snippets.

View vicenterusso's full-sized avatar
🛠️
Mastering the art of DevOps

Vicente Russo vicenterusso

🛠️
Mastering the art of DevOps
View GitHub Profile
@vicenterusso
vicenterusso / createinstallmedia.md
Created December 13, 2021 01:27 — forked from windyinsc/createinstallmedia.md
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

@vicenterusso
vicenterusso / laravel_manual_vue_install.md
Last active November 18, 2021 12:26
Manual Vuejs (2) Installation on Laravel

Manually Setting up Vue without Using laravel/ui

You don’t need to use the laravel/ui package in order to add support for Vue. In fact, you may actually choose not to if you don’t need the additional dependencies (like Bootstrap). Adding Vue support is easy enough.

  1. Install npm dependencies

$ npm install --save-dev vue vue-template-compiler

2. Create a component

@vicenterusso
vicenterusso / docker-compose.yml
Last active April 6, 2021 17:33
Docker Composer GrayLog (4.0) + Elastic Search (7.10.0)
version: '3'
services:
# MongoDB: https://hub.docker.com/_/mongo/
mongo:
image: mongo:4.4
volumes:
- mongo_data:/data/db
networks:
- graylog
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
@vicenterusso
vicenterusso / ScriptableObjectSpawner.cs
Last active January 8, 2020 06:52 — forked from FreyaHolmer/ScriptableObjectSpawner.cs
ScriptableObject asset spawner for Unity with search capabilities
// Adds a menu item for easy creation of your ScriptableObject types
// Usage: Right click in project view -> Create -> ScriptableObject... -> Select your type
// It will land in the root of your assets folder with the same name as your class
// Freya Holmér - [email protected]
//
// Added search capabilities by [email protected]
using System;
using UnityEngine;
using UnityEditor;
@vicenterusso
vicenterusso / download-script.sh
Created March 23, 2019 05:02 — forked from amit-chahar/download-script.sh
Scirpt to download files from Google drive using curl (Detailed explanation can be read here: https://stackoverflow.com/a/49444877/4043524)
#!/bin/bash
fileid="FILEIDENTIFIER"
filename="FILENAME"
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
@vicenterusso
vicenterusso / HopaToolbar.cs
Last active January 20, 2017 19:29
Unity3D > Toolbar to turn on/off ScriptingDefineSymbols
using System.Linq;
using UnityEngine;
using UnityEditor;
namespace Hopa
{
namespace Utils
{
public class HopaToolbar : EditorWindow
@vicenterusso
vicenterusso / PlayMovie.cs
Created October 27, 2016 19:23
UI Canvas Movie Unity3D
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using DG.Tweening;
[RequireComponent(typeof(AudioSource))]
public class PlayMovie : MonoBehaviour
{
public MovieTexture Movie;
internal AudioSource AudioSource;
@vicenterusso
vicenterusso / CustomEditorBase.cs
Created March 22, 2016 23:18 — forked from t0chas/CustomEditorBase.cs
Default Custom Inspector-Editor for Unity3D with ReorderableLists for arrays handling
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using System.Collections.Generic;
using UnityEditor.AnimatedValues;
[CustomEditor(typeof(UnityEngine.Object), true, isFallback = true)]
[CanEditMultipleObjects]
public class CustomEditorBase : Editor
{
@vicenterusso
vicenterusso / PhysicsEvents2D.cs
Created December 9, 2015 15:18
PhysicsEvents2D from @melvmay
using System;
using UnityEngine;
using UnityEngine.Events;
public class PhysicsEvents2D : MonoBehaviour
{
[Serializable]
public class CollisionEnterEvent : UnityEvent<Collision2D> { }
[Serializable]
@vicenterusso
vicenterusso / README.md
Created December 4, 2015 13:37
Automatic Semantic Versioning via Git Tags

This function automatically grabs the latest git tag and, based on keyword (major, minor, patch), adds a new tag. (e.g. git_tag patch for v1.2.0 would create v1.2.1)

Drop this into your ~/.bash_profile and run source ~/.bash_profile to use it.

You can find all of my dotfiles here: https://github.com/drewbarontini/dotfiles

Credit to Jacob Swanner for cleaning up my function :)