A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] |
| 1) get the latest code from the remote: | |
| git fetch origin | |
| 2) check out the branch you would like to squash | |
| git checkout task/user-add-feature | |
| 3) make sure your local copy is the same as the remote | |
| git pull origin | |
| 4) make sure you have all the commits from the branch you split off from |
| /*================================================== | |
| = Bootstrap 3 Media Queries = | |
| ==================================================*/ | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| } |
| public static void mysqlinserttest() throws SQLException{ | |
| Connection c = DB.getConnection(); | |
| c.setAutoCommit(false); | |
| String insertTableSQL = "INSERT INTO test" | |
| + "(email , phone) VALUES" | |
| + "(?,?)"; | |
| PreparedStatement preparedStatement = c.prepareStatement(insertTableSQL); | |
| for (int i =0; i<50000; i++) { | |
| preparedStatement.setString(1, "email"+i); | |
| preparedStatement.setString(2, "00000000"+i); |
| <?php | |
| require_once 'swift/lib/swift_required.php'; | |
| // Create the Transport | |
| $transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 465, "ssl") | |
| ->setUsername('gmailusername') | |
| ->setPassword('XXXXXXXXXX') | |
| ; |
| package com.jdbc; | |
| import java.sql.Connection; | |
| import java.sql.DriverManager; | |
| import java.sql.SQLException; | |
| import java.util.ArrayList; | |
| public class connector { | |
| private static Connection conn=null; | |
| RewriteEngine on | |
| RewriteCond $1 !^(index\.php|images|css|robots\.txt) | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-l | |
| RewriteRule ^(.*)$ index.php/$1 [L] |