VirtualTam's bookmarks
186 bookmarks found
-
Git - Split / shrink a repository
2014-09-05 1# first, clone the repository 2git clone REPO REPO2 3cd REPO2 4# remove all unneeded files from this version 5git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch FILES_AND_DIRS_TO_DELETE" 6git gc --aggressive --prune=1day 7git fsck --unreachable 8# refresh the remote 9git remote rm origin 10git remote add origin ssh://HOST/REPO 11# broforce push! 12git push -f origin master 13 14# cleanup our original repository 15cd REPO 16git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch OTHER_FILES_AND_DIRS_TO_DELETE" 17git gc --aggressive --prune=1day 18git fsck --unreachable 19# broforce push! 20git push -f origin master
-
Ampache - Music Streaming Server
2014-04-28 A web based audio/video streaming application and file manager
-
Bash: test if a file needs to be downloaded
2014-04-09 1#!/bin/bash 2# Check if a file needs to be downloaded 3# Useful iff there is no checksum available to check a local file 4url=http://test-url.com 5 6dl=1 7if [[ -f $file_path ]]; then 8 local_size=$(ls -l $file_path | awk '{print $5}') 9 remote_size=$(wget --spider $url 2>&1 | awk '/Length/ {print $2}') 10 11 if [[ $local_size -eq $remote_size ]]; then 12 echo "The file was previously downloaded" 13 dl=0 14 else 15 echo "Corrupted file found, re-downloading..." 16 rm -f $file_path 17 fi 18else 19 echo "Downloading file..." 20fi 21 22[[ $dl -eq 1 ]] && wget $url -O $file_path
-
Doom 3 sur Linux | Tuxicoman
2014-04-07 Main AUR:
User packages:
- https://drive.google.com/file/d/0B-3Ad-VEtVXFYmtNbTFQazZ3Zkk/edit?usp=sharing
- https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing
Fix sound issues:
- doom3 +set s_alsa_pcm plughw:0 +set s_driver alsa
- http://ubuntuforums.org/showthread.php?t=1705760&p=11117137#post11117137
-
Change install dir:
- get the EarSketch installer,
- launch it, install Reaper and EarSketch to the default location => C:\Program Files{EarSketch, REAPER (x64)},
- install the other softs (Python 2.7 and its extensions, Kommodo) where they belong,
- move the REAPER (x64) folder to a new location,
- edit the registry value [HKEY\LOCAL MACHINE\SOFTWARE\REAPER] to reflect this new location,
- edit the Actions menu file to reflect the new Plugins folder locations [%appdata%\REAPER\reaper-kb.ini],
- (restart Reaper),
- clean the cache.
-
Metallica Memes
2013-08-16 http://fc08.deviantart.net/fs71/f/2012/168/4/b/wtf_metallica_by_helenanimator-d53s3zg.jpg http://weknowmemes.com/wp-content/uploads/2012/05/i-dont-always-listen-to-metallica.jpg http://imageshack.us/scaled/landing/89/gimmem.jpg http://blogs.crikey.com.au/earworm/files/2011/11/lulu.jpg http://cdn.memegenerator.net/instances/400x/34072035.jpg http://cdn.memegenerator.net/instances/400x/21791219.jpg http://impossiblyglamorous.com/wp-content/uploads/2011/12/Metallica.jpg http://24.media.tumblr.com/tumblr_md901vdCb01qzqua1o1_400.jpg http://1.bp.blogspot.com/-eKJkrqG5Gco/UB1TImHCemI/AAAAAAAAATk/uHHbMLluaXQ/s1600/I_am_the_table_james_hetfield_metallica.png http://spe.fotolog.com/photo/14/25/64/dr_joshu/1210273810_f.jpg