Skip to content

Instantly share code, notes, and snippets.

View AlFalahTaieb's full-sized avatar
🎯
Focusing

Taieb AlFalahTaieb

🎯
Focusing
View GitHub Profile
@AlFalahTaieb
AlFalahTaieb / wificonnect.py
Created February 4, 2020 09:13
WifiConnect
import subprocess
from shlex import split
from getpass import getpass
from shutil import which
from sys import exit
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
@AlFalahTaieb
AlFalahTaieb / README.md
Last active December 6, 2019 09:54
Learning For Senior Jay
[
{
"ID": 1,
"Name": "Tokyo Intl",
"city": "Tokyo",
"state": "Japan",
"IATA/FAA": "HND",
"ICAO": "RJTT",
"Latitude": 35.552258,
"Longitude": 139.779694,
@AlFalahTaieb
AlFalahTaieb / threePipeDemo.c
Created May 15, 2017 14:48 — forked from mplewis/threePipeDemo.c
Here's an example of how to pipe three commands together using C. This one uses `ps aux | grep root | grep sbin`. This topic is horribly documented online so hopefully this'll help someone else out.
// This program is an example of how to run a command such as
// ps aux | grep root | grep sbin
// using C and Unix.
#include <stdlib.h>
#include <unistd.h>
int pid;
int pipe1[2];
int pipe2[2];
@AlFalahTaieb
AlFalahTaieb / add-location.html
Last active April 17, 2017 20:31
add-location.ts
<a [routerLink]="['/locations']">Back</a>
<br />
<h2 class="page-header">Add Location</h2>
<sebm-google-map [latitude]="latitude" [longitude]="ongitude">
<sebm-google-map-marker [latitude]="latitude" [longitude]="longitude"></sebm-google-map-marker>