Skip to content

Instantly share code, notes, and snippets.

View aliirz's full-sized avatar
🦄
People over Processes

Ali Raza aliirz

🦄
People over Processes
View GitHub Profile
@aliirz
aliirz / gesturercog.py
Created January 21, 2024 11:52
Gesture Recognition
import cv2
import mediapipe as mp
# Initialize MediaPipe Hands model
mp_hands = mp.solutions.hands
hands = mp_hands.Hands()
# Initialize MediaPipe drawing utilities
mp_drawing = mp.solutions.drawing_utils
@aliirz
aliirz / Outputs.md
Created March 29, 2023 17:20
CFP Engineering Team Outputs

Engineer Team March End Outputs

Ali Raza

  1. Began requirement analysis for the HCAI app’s second phase. Secured $10,000 in funding from WHO for sustaining the development.
  2. Worked on the Volunteer Landing Page copy and design and got it approved by Comms and Design.
  3. Defined and locked the scope of work for the TDEA Ushahidi deployment project.
  4. Couple of videos and a blog post for the 10th-anniversary campaign

Mubassir Hayat

  1. Submitted the GSMA proposal
@aliirz
aliirz / tictactoe.py
Created March 10, 2019 08:24 — forked from eaorak/tictactoe.py
Python - TicTacToe Game
#!/usr/bin/python3
# Simple TicTacToe game in Python - EAO
import random
import sys
board=[i for i in range(0,9)]
player, computer = '',''
# Corners, Center and Others, respectively
moves=((1,7,3,9),(5,),(2,4,6,8))

Keybase proof

I hereby claim:

  • I am aliirz on github.
  • I am aliirz (https://keybase.io/aliirz) on keybase.
  • I have a public key ASBNpWCSOobhTpV9CD-Koi73HaitF2F4hRhwOcACKEY1ygo

To claim this, I am signing this object:

CREATE TABLE [cauto].[MemberList]
(
[MemberNo] [varchar](10) NOT NULL DEFAULT (space((0))),
[FirstName] [varchar](30) NOT NULL DEFAULT (space((0))),
[LastName] [varchar](30) NOT NULL DEFAULT (space((0))),
[AddressLine1] [varchar](60) NOT NULL DEFAULT (space((0))),
[AddressLine2] [varchar](60) NOT NULL DEFAULT (space((0))),
[City] [varchar](60) NOT NULL DEFAULT (space((0))),
[StateCode] [varchar](5) NOT NULL DEFAULT (space((0))),
[PostalCode] [varchar](10) NOT NULL DEFAULT (space((0))),
@aliirz
aliirz / Changelog.md
Created September 26, 2016 08:18
hpc_service_Changelog.md

[Current]

  • 600cd52 - (Simon) Make sure the version ID gets taken into consideration for report details and flow objects
  • 6a22b03 - (Simon) Style fixes in activity controller
  • 60c47d6 - (Tim Martin) Merged in feature/OCT-logic-changes (pull request #723)

OCT logic changes

  • 978497e - (Tim Martin) Merged in bug/HPC-2408-duplicate-categories (pull request #722)
[
{
"OrderID": 10124710,
"ConfirmationNumber": 10124710,
"TourType": "daytour",
"BookingNotes": "|SA| N3 $50 dep",
"ArrivalDateTime": "May 8 2016 3:00PM",
"DepartureDateTime": "May 8 2016 3:00PM",
"CamperFullname": "John McCoy",
"CamperLastname": "McCoy",
@aliirz
aliirz / main.js
Created January 12, 2015 04:52
Backgrid cell highlight
if (this.question_meta.get('correct_prefix') ===
correct_answer.get(
'response').prefix) {
this.$el.addClass('correct_td');
}
else {
this.$el.removeClass('correct_td');
}
this.$el.text(selected);
this.delegateEvents();
def create_uuid(prefix=nil)
time = (Time.now.to_f * 10_000_000).to_i
jitter = rand(10_000_000)
key = "#{jitter}#{time}".to_i.to_s(36)
[prefix, key].compact.join('_')
end
class SmileApi
require 'uri'
def get_session
user_name = "username here"
password = "password here"
data = File.read("http://api.smilesn.com/session?username="+username+"&password="+password)
data=JSON.parse(data)
sessionid=data.sessionid
file2 = File.open('session.txt', 'w')