Skip to content

Instantly share code, notes, and snippets.

View daltondiaz's full-sized avatar
😁
Coding ...

Dalton daltondiaz

😁
Coding ...
View GitHub Profile
@daltondiaz
daltondiaz / update-golang.md
Created January 3, 2025 14:25 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

@daltondiaz
daltondiaz / php_zts_pthread.md
Created June 9, 2023 17:19 — forked from asvignesh/php_zts_pthread.md
Install PHP ZTS and enable the pThread

Install packages needed for compiling

sudo apt-get update

sudo apt install autoconf automake bison build-essential curl flex \
  libtool libssl-dev libcurl4-openssl-dev libxml2-dev libreadline7 \
  libreadline-dev libsqlite3-dev libzip-dev libzip4 nginx openssl \
  pkg-config re2c sqlite3 zlib1g-dev
 
@daltondiaz
daltondiaz / pom.xml
Created April 19, 2022 12:10 — forked from boundedinfinity/pom.xml
Basic maven pom.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.boundedinfinity</groupId>
<artifactId>basic-projet</artifactId>
<version>0.0.1-SNAPSHOT</version>
</project>
@daltondiaz
daltondiaz / tmux-cheatsheet.markdown
Created April 4, 2022 20:37 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@daltondiaz
daltondiaz / multi-git-win.md
Created December 18, 2021 22:35 — forked from rosswd/multi-git-win.md
Setting up a Github and Bitbucket account on the same computer on Mac OS. Now with a guide for Windows 10.

Setting up github and bitbucket on the same computer (Windows)

Guide for Windows

mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.

Github will be the main account and bitbucket the secondary.

Git for Windows

  • Download and install Git for Windows
    • In the installer, select everything but decide if you want a desktop icon (2nd step)
@daltondiaz
daltondiaz / README.md
Created February 27, 2017 11:58 — forked from zenorocha/README.md
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage