Skip to content

Instantly share code, notes, and snippets.

View npatta01's full-sized avatar
💭
Coding Some Deep Learning Projects

Nidhin Pattaniyil npatta01

💭
Coding Some Deep Learning Projects
View GitHub Profile
@npatta01
npatta01 / emoji_embedding.json
Last active December 6, 2019 14:01
emoji embedding
{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1661,
300
],
"tensorPath": "https://gist.githubusercontent.com/npatta01/6ba50b4ca387796616f448dacdb0f1b6/raw/310d42872d0ffcc5fb74b6e7b49d04252278d5a5/emoji_tensor.tsv",
"metadataPath": "https://gist.githubusercontent.com/npatta01/6ba50b4ca387796616f448dacdb0f1b6/raw/310d42872d0ffcc5fb74b6e7b49d04252278d5a5/emoji_metadata.tsv"
#!/bin/bash
set -e
# Ensure we have conda installed.
PROJ_DIR=$PWD
cd $PROJ_DIR
MINICONDA_VERSION='4.2.12'
@npatta01
npatta01 / maven-333.sh
Last active August 12, 2016 16:14
installing mvn 3.3.3 in linux
sudo apt-get purge -y maven
wget http://apache.cs.utah.edu/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
tar -zxf apache-maven-3.3.3-bin.tar.gz
sudo cp -R apache-maven-3.3.3 /usr/local
sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/bin/mvn
@npatta01
npatta01 / install_scala_sbt.sh
Last active September 22, 2015 21:29 — forked from visenger/install_scala_sbt.sh
Scala and sbt installation on ubuntu 12.04
#!/bin/sh
#scala installation
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb
sudo apt-get update
sudo apt-get install scala

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

@npatta01
npatta01 / cat.py
Last active August 29, 2015 14:17
Example of dynamic loading in python
class Cat(object):
def make_sound(self):
print("Cat says Meow")
def hide(self, num):
print("Regular cat is hiding for %s secs"% num)
class BrownCat(object):
import com.example.model.Recording;
import com.example.service.Localhost_CurlAutomation2Rest;
import com.example.service.ResourceResponse;
/**
* Created by npatta001c on 10/9/2014.
*/
public class Client {
public static void main (String []args){
@npatta01
npatta01 / Errror shown
Created September 25, 2014 15:09
Validation of Json Model
if you post to
http://localhost:8080/{SERVICENAME}/rest/manual/recordChannel
{
"deviceId" : "8880552999379356157"
}
You will get the below message with status code 400
@npatta01
npatta01 / python 3.3+ x64 visual studio 2010
Last active August 29, 2015 14:06
python 3.3+ x64 visual studio 2010
#Download windows 7.1 sdk (even if using windows 8)
http://www.microsoft.com/en-us/download/details.aspx?id=8442
You need GRMSDKX_EN_DVD.iso if you target a AMD64 Python version. It can build for x86 arch too.
#after mounting and isntallign the iso
##open the Windows sdk 7.1 sdk
set DISTUTILS_USE_SDK=1
@npatta01
npatta01 / 0_reuse_code.js
Created March 27, 2014 21:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console