yannis assael | the blog

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


Solved Windows 8.1 80072f8f Update or Store error

Written by iassael on 04/07/2014. Posted in computing

After spending a whole night getting the 80072f8f and trying all the amazing Microsoft tutorials and diagnostics finally I found a solution.
First of all, I didn’t have a problem with time (of course) nor SSL certs and such stuff. The problem was clearly the permissions of some dirs, and affected both most of my Metro apps and Windows Update. (this meant less restarts for updates for a month and its not that bad)

The problem can be solved easily by just downloading the amazing Tweaking.com Windows Repair (all in one)
http://www.tweaking.com/content/page/windows_repair_all_in_one.html

Just download the application click on all checkboxes and let it run for 3 hours, reboot and you are ready 🙂

Cheers~

  • Continue Reading
  • No Comments

Enable “Unknown Sources” via adb

Written by iassael on 02/07/2014. Posted in android, computing

Getting a Nook SimpleTouch I had to enable the android option Unknown Sources via adb shell… so first connect with usb and make sure adb debugging is on…

  1. adb pull /data/data/com.android.providers.settings/databases/settings.db

  2. sqlite3 /path_to_your_folder/settings.db

  3. update secure set value=”1″ where name=”install_non_market_apps”;

  4. .quit

  5. adb push settings.db /data/data/com.android.providers.settings/databases/

  • Continue Reading
  • 2 Comments

Homebrew: ruby bad interpreter: No such file or directory

Written by iassael on 03/06/2014. Posted in computing, macosx

After installing 10.10 DP1 Yosemite (yeah I couldn’t resist the temptation) homebrew gave me the following error:

/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory

This error can easily be fixed in the following steps:
1) Open terminal

2) nano /usr/local/Library/brew.rb

3) In the first line change “1.8” to “Current”, so it should look like this:

#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0

Cheers~

  • Continue Reading
  • 16 Comments

uTorrent stuck at Checked 0.0%

Written by iassael on 27/10/2013. Posted in computing, macosx

If you experience such a problem with uTorrent app when you add a new torrent follow these steps:

OS X
1) Open Terminal and execute this command:
cd “~/Library/Application\ Support/uTorrent” && sudo rm -f *.old
2) Open uTorrent and everything should be back to normal

Windows
1) Open Windows Explorer and navigate to the path: %AppData%/uTorrent
2) Then remove all files ending *.old
3) Open uTorrent and everything should be back to normal

  • Continue Reading
  • 6 Comments

Java convert ArrayList to double[]

Written by iassael on 25/05/2013. Posted in computing

Java can be very efficient sometimes… First, you need to to download the apache commons lang library, from here http://commons.apache.org/proper/commons-lang/. Then, using this function you can convert your List<>
double[] arr = ArrayUtils.toPrimitive(arrlist.toArray(new Double[arrlist.size()]))

  • Continue Reading
  • No Comments

Convert Javascript Date from UTC to Local Timezone

Written by iassael on 03/05/2013. Posted in android, computing, iOS

var strdate = ‘2013/05/03 03:13:00’;
var d = new Date(strdate);
var d = new Date(d.getTime() – d.getTimezoneOffset() * 60 * 1000);

used it with Titanium Appcelerator

  • Continue Reading
  • 1 Comment

Disable Google Similar Results

Written by iassael on 25/03/2013. 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 …

  • Continue Reading
  • 1 Comment

Chrome Spelling for non System Language MacOSX

Written by iassael on 05/03/2013. Posted in macosx

chrome logo

In order to make chrome check your spelling for a different language rather than the system’s (in this example Greek) you can run the following command in your Terminal.app

defaults write com.google.Chrome AppleLanguages ‘(el-GR)’ 

Για να ενεργοποιήσετε τον ορθογραφικό έλεγχο για Ελληνικά ενώ τα Αγγλικά είναι η προεπιλεγμένη γλώσσα του συστήματος σας εκτελέστε την παραπάνω εντολή στο Terminal.app . Δυστυχώς αλλάζει και η γλώσσα εμφάνισης του Chrome αλλά ενεργοποιείται ο ορθογραφικός έλεγχος ΕΠΙΤΕΛΟΥΣ!!! (:

  • Continue Reading
  • No Comments

Make Bootable USB from ISO – MacOSX

Written by iassael on 01/02/2013. Posted in computing, macosx

1) Partition your Disk with MBR (in options) in MSDOS FAT
2) Download Unetbootin http://unetbootin.sourceforge.net/unetbootin-mac-latest.zip
3) Select your ISO and click ok
4) Make your partition Active by running:
diskutil list -> find the diskN (N: number)
sudo fdisk -e /dev/rdiskN
>f 1
>write
>exit
5) Ready to boot

  • Continue Reading
  • No Comments

Safari Tab Switching with CMD+Num

Written by iassael on 05/11/2012. Posted in macosx

Safari Tab Switching is a Safari SIMBL plugin which allow switching between tabs using Cmd+1-9.
https://github.com/rs/SafariTabSwitching

  • Continue Reading
  • No Comments
  • 1
  • 2
  • 3
  • 4
  • 5