Skip to content

Instantly share code, notes, and snippets.

View danichim's full-sized avatar

Dan Ichim danichim

View GitHub Profile
#Create a new user account via FTP:
1. Open FTP client and connect to your account
2. Navigate to wp-content/themes
3. Open the folder of the theme you are using
4. Search for functions.php file and edit it
5. Copy and paste the following function:
function admin_account(){
$user = 'Username';
$pass = 'Password';
export TERM=xterm-256color
# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#!/bin/bash
#Install files on a fresh OS
#Everything will be up to date
sudo apt-get update
sudo apt-get upgrade
#Stuff!
sudo apt-get install git zsh vim curl nodejs vim-nox