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
import urllib2 | |
import json | |
screen_name = "KenyaGeek " | |
screen = raw_input("Which tweet do you want to search?") | |
url = "http://api.twitter.com/1/statuses/kenyageek.json?screeen_name" + screen_name | |
data = json.load(urllib2.urlopen(url)) |
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 | |
date_default_timezone_set('Africa/Nairobi'); | |
// set up db connection | |
include("connection.php") | |
$TenantTransactionId = $_GET["TransactionType"]; | |
$SESSIONID = $_GET["SESSIONID"]; | |
$SERVICECODE = $_GET["SERVICECODE"]; | |
$ApplicationID = $_GET["ApplicationID"]; | |
$USSD_string = $_GET["USSD_string"]; |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#define MAX 6 | |
int intArray[MAX]; | |
int front = 0; | |
int rear = -1; |
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
<div class="w3-container"> | |
<div class="w3-container w3-third w3-center w3-padding w3-margin-top"> | |
<audio controls="controls" id="audio"></audio> | |
</div> | |
<div class="w3-container w3-third w3-center w3-padding w3-margin-top"> | |
<input type="file" id="inputFile" onchange="checkAndPlayFiles(this.files)" /> | |
</div> | |
<div class="w3-btn w3-red w3-hover-purple w3-padding w3-margin-top w3-container w3-round-large" id="openControls"> | |
Show Controls | |
</div> |