If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
/* Remove menus from the WordPress dashboard*/ | |
function wpdocs_remove_menus() { | |
remove_menu_page('index.php'); //Dashboard | |
remove_menu_page('edit.php'); //Posts | |
remove_menu_page('upload.php'); //Media | |
remove_menu_page('edit.php?post_type=page'); //Pages | |
remove_menu_page('edit-comments.php'); //Comments | |
remove_menu_page('themes.php'); //Appearance | |
remove_menu_page('plugins.php'); //Plugins | |
remove_menu_page('users.php'); //Users |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
I hereby claim:
To claim this, I am signing this object: