Skip to content

Instantly share code, notes, and snippets.

View harshhx17's full-sized avatar

Harsh Kumar Bhartiya harshhx17

  • sdslabs
  • Roorkee
View GitHub Profile
@harshhx17
harshhx17 / AR.txt
Last active March 2, 2019 03:46
Links for Potree Aframe
https://github.com/aframevr/aframe/blob/master/docs/components/camera.md
https://gis.stackexchange.com/questions/18202/seeking-point-cloud-lidar-data
https://www.sciencebase.gov/catalog/item/5827510be4b01fad86fc2172
https://github.com/faridcher/faridcher.github.io/blob/master/uploads/SE/LiDar%20Sources.csv
https://github.com/mayognaise/aframe-mouse-cursor-component
https://github.com/eggyknap/lg-potree-2/blob/master/docs/converting.md
@harshhx17
harshhx17 / model.py
Created June 15, 2018 11:03
Call the vgg.py class and train on the given images
import numpy as np
import tensorflow as tf
from scipy.misc import imread, imresize
from vgg16 import vgg16
import math
import matplotlib.pyplot as plt
from utils import *
import h5py
def model(X_train, Y_train, learning_rate=0.009, X=None, Y=None, weights=None, sess=None, num_epochs=10, minibatch_size=5, print_cost=True):
[WARNING][10:06:21] bears setting has already been defined in section all.html. The previous setting will be overridden.
[DEBUG][10:06:21] Platform Linux -- Python 3.4.6, coalib 0.11.0
Executing section all...
[DEBUG][10:06:21] Files that will be checked:
/home/travis/build/harshhx17/CheckThisOut/app/views/templates/post.twig
/home/travis/build/harshhx17/CheckThisOut/app/views/templates/signup.twig
/home/travis/build/harshhx17/CheckThisOut/app/views/templates/profile.twig
/home/travis/build/harshhx17/CheckThisOut/app/controllers/login_controller.php
/home/travis/build/harshhx17/CheckThisOut/app/views/templates/login.twig
/home/travis/build/harshhx17/CheckThisOut/app/views/loader.php
========================================== test session starts ==========================================
platform linux -- Python 3.6.3, pytest-3.1.3, py-1.5.2, pluggy-0.4.0
rootdir: /home/bhartiya/coala, inifile: setup.cfg
plugins: xdist-1.22.1, timeout-1.2.1, reqs-0.0.7, reorder-0.1.0, mock-1.7.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
timeout: 35.0s method: signal
collected 914 items
requirements.txt .
test-requirements.txt .
coalib/bearlib/__init__.py ..
@harshhx17
harshhx17 / pytest on coala-bears
Last active February 26, 2018 16:50
test on coala repo
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.1.3, py-1.5.2, pluggy-0.4.0
rootdir: /home/bhartiya/coala-bears, inifile: setup.cfg
plugins: xdist-1.22.1, timeout-1.2.1, reqs-0.0.7, reorder-0.1.0, mock-1.7.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
timeout: 35.0s method: signal
collected 798 items
tests/coalaBearTest.py .
tests/generate_packageTest.py ............
tests/apertium/ApertiumLintBearTest.py ..
@harshhx17
harshhx17 / pytest on coala
Last active February 26, 2018 16:49
Pytest on coala
=========================================================================================== test session starts ============================================================================================
platform linux -- Python 3.6.3, pytest-3.1.3, py-1.5.2, pluggy-0.4.0
rootdir: /home/bhartiya/coala, inifile: setup.cfg
plugins: xdist-1.22.1, timeout-1.2.1, reqs-0.0.7, reorder-0.1.0, mock-1.7.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
timeout: 35.0s method: signal
collected 903 items
requirements.txt .
test-requirements.txt .
coalib/bearlib/__init__.py ..
@harshhx17
harshhx17 / typeracer.js
Last active February 13, 2018 17:28
Type Racer Hack
//hack for type racer
var harsh = document.getElementsByTagName('span');
for(var i = 0;i<15;i++)
{
var a = harsh[i].className;
var b = harsh[i+1].className;
typeof(a)
if(a === "lblUsername" && b!="lblUsername")
break;
}