This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update {table_name} set {column} = replace({column}, ‘{text to replace}’, ‘{replace with}’) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<!-- Seems to be a good standard...but whatever--> | |
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1.0, user-scalable=no"> | |
<title>Panelfly - Home</title> | |
<meta name="author" content="#Big Pun" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update sample_table_name set data = replace(data, ‘jpg ’, ‘jpg’) | |
-- | |
update {table_name} set {column} = replace({column}, ‘{text to replace}’, ‘{replace with}’) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Determine User Status and Change Content based on login | |
*/ | |
get_currentuserinfo(); | |
global $user_ID, $user_login; | |
//Not Logged In go where ever |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terminal for Designers | |
CD ( move around directories ) | |
ex. move to - cd desktop | |
ex. backout - cd .. | |
=== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Cut some images?</h1> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@baseline: 6px; | |
@baseline_x2: @baseline * 2; | |
@baseline_x3: @baseline * 3; | |
@baseline_x4: @baseline * 4; | |
@baseline_x6: @baseline * 6; | |
@baseline_x8: @baseline * 8; | |
@baseline_x10: @baseline * 10; | |
@baseline_x12: @baseline * 12; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$to = '[email protected]'; | |
$name = 'Clinton Halpin'; | |
$subject = 'Purchase Successful!'; | |
$message = '<html><head><title>Purchase Successful!</title></head><body><h1>' . $name . '</h1></body></html>'; | |
$headers = 'MIME-Version: 1.0' . "\r\n"; | |
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongo = require('mongodb'); | |
var Server = mongo.Server, | |
Db = mongo.Db, | |
BSON = mongo.BSONPure; | |
var server = new Server('localhost', 27017, {auto_reconnect: true}); | |
db = new Db('itemsdb', server, {safe: true}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongo = require('mongodb'); | |
var Server = mongo.Server, | |
Db = mongo.Db, | |
BSON = mongo.BSONPure; | |
var server = new Server('localhost', 27017, {auto_reconnect: true}); | |
db = new Db('itemsdb', server, {safe: true}); |
OlderNewer