Skip to content

Instantly share code, notes, and snippets.

@pohzipohzi
pohzipohzi / compress.sh
Created April 2, 2019 13:42 — forked from bvaudour/compress.sh
tar.lz4 creation/extraction
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage : $0 <file to compress>"
exit 1
fi
file=${1%%/}
tar c "$file" | lz4 -z - "$file.tar.lz4"
@pohzipohzi
pohzipohzi / join_test.go
Created December 14, 2018 08:02 — forked from dtjm/join_test.go
strings.Join vs fmt.Sprintf vs string concat (+)
package join
import (
"fmt"
"strings"
"testing"
)
var (
testData = []string{"a", "b", "c", "d", "e"}
@pohzipohzi
pohzipohzi / ipython-scrapy.ipynb
Last active July 26, 2018 05:47 — forked from kmike/ipython-scrapy.ipynb
kmike's ipython-scrapy proof of concept, updated for scrapy 1.5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.