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 / 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 = ''

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:

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);
@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',
@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 / 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
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's repl log4j profile: org/apache/spark/log4j-defaults-repl.properties
To adjust logging level use sc.setLogLevel("INFO")
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 1.6.1
03a3801c9a814014809ff8ee79f34550dcd680880191807bf0f79860511240df3c0faaa328b2fafc811f74f586f3ef6f5c804103ff932feb747ecae8ffbc2f5f6a982f0f6c40f7f1effa0767fb99ab14df90331d1e8fbc2403987f0abc9f9341c03293974af63bccd6b03fff729f211f7f28cdf9e3790f1710c030149e33fffe82ff60404a74edc41a9e4f0039030e88bfffa676830c023d9784385a3400cc2f1b1bc09460571c20ec937f4c1d89f0c73fdb62f34efc8a8216727f00e3006304360201d683d43167b9214ee09121c026ec5e6c9cdf25f7ff8bff407fe8d0be7139fffe833f25f6871a60d82dfcff80bcf7689d135384be1c09087f970e8012eb8978deff8190fe8020b9efafeafee03d6071dfb09b3ac2ae7f371d47ecff871d580fdf69460139f4aa89255ea829021b026fb35980bf03ad5a020008ee5d853fb3ff8a89c79f80633f00ff00ff602e4080405e00a30058df5b512c7d922f7f7a9528ff0f30a1ff62fe5947ff83917fc48142203f3fdf3bfffdd77b000001fe50203d53750812fcfc40ff14bbffbdff9524020000ff70276e0eba21d05b6340ba4046debeff4d44030b241c011f84000000fcf97f371ec0d8ffbfff4ca7200120cbba24dfa05087010407812d1b4a489eeec1030a384f87ffffff70ab20fd271712719fe9a816fa6cac003c341ae4370c951f6ff726062065fedfb1df910e929f
@abinashmeher999
abinashmeher999 / travis_osx_symenginerb
Created February 19, 2016 16:23
Complete log for symengine.rb#18
travis_fold:start:worker_info
Worker information
hostname: worker-jupiter-brain:5119659d-8b39-4b7e-b84b-9e5c9cac4c9b
version: v2.0.0 https://github.com/travis-ci/worker/tree/ca6cb0c5d3920912b1c3acc87c44a5da2120a971
instance: 1833e342-3a43-4e48-9326-0b6a71e9bedc:
startup: 1m14.533895312s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information