This file contains 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" ng-app="anim"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test page</title> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js"></script> | |
<script> | |
var anim = angular.module('anim', []); | |
anim.controller('MainCtrl', ['$scope', function ($scope) { |
This file contains 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
<div class="example-class<?php echo ($xyz++%2); ?>"> |
This file contains 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
function getTweets($hash_tag) { | |
$url = 'http://search.twitter.com/search.atom?q='.urlencode($hash_tag) ; | |
echo "<p>Connecting to <strong>$url</strong> ...</p>"; | |
$ch = curl_init($url); | |
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE); | |
$xml = curl_exec ($ch); | |
curl_close ($ch); | |
//If you want to see the response from Twitter, uncomment this next part out: |
NewerOlder