zondag 14 december 2014

making a hidden directory

attrib +s +h “C:\Users\Me\Desktop\hidden dir”

cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p “cho=>”
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p “pass=>”
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
* Change the “YOUR PASSWORD HERE” with your password.
Save it as batch file ( with extension .bat ) For eg. Locker.bat
Now you will see a batch file. Double click it to create a folder locker ( A new folder named Locker would be formed at the same location )
Double click the batch ( As created above ) file to lock the folder namely Locker.

woensdag 5 november 2014

hoogte van snaren bij gitaar

De standaard volgens Cumpiano
Vrije ruimte tussen onderkant 6de snaar en 12de fret = 4 mm bij klassieke.

Voor lage actie = 3.2 mm 
Voor hoge actie = 4.8 mm

De treble snaar moet 0.8 mm minder hoog.

Meet de 6 snaren hun actuele hoogte boven de 12de fret

Standaard klassieke = 
E6 = 4.0
A = 3.8
D = 3.6
G = 3.6
B = 3.4
E1 = 3.2

zaterdag 27 september 2014

ffmpeg video conversion & audio converion


usage:

ffmpeg -i  input.xxx  output.xxx





How to make a movie out of a bunch of jpg or png or tiff.


ffmpeg -y  -r 5 -i "image_%04d_today.jpg" output.m4v
ffmpeg -y  -i "frame/frame-%06d.tiff"  -c:a AAC   "test7.mp4"

//used for processing.org programs on mac os x in QuickTime Player
ffmpeg -y  -i "frame/frame-%06d.tiff"  -c:v libx264 -c:a aac -s 800x800  -vf scale=800:-2,format=yuv420p "test8.mp4"


-r 5  5 frames per second (normally 25)
-s  special frame format

How to make a calculation  .
1 day = 86400 sec

You would like to make a film of 10 sec in one day.
For 10 secondes you need 10 x 25 frames. So that means 250 jpg's.
86400 / 250 is  345 


So once in the 345 sec a picture has to be taken.



Install ffmpeg


download from : http://ffmpegmac.net
or

brew install ffmpeg --with-faac --with-lame --with-xvid --with-theora --with-libvorbis --with-libvpx --with-rtmpdump --with-ffplay --with-speex --with-opus --enable-openssl --with-openssl

copy to /usr/local/bin


video conversion

ffmpeg -i input_file.mp4 -acodec copy -vcodec copy -f mov output_file.mov
ffmpeg -i input.vob -c:v copy -c:a copy output.mpg

ffmpeg -i input.vob -c:v libx264 -c:a aac -strict experimental output.mp4

x264 or XviD to an MKV or MP4

VOB  to mp4
ffmpeg -i concat:VTS_01_0.VOB\|VTS_01_1.VOB\|VTS_01_2.VOB outfile.mp4

ffmpeg -i SOURCE.vob -vn -ar 44100 -ac 2 -ab 192 -f mp3 export.mp3
ffmpeg -i input.vob  -codec:a libmp3lame -b:a 320k -ss 00:03:50 -t 101 output5.mp3


"ffmpeg -i -vol -acodec " ffmpeg -i input.vob vn -ar 44100 -ac 2 -ab 192 -f mp3 -ss 00:03:50 -t 101 output6.mp3

ffmpeg -i  -vol  -acodec   
ffmpeg -i -vol -acodec





ffmpeg google on "ffmpeg download" 

download and install ffmpeg 

voeg samen wmv to avi google on 

ffmpeg -i "films\Motion001.wmv" -vcodec copy test6.avi


zaterdag 23 augustus 2014

apple gedonder service

Activity monitor

ps ax

sudo launchctl list


sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist




  • /System/Library (you probably shouldn't touch these)
  • /Library/ (usually for all users)
  • /Users/yourname/Library (your own programs)
  • /System/Library/LaunchDaemons/ - System-wide daemons provided by Mac OS X
  • /System/Library/LaunchAgents/ - Per-user agents provided by Mac OS X.
  • ~/Library/LaunchAgents/ - Per-user agents provided by the user.
  • /Library/LaunchAgents/ - Per-user agents provided by the administrator.
  • /Library/LaunchDaemons/ - System-wide daemons provided by the administrator.

Show all the hidden files


In the Terminal type:

defaults write com.apple.finder AppleShowAllFiles TRUE

killall Finder

zaterdag 19 juli 2014

android security

The American government has issued a warning about the potential security threat of Android.
http://info.publicintelligence.net/DHS-FBI-AndroidThreats.pdf
Android, released in 2011, had several security vulnerabilities that were fixed in later versions of the software.
The report says Android accounts for 79 percent of mobile malware, while Apple’s iOS accounts for 0.7 percent


 toll fraud:The document lays out some of the common security threats in earlier versions of Android, including a vulnerability in text messaging, where malicious software can steal money by making secret charges to a user’s phone bill

tools
DidFail analyzes potentially tainted flows between apps and, within a single app, between multiple components.
FlowDroid:analyzes flows of tainted information. FlowDroid focuses on information that flows in a single component of an app
SCAle: suite of tools for testing code for compliance with CERT secure coding rules. This tool was designed specifically to grow our Mobile SCALe tool set that checks against our new Android-focused secure coding rules and guidelines. https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=111509535

:
Coding tools for analysing android
http://www.jssec.org/dl/android_securecoding_en.pdf

analyse overview
http://blog.sei.cmu.edu/post.cfm/secure-coding-tools-analyzing-android-apps-118

Analyse payment app on IOS
http://cases.azoft.com/mobile-application-security-testing/


zondag 29 juni 2014

gutsen en beitels welke kiezen


Merken
  •  Nooitgedagt 
  •  Pfeil
  • Kirschen
  • Dastra
  • flexcut
Hout
  • lindehout zacht, splitert niet.
  • wilg
  • populier
  • berk

Nummers bij pfeil
vb : D1/8, D1S/8, D5/8, D8/7, D11/1, D12/2.


D staat voor kleiner lemmet Bladlengte: 85mm. Totale lengte: 200mm.
normaal: Bladlengtes van 110-135mm, totale lengtes van 245-270mm.

L staat voor geplooide gebogen guts

A staat voor  gekropte beitel, dit is voor het uithollen van iets.


F staat voor  vistaart guts

S staat voor scheef
1 ste getal is de bolheid  1 - plat,  8 is behoorlijk gekromd, 11 zie je vooral bij breitels

2 de getal is de breedte  8 is 8 mm

breitel V-vorm



Starten beginners setje

  • rozen mes
  • #5 Sweep Spoon Gouge 8 mm, Full Size
  • #3 Sweep Fishtail Gouge 12 mm, Full Size
  • D8a7


woensdag 23 april 2014

Making a love2D app on Android

Android copy LOVE_for_android_0.9.1-RC1.apk to a directory click on the file an install it now you have love on the device

donderdag 16 januari 2014

netwerk

reset tcpip
netsh int ip reset c:\resetlog.txt

sudo route add default gw 192.168.2.1 wlan0
route - n