Skip to content

Instantly share code, notes, and snippets.

View VivekTodur's full-sized avatar
🎯
Focusing

Vivek Todur VivekTodur

🎯
Focusing
  • Eurofins Clinical Genetics
  • Bengaluru, Karnataka, India
View GitHub Profile
@VivekTodur
VivekTodur / annotate_bed_chippeakanno.R
Created August 13, 2018 03:10 — forked from slavailn/annotate_bed_chippeakanno.R
Annotate genomic intervals in bed format using ChIPpeakAnno
library("ChIPpeakAnno")
library("GenomicRanges")
library("biomaRt")
# Annotate genomic intervals in bed format using ChIPpeakAnno
setwd("~/Projects/grey_miseq/re-doing_hotspots/high_confidence_hotspots/")
list.files()
# Read in bed file with genomic intervals, ATAC-seq hotspots in this case
Q1 <- read.table("Q1_high_confidence.bed", header=F, sep = "\t")
@VivekTodur
VivekTodur / 403forbidden.php
Created August 13, 2018 03:09 — forked from frankleromain/403forbidden.php
Creating a Secure PHP Login Script
<?php
header('HTTP/1.1 403 Forbidden');
?>
<html>
<head>
<title>Congratulations! You have been DENIED access</title>
</head>
<body>
<font size="4">You have been denied access because of the following reasons:<br /><br />
1.) Too many failed login attempts, so you are likely brute forcing through logins.<br />