Skip to content

Instantly share code, notes, and snippets.

View abinashmeher999's full-sized avatar
🤓
Don't mind me, just browsing

Abinash Meher abinashmeher999

🤓
Don't mind me, just browsing
  • Autonomous Ground Vehicle Research Group
  • Kharagpur, India
View GitHub Profile
@abinashmeher999
abinashmeher999 / error.txt
Created May 19, 2016 06:25
Error on doing `hdfs dfs -ls`
16/05/18 23:19:48 WARN security.UserGroupInformation: PriviledgedActionException as:sys_bio_matching (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
16/05/18 23:19:48 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
16/05/18 23:19:48 WARN security.UserGroupInformation: PriviledgedActionException as:sys_bio_matching (auth:KERBEROS) cause:java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
16/05/18 23:19:48 WARN security.UserGroupInformation: PriviledgedActionException as:sys_bio_matching (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Ca
@abinashmeher999
abinashmeher999 / competitive_snippets
Last active August 12, 2016 15:36
Collection of the common functions that I used during practice for competitive coding
A collection of implementations of the problems that I did during competitive coding.
@abinashmeher999
abinashmeher999 / unicode2mathjax.py
Last active February 8, 2017 11:33
Converts mathematical equations in unicode to MathJax.
#!/bin/python3
import sys
texmap ={
u'α': r'\alpha ',
u'β': r'\beta ',
u'λ': r'\lambda ',
u'{': r'\{',
u'}': r'\}',
u'×': r'\times',
var cards_list = document.getElementsByClassName("memory-game-inner")[0];
ob = {};
delay = 0;
for (let item of cards_list.childNodes) {
if (item.tagName == 'DIV') {
console.log(item)
let id = item.firstChild.firstChild.firstChild.getAttribute('src').slice(34);
if (id in ob) {
(function (id, delay, item) {
setTimeout(function () { console.log(id); ob[id].firstChild.firstChild.click(); item.firstChild.firstChild.click(); }, delay);

Keybase proof

I hereby claim:

  • I am abinashmeher999 on github.
  • I am abinashmeher (https://keybase.io/abinashmeher) on keybase.
  • I have a public key ASCRsaqKcSKME2ShDus9_upsBtsRjdIrsGVH7q7mREHo3Qo

To claim this, I am signing this object:

@abinashmeher999
abinashmeher999 / githubstatus.py
Created March 21, 2018 11:18 — forked from minimal/githubstatus.py
set github commit status from command line
import logging
import json
import argparse
import requests
github_base = "https://api.github.com"
github_status_url = github_base + "/repos/{repo_name}/statuses/{sha}?access_token={token}"
token = ''