if you want to install a dropbox - googledirve alike service in your company, take a look at http://owncloud.org/
elconomeno
25 nov 2014
24 nov 2014
make an image backup of a pc
- download resque CD (395mb)
- burn it on a cd/dvd
- boot the pc where you want to recover the data
- mount -t cifs //192.168.1.5/Share /mnt/windows -o username=MyWindowsAccount
- type in your password
- ddresque -d -r3 /dev/sda1 /mnt/windows/sda1.img sda1.log
- open the share on your windows pc
- and open the image wit 7-zip. You can access now all files of the pc.
other tips :
when having a wireless network, but configuring your wireless everytime you boot can be show-stopper. I bought a wireless extender WLX-2001. you get the benefits of both wireless and wired network. a hight troughput from trouble-pc to server-pc, but you can do it everywhere.
another program to open this image file is VDK from vmware.
Update 23/12/2014 : Opening the Image on a linux machine:
I'm a Windows Guy (until Now!). but i had some trouble to mount the image on a linux pc.
First, create a new mountingpoint in the /mnt/ folder.
sudo mkdir /mnt/olddisk
The next step i did (but i don't think its necessary)
sudo fsck -y /media/User1/TOSHIBA\ EXT/public/file1a.img
and then i mounted my image in a regular way :
sudo mount /media/User1/TOSHIBA\ EXT/public/file1a.img /mnt/olddisk
Update 23/12/2014 : Opening the Image on a linux machine:
I'm a Windows Guy (until Now!). but i had some trouble to mount the image on a linux pc.
First, create a new mountingpoint in the /mnt/ folder.
sudo mkdir /mnt/olddisk
The next step i did (but i don't think its necessary)
sudo fsck -y /media/User1/TOSHIBA\ EXT/public/file1a.img
and then i mounted my image in a regular way :
sudo mount /media/User1/TOSHIBA\ EXT/public/file1a.img /mnt/olddisk
14 nov 2014
libre office draw loading gallery objects
download galerry files here ;
http://www.openoffice.org/fr/Documentation/Gallery/indexgal.html
go to C:\Users\
and save the content of the zips.
restart your libre office.
Now you have upgraded your gallery with a lots of symbols.
another good source
is the openclipart gallery where you can download a lot of SVG files
5 nov 2014
fast development html
http://jsfiddle.net/ is a very small, but fast in Browser IDE for HTML -Javascript - CSS.
it's also possible to save and share you code snippets
http://dygraphs.com/gallery/
https://developers.google.com/chart/
https://google-developers.appspot.com/chart/interactive/docs/gallery
it's also possible to save and share you code snippets
http://dygraphs.com/gallery/
https://developers.google.com/chart/
https://google-developers.appspot.com/chart/interactive/docs/gallery
8 jan 2014
ldapfilter with timestamps in powershell
$DateString = (Get-Date).AddMinutes(-30).ToString("u") -Replace "-|:|\s"
$DateString = $DateString -Replace "Z", ".0Z"
write-host "(&(sAMAccountType=805306368)(whenCreated>=$DateString))"
$DateString = $DateString -Replace "Z", ".0Z"
write-host "(&(sAMAccountType=805306368)(whenCreated>=$DateString))"
9 sep 2013
create shortcut with powershell
function Set-Shortcut ($linkpath , $targetPath )
{
Write-Host $linkpath
$strlinkpath = [String ]$linkpath
if($targetPath -eq -$NULL)
{
throw ("targetpath not available" )
}
else
{
if(Test-Path $targetPath)
{
}
else
{
throw " $targetPath does not exist"
}
}
if($strlinkpath -eq $NULL)
{
throw “linkpath not correct”
}
elseif($strlinkpath .EndsWith(".lnk" ))
{
$link = ( New-Object -ComObject WScript.Shell). CreateShortcut($strlinkpath)
$link.TargetPath = $targetPath
## Added after grawity's post
$link.Save()
}
else
{
throw ("filename not available in path" )
}
}
11 mrt 2013
script to generate files in folder structure
$DefaultPath = "
$dirs = get-childitem -Recurse -Path $DefaultPath | where {$_.mode -match "d"}
foreach($dir in $dirs)
{
$dirname = $dir.FullName
for ($i=1; $i -le 100; $i++)
{
$filename = "$dirname\file$i.txt"
write-host $filename
New-Item $filename -type file -force -value "This is text added to the file"
}
}
Abonneren op:
Posts (Atom)