I hereby claim:
- I am marzvrover on github.
- I am marzvrover (https://keybase.io/marzily) on keybase.
- I have a public key ASD70WneyVEGb0nvHnUYbBV3Amy9jtUp0PRQuP5VOA3_RAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
var_file_location="/usr/local/etc/php/php.ini" | |
declare -A values | |
values["upload_max_filesize"]="2M" | |
for key in "${!values[@]}" | |
do |
syntax on | |
set expandtab | |
set softtabstop=4 | |
set shiftwidth=4 | |
set tabstop=4 | |
set list | |
set listchars=tab:>\ ,eol:¬ | |
set listchars+=space:· |
For errors similar to: (this example uses php)
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Abort trap: 6
then run
brew uninstall --ignore-dependencies php
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
export CLICOLOR=1 | |
alias please="php please" | |
alias artisan="php artisan" | |
alias tinker="artisan tinker" | |
alias migrate="artisan migrate" |
WIDTH=100 | |
HEIGHT=50 | |
PERCENT_START=66 | |
CELL='0' | |
LIFECYCLES=25 | |
TIME_DELAY='.246' | |
gameboard = {} | |
for i=0,HEIGHT |
using System; | |
using System.Collections.Generic; | |
namespace Marzvrover | |
{ | |
class Picker | |
{ | |
static void Main(string[] args) | |
{ | |
string input; |
# Write the new file | |
awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo > /etc/pam.d/sudo.new | |
# Make a backup of the current file | |
cp /etc/pam.d/sudo /etc/pam.d/sudo.bak | |
# Replace the current file with the new file | |
mv /etc/pam.d/sudo.new /etc/pam.d/sudo | |
# If you need to restore the backup and do not have | |
# access to sudo due to the issue. Reboot into recoveryOS | |
# Mount your data volume |
This gist contains my shell environment files: | |
.zshrc | |
.zshenv | |
.aliases |
PHP_VER="7.3.31" | |
# Check if extension exists first | |
php -m | grep pgsql | |
# Update brew and install requirements | |
brew update | |
brew install autoconf | |
# Download PHP source and extract |