Skip to content

Instantly share code, notes, and snippets.

View drelocatelli's full-sized avatar
😃
hello world

4ndr3224 drelocatelli

😃
hello world
  • Vitória, ES
View GitHub Profile
@leidison
leidison / ubuntu20.04_php8.1_sqlsrv.sh
Created February 9, 2022 01:12
Install PHP 8.1 and SQLSRV on Ubuntu 20.04
#!/bin/bash
#ubuntu 20.04
#php8.1
# install php ppa
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
@RatserX
RatserX / debian-ubuntu-php-sqlsrv.md
Last active November 29, 2024 15:01
Setup the Microsoft ODBC Driver for SQL Server on Debian/Ubuntu with different PHP versions

Setup the Microsoft ODBC Driver for SQL Server on Debian/Ubuntu with different PHP versions

Prerequisites

Update the installed packages.

apt update

Install the Ondřej PHP repository.

apt install software-properties-commonsudo

add-apt-repository ppa:ondrej/php

@hamzahamidi
hamzahamidi / open-cmder-here.md
Last active July 11, 2024 18:24
"Open Cmder Here" in context menu

"Open Cmder Here" in context menu

Edit 04/2021:

As of the lastest versions, just execute the following command .\cmder.exe /REGISTER ALL per Documentation.

Original Solution

To add an entry in the Windows Explorer context menu to open Cmder in a specific directory, paste this into a OpenCmderHere.reg file and double-click to install it.

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active December 24, 2024 13:16
Online Resources For Web Developers (No Downloading)
@darencard
darencard / auto_git_file.md
Last active August 23, 2024 13:41
Automatic file git commit/push upon change

Please see the most up-to-date version of this protocol on my blog at https://darencard.net/blog/.

Automatically push an updated file whenever it is changed

Linux

  1. Make sure inotify-tools is installed (https://github.com/rvoicilas/inotify-tools)
  2. Configure git as usual
  3. Clone the git repository of interest from github and, if necessary, add file you want to monitor
  4. Allow username/password to be cached so you aren't asked everytime
@jojobyte
jojobyte / ContextCmder-Disable.reg
Last active November 5, 2024 02:36
Cmder Context (Right-Click) Menu for Windows 7, 8, 10 & 11
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]