Skip to content

Instantly share code, notes, and snippets.

View codebycliff's full-sized avatar

Cliff Braton codebycliff

View GitHub Profile
@codebycliff
codebycliff / ApacheWordPressSites.md
Created March 25, 2021 17:44 — forked from zachwright/ApacheWordPressSites.md
Setting up Apache WordPress Sites

Apache Server WordPress Sites

Things to remember when setting up a WordPress site on an Apache server

First add url to hosts

/etc/hosts add local url to 127.0.0.1

Second add virtual host

/etc/apache2/extra/httpd-vhosts.conf add vhost config for site - If Wordpress/bedrock the path needs to be the projectfolder/web

@codebycliff
codebycliff / cloudSettings
Created May 10, 2019 18:57 — forked from tegandbiscuits/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-04-03T15:00:53.348Z","extensionVersion":"v3.2.7"}
@codebycliff
codebycliff / Rakefile
Created January 27, 2017 17:07 — forked from zach-taylor/Rakefile
Rake script to migrate all repos from Bitbucket org to Github org
# gem install bitbucket_rest_api
# gem install octokit
require 'bitbucket_rest_api'
require 'octokit'
task :migrate do
bitbucket = BitBucket.new login: '', password: ''
bitbucket_owner = ''
github = Octokit::Client.new login: '', password: ''
github_org = ''
package com.xxx.xxx.preference;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import android.content.Context;
import android.content.res.TypedArray;
@rem Do not use "echo off" to not affect any child calls.
@setlocal
@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH%
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%