HTML
<!-- Main Sidebar start--> <aside class="main-sidebar pinned"> </aside> <!-- Main Sidebar end--> <!-- Header start--> <header> </header> <!-- Header end--> <!-- Work Here start--> <section class="wrapper"> <div class="page-header clearfix"> </div> <div class="main-content container-fluid"> <div class="row"> <div class="col-lg-12"> </div> </div> </div> </section> <!-- Work Here end--> <!-- Right Sidebar start--> <aside class="right-sidebar closed"> </aside> <aside class="conversation closed"> </aside> <!-- Right Sidebar end--> <!-- Demo Settings start--> <div class="setting closed"> </div> <!-- Demo Settings end-->
Javascript
function showPlayer() { // stop the ripples and note animations stopListening(); // morph the listening button shape // into the audio player shape // we are setting a timeout so that there's // a small delay (it looks nicer) setTimeout(function() { animatePath(shzPathEl, shzEl.getAttribute('data-path-player'), 450, [0.7, 0, 0.3, 1], function() { // show audio player classie.remove(playerEl, 'player--hidden'); }); // hide button classie.add(shzCtrl, 'button--hidden'); }, 250); // remove this class so the button content/text gets hidden classie.remove(shzCtrl, 'button--listen'); }
Visual Basic
Dim studentname As String Dim intMsg As String Private Sub Command1_Click() ‘To read the file Text1.Text = "" Dim variable1 As String On Error GoTo file_error Open "D:\Liew Folder\sample.txt" For Input As #1 Do Input #1, variable1 Text1.Text = Text1.Text & variable1 & vbCrLf Loop While Not EOF(1) Close #1 Exit Sub file_error: MsgBox (Err.Description) End Sub Private Sub Command2_Click() ‘To delete the file On Error GoTo delete_error Kill "D:\Liew Folder\sample.txt" Exit Sub delete_error: MsgBox (Err.Description) End Sub - See more at: http://www.vbtutor.net/vb_sample/dbase1.htm#sthash.Y3GuCNk8.dpuf
XML
<?xml version="1.0"?> <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> <ORACLE> select * from scott.dept; </ORACLE> </CD> <CD> <TITLE>Hide your heart</TITLE> <ARTIST>Bonnie Tyler</ARTIST> <COUNTRY>UK</COUNTRY> <COMPANY>CBS Records</COMPANY> <PRICE>9.90</PRICE> <YEAR>1988</YEAR> </CD> <CD> <TITLE>Greatest Hits</TITLE> <ARTIST>Dolly Parton</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>RCA</COMPANY> <PRICE>9.90</PRICE> <YEAR>1982</YEAR> <ORACLE> begin htp.p('This is the test data'); end; </ORACLE> </CATALOG>
CSS
.button-content-start { top: 0; left: 0; width: 100%; padding: 1.2em; text-indent: 1px; letter-spacing: 1px; -webkit-transform: translate3d(0, -25px, 0); transform: translate3d(0, -25px, 0); -webkit-transition-timing-function: cubic-bezier(0.8, -0.6, 0.2, 1); transition-timing-function: cubic-bezier(0.8, -0.6, 0.2, 1); } .button-content-listen { font-size: 1.75em; line-height: 64px; bottom: 0; left: 50%; width: 60px; height: 60px; margin: 0 0 0 -30px; border-radius: 50%; -webkit-transform: translate3d(0, 25px, 0); transform: translate3d(0, 25px, 0); -webkit-transition-timing-function: cubic-bezier(0.8, 0, 0.2, 1); transition-timing-function: cubic-bezier(0.8, 0, 0.2, 1); }
Less
// Customize styles // ------------------------- .dot { width: @dot-size; height: @dot-size; border-radius: 50%; &:before { content: ""; position: absolute; top: -(@scale-dot-size / 2 - @dot-size / 2); left: -(@scale-dot-size / 2 - @dot-size / 2); width: @scale-dot-size; height: @scale-dot-size; border-radius: 50%; border-width: 3px; border-style: solid; .animation(scaling 2s ease-out infinite); } }
SQL
CREATE DATABASE my_db; CREATE TABLE Persons ( PersonID int, LastName varchar(255), FirstName varchar(255), Address varchar(255), City varchar(255) ); INSERT INTO Customers (CustomerName, City, Country) VALUES ('Cardinal', 'Stavanger', 'Norway'); SELECT * FROM Customers WHERE Country='Mexico'; UPDATE Customers SET ContactName='Alfred Schmidt', City='Hamburg' WHERE CustomerName='Alfreds Futterkiste'; DELETE FROM Customers WHERE CustomerName='Alfreds Futterkiste' AND ContactName='Maria Anders';
PHP
<?php /* * T_ML_COMMENT does not exist in PHP 5. * The following three lines define it in order to * preserve backwards compatibility. * * The next two lines define the PHP 5 only T_DOC_COMMENT, * which we will mask as T_ML_COMMENT for PHP 4. */ if (!defined('T_ML_COMMENT')) { define('T_ML_COMMENT', T_COMMENT); } else { define('T_DOC_COMMENT', T_ML_COMMENT); } $source = file_get_contents('example.php'); $tokens = token_get_all($source); foreach ($tokens as $token) { if (is_string($token)) { // simple 1-character token echo $token; } else { // token array list($id, $text) = $token; switch ($id) { case T_COMMENT: case T_ML_COMMENT: // we've defined this case T_DOC_COMMENT: // and this // no action on comments break; default: // anything else -> output "as is" echo $text; break; } } } ?>