Skip to content

Instantly share code, notes, and snippets.

:bowtie:

Akshay Raj Gollahalli akshaybabloo

:bowtie:
Block or report user

Report or block akshaybabloo

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
View npm.log
C:\Users\aksha>npm uninstall -g -dd @angular/cli
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Users\\aksha\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'uninstall',
npm verb cli '-g',
npm verb cli '-dd',
npm verb cli '@angular/cli' ]
npm info using npm@5.6.0
npm info using node@v8.9.2
View npm-log.md
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\aksha\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '--save',
1 verbose cli   'bootstrap' ]
2 info using npm@5.4.1
3 info using node@v8.4.0
4 verbose npm-session c46d0853e073c04d
@akshaybabloo
akshaybabloo / kedri_form_submission_parser.py
Last active Aug 10, 2017
NeuCube form submission XML parser
View kedri_form_submission_parser.py
import xmltodict
import pandas as pd
import dateutil.parser
def format_date(dt):
"""
Formats DateTTime to D-M-Y.
Parameters
View keybase.md

Keybase proof

I hereby claim:

  • I am akshaybabloo on github.
  • I am akshaybabloo (https://keybase.io/akshaybabloo) on keybase.
  • I have a public key whose fingerprint is 401E BABE F7D5 5278 74CF 94A6 A572 F782 BCFB BE35

To claim this, I am signing this object:

View my_content.json
{
"publication": {
"abstract": [
"Gollahalli, A. R., &amp; Kasabov, N. (2015). EEGRotor: A virtual Quad-Copter based on Brain Computer Interface. presented at the meeting of the 13<sup>th</sup> International Conference on Neuro-Computing and Evolving Intelligence 2015 (NCEI ‘15) Auckland. Retrieved from http://www.aut.ac.nz/__data/assets/pdf_file/0018/525051/Booklet-NCEI15.pdf"
],
"poster": [
"Gollahalli, A. R., &amp; Kasabov, N. (2015). EEGRotor: A virtual Quad-Copter based on Brain Computer Interface. presented at the meeting of the 13<sup>th</sup> International Conference on Neuro-Computing and Evolving Intelligence 2015 (NCEI ‘15) Auckland."
],
"thesis": [
"Gollahalli, A. R. (2015). Brain-computer interfaces for virtual Quadcopters based on a spiking-neural network architecture - NeuCube. AUT University, Auckland. Retrieved from http://hdl.handle.net/10292/9249"
@akshaybabloo
akshaybabloo / list_github_repo.py
Created Dec 29, 2016
Script to list all repos for a github user
View list_github_repo.py
"""
For Python 3.
Insted of "akshaybabloo" in DEFAULT_BASE_URL, write in your user name.
"""
from urllib.request import urlopen
import json
DEFAULT_BASE_URL = "https://api.github.com/users/akshaybabloo/repos"
@akshaybabloo
akshaybabloo / get_dns_records.py
Last active Jul 26, 2019
Printing all DNS records using DNSPython in Python 3
View get_dns_records.py
#!/usr/bin/env python
# -*- coding utf-8 -*-
#
# Copyright 2016 Akshay Raj Gollahalli
import dns.resolver
def get_records(domain):
"""
View nested_json.php
<?php
$json = '{"experience": {
"1": [
{"title": "Jr. Systems Engineer"},
{"company": "Cheminnova Group of Companies."},
{"where": "Hyderabad, India"},
{"from": "May, 2012"},
{"to": "February, 2013"},
{"current": false}
View cognionics_eeglab_raw_data_extraction.m
sample_rate = 500;
number_of_channels = 32;
file_number = 1;
looper = 1;
eeg = transpose(EEG.data);
while looper == 1
var = eeg(1:sample_rate,1:number_of_channels);
k = sprintf('sam%d',file_number);
% assignin('base',k,var); % if you wan to save it to your work space.
@akshaybabloo
akshaybabloo / file_tree_view.py
Last active Sep 20, 2016
List files & folders in a tree structure and write to text file.
View file_tree_view.py
import os
from __future__ import print_function
def list_files(startpath):
fg = open('structure.txt', 'w+')
for root, dirs, files in os.walk(startpath):
level = root.replace(startpath, '').count(os.sep)
indent = ' ' * 4 * (level)
a = ('{}|-{}/'.format(indent, os.path.basename(root)))
print(a)
fg.write(a)
You can’t perform that action at this time.