This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bhattacharyya test | |
import numpy | |
import math | |
h1 = [ 1, 2, 3, 4, 5, 6, 7, 8 ]; | |
h2 = [ 6, 5, 4, 3, 2, 1, 0, 0 ]; | |
h3 = [ 8, 7, 6, 5, 4, 3, 2, 1 ]; | |
h4 = [ 1, 2, 3, 4, 4, 3, 2, 1 ]; | |
h5 = [ 8, 8, 8, 8, 8, 8, 8, 8 ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
print datetime.datetime.now().strftime("%y-%m-%d-%H-%M-%S") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
namespace FileReader | |
{ | |
class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class FrameDump : MonoBehaviour { | |
string folder = "frame dumps"; | |
int frameCount; | |
// Initialization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URxvt*scrollBar: false | |
! URxvt*font: xft:Inconsolata:bold:8 | |
URxvt*font: -*-terminus-bold-r-normal-*-13-*-*-*-*-*-*-* | |
! COLORS | |
urxvt*foreground: #b5ff59 | |
urxvt*background: #1f1f1f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set cindent | |
set smartindent | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set showmatch | |
set ruler | |
set incsearch | |
set number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port "6600" | |
music_directory "~/Music" | |
playlist_directory "~/.mpd/playlists" | |
db_file "~/.mpd/mpd.db" | |
log_file "~/.mpd/mpd.log" | |
audio_output { | |
type "alsa" | |
name "ALSA" | |
mixer_control "Master" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background no | |
out_to_console yes | |
out_to_x no | |
update_interval 1.0 | |
total_run_times 0 | |
use_spacer none | |
#${mpd_smart} ${mpd_elapsed}/${mpd_length} | |
TEXT | |
KERNEL: ${sysname} ${kernel} CPU1: ${cpu cpu1}% CPU2: ${cpu cpu2}% MEM: ${memperc}% ETH0: ${downspeedf eth0} || ${upspeedf eth0} WLAN0: ${downspeedf wlan0} || ${upspeedf wlan0} BATT: ${battery_short} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
alias ls='ls --color=auto' | |
alias desup='sudo mount -t cifs //192.168.xxx.xxx/x -o username=xx,password=xx /mnt/m1' | |
alias desdn='sudo umount /mnt/m1' | |
PS1='\n\[\033[0;32m\]\u@\h \[\033[1;33m\]\w\n\[\033[0m\]> ' |