Skip to content

Instantly share code, notes, and snippets.

@jairov4
jairov4 / gh-dl-release.sh
Last active April 21, 2020 15:15 — forked from maxim/gh-dl-release
Download assets from private Github releases
#!/usr/bin/env bash
#
# gh-dl-release! It works!
#
# This script downloads an asset from latest or specific Github release of a
# private repo. Feel free to extract more of the variables into command line
# parameters.
#
# PREREQUISITES
#
@jairov4
jairov4 / run.ps1
Created February 23, 2019 13:27
Set VLK for Windows Server 2016
dism /online /set-edition:ServerDatacenterCor /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /AcceptEula
@jairov4
jairov4 / gist:b225f3dc894ae7e47238c2636dc8160e
Created January 16, 2019 15:14 — forked from shsteimer/gist:7257245
Tip to delete tags by pattern
#delete all the remote tags with the pattern your looking for, ie. DEV-
git tag | grep <pattern> | xargs -n 1 -I% git push origin :refs/tags/%
#delete all your local tags
git tag | xargs -n 1 -I% git tag -d %
#fetch the remote tags which still remain
git fetch
@jairov4
jairov4 / sampler.cs
Created October 15, 2012 23:54
Sampler for CleavageSites from ProteinTagger
using Biosek;
using Biosek.Formats.UniProt;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Sampler
{