Google Drive Automatically Clean Trash
Solution to avoid scrolling down and deleting files; automatically clean your Google Drive’s trash.
Written by iassael on . Posted in computing, general
Solution to avoid scrolling down and deleting files; automatically clean your Google Drive’s trash.
Written by iassael on . 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!
Written by iassael on . Posted in computing, general, macosx
There 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~
Written by iassael on . Posted in computing, general
Using Latex, many times you want to print multiple figures that have similar names like figure_1.pdf, figure_2.pdf etc…
Instead of hardcoding everything, the foreach
package saves lives!
More specifically, you can write something like this:
\begin{figure}[H]
\centering
\foreach \n in {1,3,5,10,20}{
\begin{subfigure}{.18\linewidth}
\centering
\includegraphics[width=\textwidth]{figs/question_9_\n}
\subcaption{\n Trees}
\end{subfigure}
}
\caption{RF various number of trees evaluation.}
\end{figure}
Written by iassael on . Posted in computing, general
The last few years I have been using Gmail’s priority inbox.
There have been several times that I want to clean my read messages that are not stared.
Gmail doesn’t provide a direct feature to remove more than 50. So…
You can go to search and type this: is:read -label:starred
Then click on the Select – All tick box under the search bar, and a new option Select All pages will appear
click on that too.
Finally, click on the Archive button. 🙂
Written by iassael on . Posted in computing, general, macosx
How to restore privacy:
Disable “Spotlight Suggestions” and “Bing Web Searches” in System Preferences > Spotlight > Search Results.
Safari also has a “Spotlight Suggestions” setting that is separate from Spotlight’s “Spotlight Suggestions”. This uses the same mechanism as Spotlight, and if left enabled, Safari will send a copy of all search queries to Apple.
You’d be forgiven for thinking that you’d already disabled “Spotlight Suggestions”, but you’ll also need to uncheck “Include Spotlight Suggestions” in Safari > Preferences > Search.
Advanced users can download the python script: fix-macosx.py to take care of the changes. (first install pyobjc using pip: pip install PyObjC
)
Source: https://fix-macosx.com/
Written by iassael on . Posted in android, computing, general
Most of the new devices are now forced to install Facebook Messenger.
FB Messenger is the most unfriendly app I have used as you cannot disable it and also I don’t want to be available for everybody all time…
In order to keep the good old messages that you could open whenever you wanted or at least had the choice you can follow the steps:
1) Uninstall official FB Messenger (yeah it feels nice!)
2) Go to Settings -> Security and enable “Unknown sources”
3) We will trick the FB app check by using a dummy app with the same name “com.facebook.orca” but with nothing inside!
4) Download http://blog.ic3man.gr/Facebook.Messenger.Deactivator.apk
( 4.optional You can also compile it yourself from https://github.com/iassael/facebook-messenger-deactivator )
5) Install it! Tada! Now you can be peaceful and notificationless again…
Cheers~
Written by iassael on . Posted in computing, general
The following solution is for google chrome and uses the “verbatim” search tool to acomplish the good old functionality.
1) Go to options and edit your Search Engines
2) Add a new search engine with the following code
{google:baseURL}search?q=%s&{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}&tbs=li:1
3) Set it as default
4) And let the good old times roll …
Written by iassael on . Posted in computing, general, iOS
Fully working Magic Mouse everything is here: http://www.trackpadmagic.com/magic-mouse/download
Written by iassael on . 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%