yannis assael | the blog

  • Home
  • About
  • Categories
    • Android
    • Computing
    • iOS
    • Machine Learning
    • MacOSX
  • GitHub
  • Mobile Apps
  • yannisassael.com


Posts Tagged ‘fix’

phpmyadmin says table “in use” (mysql)

Written by iassael on 20/05/2015. Posted in computing, general

This message means that your table needs repair, however, the option for repair through the phpmyadmin interface is not available.

Therefore, you need to open a terminal or ssh and run the following commands:

1) cd /var/lib/mysql/DATABASE (where DATABASE is the one containing the table that needs repair)

2) myisamchk –safe-recover TABLE (where TABLE is the table you are trying to repair)

Your table will be fixed in a few minutes!

  • Continue Reading
  • 1 Comment

Fix Photo Booth’s Black Screen in Yosemite

Written by iassael on 03/02/2015. Posted in computing, general, macosx

photobooth_for_win7_by_amir1122-d40s714There are several reasons this problem could be caused. In my case, running Yosemite 10.10, Photo Booth had a black screen and the menu was saying “no camera connected” although FaceTime worked fine.

The common sudo killall VDCAssistant solution didn’t work at all, as well as, reseting my NVRAM.

After a lot of debugging and trial and error, I found out that the problem originated from the fact that I used Dropbox and had created a symbolic link in the place of the ~/Pictures folder.

The solution is to open ~/Library/Preferences/com.apple.PhotoBooth.plist with Xcode and change the link of ~/Pictures/Photo Booth Library to the absolute path of your new pictures folder.

Cheers~

  • Continue Reading
  • No Comments

[Fix] Weka >3.7 Package Cache Problem

Written by iassael on 26/02/2012. Posted in computing, general

Change your RunWeka.ini to look like this….

cmd_default=javaw -Dfile.encoding=#fileEncoding# -Xmx#maxheap# -classpath "#wekajar#;#cp#" #package# #mainclass#
cmd_console=cmd.exe /K start cmd.exe /K "java -Dfile.encoding=#fileEncoding# -Xmx#maxheap# -classpath \"#wekajar#;#cp#\" #package# #mainclass#"
cmd_explorer=java -Dfile.encoding=#fileEncoding# -Xmx#maxheap# -classpath "#wekajar#;#cp#" weka.gui.explorer.Explorer
cmd_knowledgeFlow=java -Dfile.encoding=#fileEncoding# -Xmx#maxheap# -classpath "#wekajar#;#cp#" weka.gui.beans.KnowledgeFlow

maxheap=6g

mainclass=weka.gui.GUIChooser
package=-Dweka.core.wekaPackageRepositoryURL=http://www.cs.waikato.ac.nz/ml/weka/packageMetaData

fileEncoding=Cp1252

cp=%CLASSPATH%

  • Continue Reading
  • No Comments