#Fix Corrupted Tables on WP using DesktopServer
####Get full permissions
$ cd /Applications/XAMPP/xamppfiles/var/mysql/<<DATABASE NAME>>/
$ chmod -R 777 .
####Fix each reportedly broken table (do this once for each broken table):
#Fix Corrupted Tables on WP using DesktopServer
####Get full permissions
$ cd /Applications/XAMPP/xamppfiles/var/mysql/<<DATABASE NAME>>/
$ chmod -R 777 .
####Fix each reportedly broken table (do this once for each broken table):
App.accessRule('*'); |
var lat, | |
lng; | |
$(document).ready(function(){ | |
getLocation(); | |
var mapOptions = { | |
center: new google.maps.LatLng(lat, lng), | |
zoom: 8, | |
mapTypeId: google.maps.MapTypeId.ROADMAP |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
# db/migrate/filename.rb | |
# generate with >> rails g model image alt:string hint:string file:string | |
class CreateImages < ActiveRecord::Migration[5.0] | |
def change | |
create_table :images do |t| | |
t.string :alt | |
t.string :hint | |
t.string :file |
<!-- https --> | |
<div class="tidal-embed" data-type="v" data-id="56799242"></div> | |
<script src="https://embed.tidal.com/tidal-embed.js"></script> | |
<!-- http --> | |
<div class="tidal-embed" data-type="v" data-id="56799242"></div> | |
<script src="http://embed.tidal.com/tidal-embed.js"></script> |
<img src="http://directdevelopmentpr.com/wp-content/uploads/2015/12/blank.gif" data-src="http://directdevelopmentpr.com/wp-content/uploads/2015/09/Services-Timeline.gif" width="100%" height="auto" class="lazy" style="max-width: 1200px;"> |
#lazyload.js (c) Lorenzo Giuliani MIT License (http://www.opensource.org/licenses/mit-license.html) expects a list of:
<img src="blank.gif" data-src="my_image.png" width="600" height="400" class="lazy">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Untitled Document</title> | |
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | |
<style> | |
.my-portfolio{ |
[ | |
{ | |
"class": "sidebar_container", | |
"layer0.tint": [60, 60, 60], | |
"layer0.opacity": 1.0, | |
"layer0.draw_center": false, | |
"layer0.inner_margin": [0, 0, 1, 0], | |
"content_margin": [0, 0, 1, 0] | |
}, | |
{ |