Skip to content

Instantly share code, notes, and snippets.

View humbertodias's full-sized avatar

Humberto Dias humbertodias

View GitHub Profile
@tsarenkotxt
tsarenkotxt / Fix Xcode stuck on install or update.md
Last active December 14, 2022 14:30
Fix Xcode stuck on install or update
  1. check installation logs:
cat /var/log/install.log
  1. find the issue:
...
2022-04-26 22:50:21+03 tsarenkotxt installd[1641]: PackageKit: Extracting file:///var/folders/8x/_h18ksqn64dgswlstgcd_fw40000gn/C/com.apple.appstoreagent/com.apple.appstore/0C4C5EA3-A445-4CF0-9E44-37938052A4D9/kwb3255311556092828694.pkg#Xcode.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/7A629BA6-7537-469C-8C19-C74DD52245A1.activeSandbox/Root, uid=0)
2022-04-26 23:03:05+03 tsarenkotxt installd[1641]: PackageKit: Removing client PKInstallDaemonClient pid=3827, uid=501 (/System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstoreagent)
@newerton
newerton / Kind.md
Created December 3, 2020 14:08 — forked from franciscojsc/Kind.md
Kind, crie seu cluster Kubernetes localmente com Docker
@mccabiles
mccabiles / nginx.conf
Created September 17, 2019 11:24
Using gzip with Nginx and Vue CLI project
...
gzip on;
gzip_static on;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_proxied any;
gzip_vary on;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
@ramingar
ramingar / vue-debug-webstorm.md
Created December 12, 2018 11:00
Webstorm Vue Debugging #vue #debug #webstorm
@asoorm
asoorm / docker-compose-mongo-replicaset.yml
Created September 14, 2018 19:00
Mongo Replica Set docker compose
version: "3"
services:
mongo1:
hostname: mongo1
container_name: localmongo1
image: mongo:4.0-xenial
expose:
- 27017
ports:
- 27011:27017
@pflannery
pflannery / setup-c#7-with-unity2018-2.md
Last active January 26, 2020 00:02
Setup C# 7.x compilation in Unity 2018.2 and Visual Studio 2017

Set the unity scripting runtime to ".NET 4.x Equivalent"

In Unity goto "Edit->Preferences->Player" then find and set "Scripting Runtime Version*" to ".NET 4.x Equivalent"

Install Unity's IncrementalCompiler

In Unity:

  • Goto "Window->Package manager->All" then find and install the IncrementalCompiler
  • Goto "Unity Preferences->Compiler" and set "Enable building from IDE" to True
@chetanppatil
chetanppatil / install-sonar-scanner.sh
Last active December 28, 2023 04:31
Install sonar-scanner in linux mint, ubuntu...
#!/bin/bash
cd /tmp || exit
echo "Downloading sonar-scanner....."
if [ -d "/tmp/sonar-scanner-cli-4.7.0.2747-linux.zip" ];then
sudo rm /tmp/sonar-scanner-cli-4.7.0.2747-linux.zip
fi
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-linux.zip
echo "Download completed."
@Aaronmacaron
Aaronmacaron / install-alacritty-ubuntu.sh
Last active October 10, 2022 11:26
Install Alacritty on Ubuntu
#!/bin/bash
# This installs alacritty terminal on ubuntu (https://github.com/jwilm/alacritty)
# You have to have rust/cargo installed for this to work
# Install required tools
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
# Download, compile and install Alacritty
git clone https://github.com/jwilm/alacritty
@letientai299
letientai299 / mermaid-pandoc-guide.md
Last active November 8, 2024 11:32
Render PDF from markdown that using mermaid

Render PDF from Markdown that using mermaid

You will need:

This guide is based on Ubuntu, for other OS, use their package manager instead.

@Happsson
Happsson / InactiveCodeDetector.cs
Last active September 14, 2023 15:35
A script that lets you find unused scripts in your unity projects.
/*
This tool iterates through all the files in your project and checks for scripts.
It then goes through all the GameObjects in all the scenes in the project, and
checks for scripts that are not present on any GameObjects.
Note that this does not mean that the script is not used, just that it is possible that it isn't.
The script could still be used in many other ways. This tool is just to narrow the search for
unused code.