You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| #!/usr/bin/env python | |
| """ | |
| This script processes SAM (Sequence Alignment/Map format) inputs from standard | |
| input and extracts alignment information that is then provided in a tab-separated | |
| table. The following fields are produced: query, target, query_length, query_start, | |
| query_end, target_start, target_end, alignment_length, alignment_identity. | |
| This script was designed for use with SAM files produced by minimap2. However, | |
| it will work with any SAM data that: |
| #!/usr/bin/env perl | |
| # | |
| # rotates and (if necessary reverse complements) an assembly of a circular genome | |
| # so that it starts with the sequence having the best blast hit to a gene database, | |
| # e.g. dnaA | |
| # | |
| # depends on blastn being installed | |
| # | |
| # Example usage: | |
| # rotate_assembly.pl assembly.fasta dnaA.fa > rotated_assembly.fa |
| #include "textflag.h" | |
| // func PospopcntMem(counts *[8]int32, buf []byte) | |
| TEXT ·PospopcntMem(SB),NOSPLIT,$0-32 | |
| MOVQ counts+0(FP), DI | |
| MOVQ buf_base+8(FP), SI // SI = &buf[0] | |
| MOVQ buf_len+16(FP), CX // CX = len(buf) | |
| SUBQ $32, CX // pre-subtract 32 bit from CX | |
| JL scalar |
| #define _XOPEN_SOURCE 700 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <time.h> | |
| extern void pospopcnt_reg(int accum[8], const char *buf, size_t len); | |
| extern void pospopcnt_mem(int accum[8], const char *buf, size_t len); | |
| extern void |
| # Create `gh-pages` branch from scratch | |
| cd <dir> | |
| git init | |
| git remote add origin <url> | |
| git checkout --orphan gh-pages | |
| git add . | |
| git commit -m "build 1.0.0" | |
| git push origin gh-pages |
| #!/bin/sh | |
| while read file; do | |
| if [[ $string =~ .*=.* ]]; then | |
| continue | |
| fi | |
| t=$(exiftool "$file" \ | |
| | grep "^Create Date" | head -n 1 \ | |
| | sed -r "s/\s+/ /g" | cut -d " " -f 4 \ |
| # ==================== | |
| # Project Makefile | |
| # ==================== | |
| # User Configuration {{{1 | |
| # ==================== | |
| # Major targets {{{2 | |
| .PHONY: figs res | |
| figs: | |
| # [Partially redacted] |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title>Todo Vue.js Example</title> | |
| <link rel="stylesheet" | |
| type="text/css" | |
| href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
| <script src="https://cdn.jsdelivr.net/vue/latest/vue.js"></script> | |
| <style type="text/css"> |
| ZigZag-Encoding | |
| --------------- | |
| Maps negative values to positive values while going back and | |
| forth (0 = 0, -1 = 1, 1 = 2, -2 = 3, 2 = 4, -3 = 5, 3 = 6 ...) | |
| (i >> bitlength-1) ^ (i << 1) | |
| with "i" being the number to be encoded, "^" being | |
| XOR-operation and ">>" would be arithemtic shifting-operation |