Basic HTML5 starter template with HTML5 Shiv for older IE browsers.
HTML
<!doctype html>
<html lang="en">
#!/bin/sh | |
# Copyright (C) 2009-2017 Three Nine Consulting | |
# Always good practice to update packages. However ask user if they would like to do so | |
# For explanation on how this works and why check out https://garywoodfine.com/use-pbcopy-on-ubuntu/ | |
read -p "Do you want to update your package repositories before proceeding ? " -n 1 -r | |
echo #adding new line | |
if [[ $REPLY =~ ^[Yy]$ ]] | |
then | |
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y | |
fi |
<?php | |
/** | |
* Intellimage | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://www.opensource.org/licenses/osl-3.0.php |
update table_name set field_name = replace(field, 'search_string', 'replace_string') where instr(field_name, 'search_string') > 0; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
# Never save database creditentials in your repo. Keep a dummy copy with a different name eg "local.xml.dev" | |
app/etc/local.xml | |
downloader | |
# If you'd like to keep the downloader, use the following instead: | |
# downloader/.cache | |
# downloader/cache.cfg | |
# downloader/connect.cfg | |
# All of the var folders can be excluded. |
diff -qrbB magento_folder client_folder |
REM These commands allow you to dump a mysql database or import a database that is too large to be uploaded via PHPmyAdmin. | |
REM If importing, you should put your .sql file in your mysql bin dir ( for wamp: C:\wamp\bin\mysql\mysql15.5.20\bin\ ) | |
REM If exporting, the mysql bin dir is where the exported file will show up. | |
REM export a mysql database | |
REM wamp's username is root, does not have a password | |
mysqldump -u username -p password(optional) databasename > databasename.sql | |
REM import a mysql database | |
mysql -u username -ppassword databasename < databasename.sql |
A little lookup for commands I use frequently
git commit -a -m "My commit"
git add .