Skip to content

Instantly share code, notes, and snippets.

View AsciencioAlex's full-sized avatar
💭
Coding

Alex Asciencio Ayekha AsciencioAlex

💭
Coding
View GitHub Profile
@AsciencioAlex
AsciencioAlex / index.html
Created June 24, 2022 07:59
Music Visualizer Using WebAudio And P5.JS
<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>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#define MAX 6
int intArray[MAX];
int front = 0;
int rear = -1;
<?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"];
@AsciencioAlex
AsciencioAlex / Twitter_Retriever
Created June 12, 2017 08:55
simple codes to retrieve your tweets. Written in Python
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))