Skip to content

Instantly share code, notes, and snippets.

View vv111y's full-sized avatar
🏠
Working from home

vv111y vv111y

🏠
Working from home
View GitHub Profile
@vv111y
vv111y / README-Template.md
Created August 14, 2019 18:46 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

#!/usr/bin/env python
import sys
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
import cv2 as cv
from PIL import Image
import io
from sys import exit as exit
@vv111y
vv111y / friedman.test.with.post.hoc.R
Created February 8, 2019 18:22 — forked from jacksonpradolima/friedman.test.with.post.hoc.R
Friedman test with post-hoc using Bergmann-Hommel procedure
friedman.test.with.post.hoc <- function(data, alpha = 0.05)
{
print("Check if you missing the packages 'graph' and 'Rgraphviz'. Try to install them using bioconductor")
#source("http://bioconductor.org/biocLite.R")
#biocLite(c("graph","Rgraphviz"))
# Loading needed packages
if(!require(ggplot2))
{
@vv111y
vv111y / cmdDoublePress.lua
Last active September 25, 2018 15:43 — forked from asmagill/ctrlDoublePress.lua
Capture double tap of Ctrl in Hammerspoon
local alert = require("hs.alert")
local timer = require("hs.timer")
local eventtap = require("hs.eventtap")
local events = eventtap.event.types
local module = {}
-- ** Changed original gist from "ctrl" to "cmd" **
-- Save this in your Hammerspoon configuration directiorn (~/.hammerspoon/)