Rechercher dans ce blog

mercredi 9 décembre 2015

Preventing Creation of .DS_Store Files MAC OS X

Preventing Creation of .DS_Store Files MAC OS X



Open the Terminal.
Type:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Press Return.
Restart the computer.

transcode / Filter Plugins / Filter Ascii


$ transcode ... -J ascii=font:/default8x9.psf:pallete:/colors.pal


See



https://bitbucket.org/achurch_/transcode/wiki/Filter%20Plugins/Filter%20Ascii


Capabilities

VideoAudioRGBYUVYUV422multiple instancesprocessing typeframes needed
yesnoyesyesnoyesPOST1

Introduction

This filter renders a video in colored ascii-art !
Unkike current 'aalib' output drivers (that you will find in most players), the output of this filter is not display-dependent. This means that your ascii-art rendered video will be playable with any other player !
This filter is a video, post-process only filter. You can use it in both mono or multi-threaded mode. Please notice it supports RGB and YUV color spaces.

Requirements

This filter needs the 'aart' package as runtime dependency. You can download this package at http://aart.sourceforge.net/ (see INSTALL file for more details).
'aart' comes with a few data stuff. In particular, you will be provided a color pallete (colors.pal). This file is a matching index between your input video colors and your output ascii-art video colors. Please notice that you can define your own color pallete, but this is not a trivial task. In most of cases, the provided pallete will work properly.
'aart' also comes with some default fonts but you are free to use your own ones (ie installed on your system).

Warning

In version 0.5 (version documented here), this filter uses the aart package, which provides a very slow process. This means rendering a video in colored ascii-art will take a very long time. The 'libcaca' team has been contacted for a feature add. Therefore, filter_ascii should be ported to 'libcaca' pretty soon (which will decrease dramaticly process time). So, please only consider short video samples for the moment.

Parameters

Default values are shown in [green] in square brackets.
help Display a short help
Display a short description of the filter and its arguments.
font PSF font file [default8x9.psf]
A valid font file (*.psf). Font files that come with the aart package work well.
pallete PAL palette file [colors.pal]
A valid color pallete file (*.pal). The color pallete files that comes with the aart package works well.
threads Use multiple-threaded routine (0-oo) [0]
Use multiple-threaded routine for frame-processing. Recommended value for this option is 1, so don't use this option unless you know what you are doing.
buffer Use `aart` internal buffer for output
Use 'aart' internal buffer for ouput. Recommended value for this option is 'off', so don't use this option unless you know what you are doing.

Usage Examples

  • Render a video sample in colored ascii-art :
$ transcode ... -J ascii=font:/default8x9.psf:pallete:/colors.pal

fifo pipe mplayer ffmpeg

Create a fifo pipe between mplayer and ffmpeg 



mplayer -vo yuv4mpeg:file=videoout.fifo

ffmpeg -f yuv4mpegpipe -i videoout.fifo

lister et créer samba users


Creating samba users
The last part of this tutorial will involve us creating samba users. These users must represent Linux users but their password can and should be different to the Linux password for security. This is not enforced though. Using the command smbpasswd(/usr/bin/smbpasswd) as the root user we can add new samba users. A user must have a password in samba to access shares.
smbpasswd -a root
 -a pi
The above commands add root and pi as samba users. By default a TDB database is used to store this information. You can list current samba users with the command pdbedit(/usr/bin/pdbedit).
pdbedit -L

VIRTUALBOX MAC OS X aio_queue_async_request FIX



aio_queue_async_request FIX

Mac OS X kernel configuration


sudo sysctl -w  kern.aiomax=512 kern.aioprocmax=128 kern.aiothreads=16

then restart VirtualBox. These settings will apply until you reboot. To make the changes permanent, add/update the following lines in  

/etc/sysctl.conf:
kern.aiomax=512
kern.aioprocmax=128
kern.aiothreads=16


Note: you can probably set those limits even higher, as

documentation for Sybase


Enabling Host I/O caching for controllers that have local and file-based disks attached seems to have fixed 99% of the issues described above.
The following line enables the Host I/O cache:
VBoxManage storagectl --name --hostiocache on
In my case it was:
VBoxManage storagectl pintail --name SATA --hostiocache on
This probably also makes all the kern.aio* settings irrelevant.
Further implications of enabling the Host I/O cache are described here:

iportable OS X blogs

http://lifehacker.com/5739259/how-to-create-a-portable-hackintosh-on-a-usb-thumb-drive

http://xsolutions.free.fr/home/netbook/inetbook/iportable/secteurdeboot.php

Blog sur outils de sécurisation

https://securityinabox.org/fr