- on your repo's root, run :
find . -type f | xargs chmod -x
- commit this change on files :
commit -n -m 'fix: files permission from 100755 to 100644'
- then with
vim .git/config
, setfilemode
option tofalse
[core]
filemode = false
First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)
$ git checkout master
Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master
<?php | |
/** | |
* Plugin Name: Convert ACF PHP to JSON | |
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
*/ | |
namespace ConvertAcfPhpToJson; | |
/** | |
* Add submenu item under 'Custom Fields' |
This is a Terraria Server Setup Guide for Digital Ocean
This guide might not do everything the right way, but it works.
No bullshit. Straight up what I did to get it working. (Ubuntu 16.04 64bit)
ssh into your droplet
Update your shit
SHELL = /bin/bash | |
WORKDIR = /vagrant | |
PSQL = sudo -u postgres psql | |
DBNAME = changeme | |
DBUSER = changeme_user | |
DBPASS = secret | |
db/console: | |
$(PSQL) $(DBNAME) |
#!/bin/bash | |
# tunejack.sh uses the TuneIn public API (at opml.radiotime.com) to search for | |
# a radio station, print out its details and try to play it somehow. | |
if [ "$#" -eq 0 ]; then | |
echo "$0: search for a radio station using the TuneIn API" | |
echo "Usage: $0 PATTERN" | |
exit 1 | |
fi |