Skip to content

Instantly share code, notes, and snippets.

View iamareebjamal's full-sized avatar
🌐
Existing

Areeb Jamal iamareebjamal

🌐
Existing
View GitHub Profile
import Controller from '@ember/controller';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
@tracked
checked = true;
@tracked
loading = false;
[
{
"name": "Organizer Frontend",
"slug": "organizer-frontend",
"repo": "https://github.com/fossasia/open-event-frontend.git",
"branch": "development",
"filemask": "translations/*.po",
"template": "",
"new_base": "translations/messages.pot",
"file_format": "po",

Keybase proof

I hereby claim:

  • I am iamareebjamal on github.
  • I am iamareebjamal (https://keybase.io/iamareebjamal) on keybase.
  • I have a public key ASCtQ6WP-zzpvpvZmBGok0Kh3xfutciUFvVNPzhXPB47iAo

To claim this, I am signing this object:

@iamareebjamal
iamareebjamal / Inertia.ipynb
Last active September 25, 2018 16:24
Rotation Matrices
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamareebjamal
iamareebjamal / curve_fitting.ipynb
Last active August 31, 2018 20:02
Least Square Non Linear
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamareebjamal
iamareebjamal / redis-quickstart.sh
Created March 16, 2018 15:54
Redis Quickstart
#!/bin/bash
echo "$(tput setaf 6)$(tput bold)○ Checking Redis...$(tput sgr0)"
# Check if Redis CLI is present
if ! [ -x "$(command -v redis-cli)" ]; then
# If not, provide users an option to download
echo " $(tput setaf 3)$(tput bold)• Redis is not installed or on the path$(tput sgr0)"
read -p " Do you want to install it? $(tput dim)(Y/N)$(tput sgr 0) " prompt
if [[ $prompt =~ [yY] ]]; then
# Check if tools required to download and install redis are present
import time
import hashlib
class Block:
def __init__(self, index, data, previous_hash=None):
self.index = index
self.data = data
self.previous_hash = previous_hash
self.timestamp = time.time()
@iamareebjamal
iamareebjamal / GSoC2017_Report_iamareebjamal.md
Last active March 28, 2019 12:21
Final Project Report for GSoC 2017 - iamareebjamal

GSoC 2017 Open Event Orga App, Areeb Jamal - FOSSASIA

This GSoC, I worked on Open Event Orga App where we created Android client for the Open Event Orga API for event management. The app allows organizers to sign up and log in, view sale analytics, scan QR code and check in attendees, manage and create tickets.

The app also contains following features:

  • Sales overview with graphs
  • More fluent QR scan workflow
  • Background job scheduling for offline support
  • Event and Organizer Info
  • Uniform and modern material look
#include <iostream>
#include <stdio.h>
#include <sys/stat.h>
#include "socketreceiver.h"
using namespace std;
int file_exists(string filename) {
struct stat buffer;
return (stat (filename.c_str(), &buffer) == 0);
@iamareebjamal
iamareebjamal / basic_server.js
Last active January 16, 2017 20:39
Basic Node Server to capture images and display in multipart using boundary
/* Node Server
* Captures image and displays them using multipart and boundary headers
* 16th Jan 2016
* Author : Areeb Jamal, Rahul Jha
*/
var fs = require('fs'),
http = require('http'),
express = require('express'),
NodeWebcam = require("node-webcam");