Skip to content

Instantly share code, notes, and snippets.

@jaehwang
jaehwang / codebeamer-rest-api-example.md
Last active March 19, 2019 06:02
codeBeamer REST API Examples
$ curl -v -u user:pass http://localhost:8888/cb/rest/user/1/items/page/1

$ curl -v -u user:pass http://localhost:8888/cb/rest/tracker/2201/newItem

$ cat newitem.json
{
    "version" : 2,
    "tracker" : "/tracker/2201",

"name" : "Title comes here",

pdftk book.pdf dump_data output report.txt
gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dFirstPage=10 -dLastPage=10 -sOutputFile=10.pdf book.pdf
gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dFirstPage=10 -dLastPage=10 -o 10.pdf -c "[/CropBox [50 250 350 400] /PAGES pdfmark" -f book.pdf
@jaehwang
jaehwang / gist:8845282
Last active August 29, 2015 13:56
LG TV 타임머신으로 녹화한 동영상을 MP4로 변환하기.
#!/usr/bin/perl
use Getopt::Std;
use File::Basename;
my %opts;
getopts('i:t:s:e:mh',\%opts);
my $mts = $opts{i};