Skip to content

Instantly share code, notes, and snippets.

muhammed basil muhammedbasilsk

Block or report user

Report or block muhammedbasilsk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@muhammedbasilsk
muhammedbasilsk / setup_lambda_for_oracle_rds.sh
Created Apr 3, 2019 — forked from niranjv/setup_lambda_for_oracle_rds.sh
Setup virtualenv to access Oracle RDS from AWS Lambda
View setup_lambda_for_oracle_rds.sh
# This script allows Python functions in AWS Lambda to query an Oracle RDS instance
# It is meant to run on an EC2 instance running Amazon Linux
# The script has been tested successfully on a t2.micro EC2 instance (Root device type: ebs; Virtualization type: hvm)
# running Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type - ami-c58c1dd3
# and was developed with the help of AWS Support
# Steps:
# - install Oracle Instant Client
# - create virtualenv
@muhammedbasilsk
muhammedbasilsk / read_meta_data.py
Last active Jul 10, 2019 — forked from jineshpaloor/read_meta_data.py
python program to read a url and extract its meta tags
View read_meta_data.py
from BeautifulSoup import BeautifulSoup
import requests
def extract_meta(url):
r = requests.get(url)
print(dir(r))
soup = BeautifulSoup(r.text)
@muhammedbasilsk
muhammedbasilsk / LICENSE.txt
Created Jul 26, 2018 — forked from jed/LICENSE.txt
generate random UUIDs
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@muhammedbasilsk
muhammedbasilsk / LinkedList.py
Created Sep 24, 2017
Linked list implementation in python
View LinkedList.py
class Node(object):
def __init__(self, data):
self.data = data;
self.nextNode = None;
class LinkedList(object):
View json_encode_unicode.php
<?php
$data = (object)array(
"html" => "<foo bar=\"baz\"/> &amp;",
"arabic" => "العربية al-ʿarabiyyah, IPA: [æl ʕɑrɑˈbijjɐ], or عربي ʿarabī",
"hebrew" => "עִבְרִית, Ivrit",
"chinese" => "汉语/漢語 Hanyu; 华语/華語 Huáyǔ; 中文 Zhōngwén",
"korean" => "한국어/조선말",
"japanese" => "日本語 Nihongo",
"umlauts" => "äüöãáàß",
You can’t perform that action at this time.