Skip to content

Instantly share code, notes, and snippets.

View danielnunez's full-sized avatar
:octocat:
Codeando eternamente

Daniel Nuñez S. danielnunez

:octocat:
Codeando eternamente
View GitHub Profile
@danielnunez
danielnunez / oh-my-posh_WinPS_Install.md
Created March 18, 2023 07:16 — forked from adojos/oh-my-posh_WinPS_Install.md
Oh-My-Posh Installation on Win PowerShell v5.1 #powershell

Oh-My-Posh Installation on Windows PowerShell v5.1


1. Installation

There are number of ways you can install Oh-My-Posh. But commonly you install Oh-My-Posh either from PSGallery by using PowerShell's 'Install-Module' command or with Oh-My-Posh supplied platform-specific install instructions like 'Winget' on their website. Hence you can choose to run any one of the following.

If you want to use 'winget', run following:

winget install JanDeDobbeleer.OhMyPosh -s winget
@danielnunez
danielnunez / unicode symbols
Created August 8, 2023 19:14 — forked from datawookie/unicode symbols
Useful Unicode characters
https://github.com/muan/unicode-emoji-json
° — degree
💣 — bomb
💥 — explosion
🔥 — fire
🎉 — tada
🧯 — fire extinguisher
🎉 — party popper / tada
@danielnunez
danielnunez / 0-PHP-CREATE-EXCEL.MD
Created September 20, 2023 00:52 — forked from code-boxx/0-PHP-CREATE-EXCEL.MD
PHP Create Excel Spreadsheet

PHP CREATE EXCEL SPREADSHEET

https://code-boxx.com/create-excel-spreadsheet-php/

NOTES

A copy of PHPSpreadsheet is not included, please download your own – composer require phpoffice/phpspreadsheet.

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy

@danielnunez
danielnunez / navicat_reset_trial.sh
Created November 19, 2023 18:35
Reset Navicat Premium 15/16 remaining trial days
#!/bin/bash
set -e
file=$(defaults read /Applications/Navicat\ Premium.app/Contents/Info.plist)
regex="CFBundleShortVersionString = \"([^\.]+)"
[[ $file =~ $regex ]]
version=${BASH_REMATCH[1]}
@danielnunez
danielnunez / opcache_install.md
Created April 1, 2024 23:53 — forked from WillSquire/opcache_install.md
OpCache install & configuration

OpCache

Installation

Install OpCache on FreeBSD with (note 56 resembles the current PHP version 5.6):

cd /usr/ports/www/php56-opcache && sudo make config-recursive install distclean

Configuration