Skip to content

Instantly share code, notes, and snippets.

View moinuddin14's full-sized avatar
🎯
Focusing

Khaja Moinuddin Mohammed moinuddin14

🎯
Focusing
  • Hyderabad, INDIA
View GitHub Profile
:set number
:set relativenumber
:set autoindent
:set tabstop=4
:set shiftwidth=4
:set smarttab
:set softtabstop=4
:set mouse=a
" :set colorscheme=jellybeans
@moinuddin14
moinuddin14 / bumpme
Last active May 17, 2021 11:35
bumpme concourse tutorial
Mon May 17 11:34:51 UTC 2021
namespace quantum_console_demo
{
open Microsoft.Quantum.Canon;
open Microsoft.Quantum.Intrinsic;
operation HelloQ () : Unit {
Message("Hello quantum world!");
mutable zeroCount = 0;
mutable oneCount = 0;
@moinuddin14
moinuddin14 / Edition101_AI_For_Selenium.java
Created December 23, 2019 08:01
Selenium AI with Test AI Classifier
import ai.test.classifier_client.ClassifierClient;
import org.hamcrest.collection.IsCollectionWithSize;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.remote.RemoteWebDriver;
@moinuddin14
moinuddin14 / AbstractMultiSig.sol
Created July 13, 2018 12:22
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.20;
interface AbstractMultiSig {
/*
* This function should return the onwer of this contract or whoever you
* want to receive the Gyaan Tokens reward if it's coded correctly.
*/
function owner() external returns(address);
@moinuddin14
moinuddin14 / connect.ps1
Created July 14, 2017 15:00 — forked from jdforsythe/connect.ps1
Remote Desktop Auto Login Powershell Script
echo "Connecting to 192.168.1.100"
$Server="192.168.1.100"
$User="Administrator"
$Password="AdminPassword"
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
mstsc /v:$Server
@moinuddin14
moinuddin14 / package.json
Created June 6, 2017 07:26
Package.json for protractor
{
"name": "ProtractorAutomation",
"version": "0.0.0",
"description": "Automating the AngularJs app with the help of ProtactorJs",
"main": "app.js",
"author": {
"name": "Khaja Mohammed",
},
"dependencies": {
"protractor": "5.1.2"
@moinuddin14
moinuddin14 / ReadAllCells
Created April 7, 2017 06:42
Read all values from excel spreadsheet
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Iterator;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<!--
ExtentReports Library 2.41.1 | http://relevantcodes.com/extentreports-for-selenium/ | https://github.com/anshooarora/
Copyright (c) 2015, Anshoo Arora (Relevant Codes) | Copyrights licensed under the New BSD License | http://opensource.org/licenses/BSD-3-Clause
Documentation: http://extentreports.relevantcodes.com
-->
import json
from os.path import exists
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.common.exceptions import TimeoutException
class GoogleGroupsScraper(object):
""" A simple class to scrape a google group. """