Skip to content

Instantly share code, notes, and snippets.

View tankred's full-sized avatar
💭
#gitmerge

Tankred tankred

💭
#gitmerge
View GitHub Profile
@tankred
tankred / robots.txt
Last active October 13, 2020 10:05
robots.txt
User-agent: *
Disallow: /
@tankred
tankred / csvtoVcardExport.pl
Created October 10, 2019 13:22
export CSV to Vcard
#!/usr/bin/perl
use strict;
use Text::vCard;
use Text::vCard::Addressbook;
my @contacts;
open(F,"<$ARGV[0]") or die("Can't open $ARGV[0]: $!\n");
foreach my $row (<F>) {
my $index = 0;
@tankred
tankred / README-Template.md
Last active October 13, 2020 10:06 — forked from PurpleBooth/README-Template.md
README-template

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

@tankred
tankred / CHANGELOG.md
Last active September 30, 2020 09:13
Keep-a-changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[Released]

@tankred
tankred / details-summary.html
Created May 7, 2019 20:17
details and summary
<!DOCTYPE html>
<html>
<body>
<details>
<summary>Head or summary</summary>
<p>details in detail p1.</p>
<p>details in detail p2.</p>
</details>
@tankred
tankred / boilerplate.html
Last active September 29, 2020 12:07
html boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<title>:</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="#">
</head>
<body>
<main>
<article>
@tankred
tankred / pre-commit
Last active February 13, 2024 08:04
Standard JS validation git hook
#!/bin/sh
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".js\{0,1\}$")
ESLINT="standard"
if [[ "$STAGED_FILES" = "" ]]; then
exit 0
fi
PASS=true
@tankred
tankred / pre-commit.sh
Last active October 15, 2020 14:40
git hook shellcheck
#!/bin/sh
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".sh\{0,1\}$")
SHCHCK="shellcheck"
if [[ "$STAGED_FILES" = "" ]]; then
exit 0
fi
PASS=true

Keybase proof

I hereby claim:

  • I am tankred on github.
  • I am tnkrd (https://keybase.io/tnkrd) on keybase.
  • I have a public key ASC6mzXUInBzWTybiN4OKrchvA6bjQppEExG4QLRbw-IBAo

To claim this, I am signing this object:

@tankred
tankred / index.html
Last active February 13, 2024 08:03
html skeleton
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
hello world!
JS Bin// source https://jsbin.com/lejagev