Skip to content

Instantly share code, notes, and snippets.

Tharindu Mathew tharindu-mathew

Block or report user

Report or block tharindu-mathew

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
@tharindu-mathew
tharindu-mathew / environment.yml
Created Feb 4, 2019
environment.yml file for setting up vid2vid through conda
View environment.yml
name: vid2vid
channels:
- pytorch
- omgarcia
- conda-forge
- defaults
dependencies:
- blas=1.1=openblas
- bzip2=1.0.6=h14c3975_1002
- ca-certificates=2018.11.29=ha4d7672_0
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
View .theanorc
[global]
cuda.root=/usr/local/cuda-8.0
device = cuda
floatX = float32
force_device = True
[gpuarray]
preallocate=0.8
[blas]
@tharindu-mathew
tharindu-mathew / .vimrc
Created Apr 20, 2017
Minimal C/C++ coding vimrc
View .vimrc
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier/ Tharindu Mathew
"
" activates filetype detection
filetype plugin indent on
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
View MySecuredContext.java
package org.example;
import org.apache.commons.codec.binary.Base64;
import org.osgi.service.http.HttpContext;
import org.wso2.carbon.bam.restapi.internal.Utils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.net.URL;
You can’t perform that action at this time.