-
Add python repo:
zypper ar http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.2/devel:languages:python.repo
-
Install Dependencies:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
typedef unsigned int U32; | |
typedef unsigned __int64 U64; | |
// ---- actual cube root code | |
U32 icbrt64(U64 x) { | |
int s; | |
U32 y; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.ape; ffmpeg -i $f $f:r.flac |
Please read everything before starting!
- Download OpenSUSE 12.3 32bit, Network edition http://download.opensuse.org/distribution/12.3/iso/openSUSE-12.3-NET-i586.iso
- I chose 32bit, because Ruby Binary Extensions might have problems with lib64 path structure. We workaround this bug.
- I chose networkinstall, because we need only very few packages and don't need to download everything. only 200MB are downloaded during install
- the image can easily copied to a usb pen drive using the gui tool "imagewriter" (executed as root)
- Partition: There are 2 big hard drives. I created on both of them first a primary pratition of 1GB of type LINUX-RAID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ | |
# https://help.github.com/articles/remove-sensitive-data | |
set -o errexit | |
# Author: David Underhill | |
# Script to permanently delete files/folders from your git repository. To use | |
# it, cd to your repository's root and then run the script with a list of paths |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://kate-editor.org/2013/04/02/kate-search-replace-highlighting-in-kde-4-11/ | |
ffmpeg -f x11grab -r 30 -s 1280×720 -i :0.0 -vcodec libx264 -preset ultrafast -qp 0 -threads 0 output.mkv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
rm out*.jpg | |
rm out*.gif | |
ffmpeg -y -i 13040065.mp4 -t 1 -filter:v transpose=1,scale=400:-1,deshake,crop=400:400 out%02d.jpg | |
for file in *.jpg; do | |
convert $file ${file%.*}.gif | |
done | |
gifsicle --delay=5 --colors 256 --loop out*.gif > final.gif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/pdfjam --landscape --suffix book --a4paper --trim '1cm 1cm 1cm 1cm' --clip 'true' --signature '32' -- input.pdf - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Gitlab 5.2 on OpenSUSE 12.3 32Bits | |
## Project http://gitlab.org/ | |
## Base https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md | |
## Autor: Nilton OS -- Version 0.9 14-06-2013 -- http://wwww.linuxpro.com.br/blog | |
## Change Vars !!! | |
SERVER_IP="10.0.2.15" | |
SERVER_FQDN="gitlab.linuxpro.com.br" | |
DOMIAN="linuxpro.com.br" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert Image-0001.png Image-0002.png -depth 2 -colorspace Gray output.tiff |