Sunday 6 September 2015

Download wechat app database file off iphone or ipad

1. On pc install itunes and make a back up of iphone/ipad
2. Install iExplorer and open back up
3. Mount the app folder (AppDomain-com.tencent.xin) as a drive in iExplorer
4. Copy over mounted folder to the pc
5. Install sqlitebrowser and open db file (in the Documents/#randomnumbers/DB/MM.sqlite)

Thursday 27 August 2015

linux mint 17.1 multisystem error, The terminal (VteTerminal) widget requires a version of gtkdialog built with libvte.

I was trying to do a fresh install of windows 7 on ultrabay on Thinkpad T420s.

Upon installing all the updates and trying to make a back up so the partition can be exported to another drive, I decided to upgrade clonezilla to newest version.

As usual, I formatted an empty USB to FAT and tried to load clonezilla image.

First I got a problem, where multisystem did not load at all, stuck at 'multisystem logo'

So I tried to re-install from .sh script downloaded from official website.

Trying to use the script, it complained about xterm.

-> sudo apt-get install xterm

Once xterm was installed script started generating repository pop up (I suppose it is adding some new repo, as manual method requires it).

Then it turned unsuccessful.

A quick googling revealed manual method,
(SOURCE: https://translate.googleusercontent.com/translate_c?depth=1&hl=en&prev=search&rurl=translate.google.ca&sl=fr&u=http://forum.ubuntu-fr.org/viewtopic.php%3Fid%3D1229491%26p%3D34&usg=ALkJrhi6qDC6qOCIfS1cc3J0GTbWpBts5A)
->   sudo apt-add-repository 'deb http://liveusb.info/multisystem/depot all main'
->   wget -q http://liveusb.info/multisystem/depot/multisystem.asc -O- | sudo apt-key add -
->   sudo apt-get update
->   sudo apt-get install multisystem

'sudo apt-get update' complained about duplicate repository,
-> sudo nano /etc/apt/sources.list
then I commented out by putting # in front of 'deb http://liveusb~~'

Installed multisystem then complained about 'The terminal (VteTerminal) widget requires a version of gtkdialog built with libvte.'

Google search about the error returned a person who had the same problem, (SOURCE: http://superuser.com/questions/919442/failure-of-multisystem-after-first-install-on-mint-17-1-64-bit) and following solution page in dutch which needed to be translated. (SOURCE: https://translate.googleusercontent.com/translate_c?depth=1&hl=en&prev=search&rurl=translate.google.ca&sl=de&u=https://forum.ubuntuusers.de/topic/multisystem-findet-nicht-die-richtige-gtkdialo/&usg=ALkJrhjT7TZaQYDdWakXFCc1_DGm-Fj75Q)

I have tried other methods suggested by the first french thread,
-> sudo dpkg -i <path to gtkdialog.deb file>
using files downloaded from,
(SOURCE: http://liveusb.info/multisystem/depot/dists/all/main/).
Using version multisystem 1.0304 1.0309, gtkdialog 0.8.0, 0.8.2-1 0.8.3-2 amd64 in different combination did not yield a working install.

So I tried to purge all instances of multisystem, then did a fresh install of the newest version, which showed the gtkdialog error again.

This time, using dutch webpage solution, I compiled gtkdialog using vte as follows,
-> wget https://gtkdialog.googlecode.com/files/gtkdialog-0.8.3.tar.gz
-> decompress file to '~/Download/gtkdialog-0.8.3/', and cd into the folder
-> sudo apt-get intsall gtk+-2.0-dev
-> sudo ./configure
look for VTE... no
-> sudo apt-get install libvte-dev
-> sudo ./configure
look for VTE... yes
-> sudo make
-> sudo make install
-> gtkdialog -v
this should show 
'gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor Built with additional support for: VTE.'


Props to verdooft and everyone else I refered in resolving the problem!!

Wednesday 12 August 2015

_Halting problem

http://www.quora.com/How-can-the-Halting-Problem-be-explained-to-a-layman

_Things to do with python

www.quora.com/Python-programming-language-1/What-are-some-interesting-things-to-do-with-Python

_How to browse sqllite db file

SOURCE:
https://www.google.ca/?gws_rd=ssl#q=how+to+browse+sql+db+file

_Michener institute Genetics Technology admission requirements

SOURCE:
http://michener.ca/admissions/applying/admissions-requirements/

OPTION A

  • Canadian certified Medical Laboratory Technologist (MLT) AND
  • At least two university-level genetics courses
    • 0.5 credit in Human Genetics (1 semester-length course)
    • 0.5 credit in Molecular Genetics (1 semester-length course)
  •  These courses must have been completed within the last 10 years with a minimum grade of 70%.
CGPA will be calculated using entire undergraduate degree. Minimum CGPA of 75% must be attained in order to be considered.

OPTION B

  • Bachelor of Science (BSc) degree AND
  • At least two university-level genetics courses
    • 0.5 credit in Human Genetics (1 semester-length course)
    • 0.5 credit in Molecular Genetics (1 semester-length course)
  •  These courses must have been completed within the last 10 years with a minimum grade of 70%.
CGPA will be calculated using entire undergraduate degree. Minimum CGPA of 75% must be attained in order to be considered.
NOTE: If you are submitting a Molecular Cell Biology course as a Human Genetics course you must provide course outlines for review and approval.

 Applicant Experience Checklist

To assess your experience, ALL applicants are asked to fill out an Applicant Experience Checklist and to submit the requested supporting documents along with the form by February 13, 2015. Please note that this document must be submitted in person, or by mail or e-mail to the Admissions Office at The Michener Institute, 222 St. Patrick St. Room 500, Toronto, ON M5T 1V4 or admissions@michener.ca
Please click here for the 2015 Applicant Experience Checklist
*The PowerPoint presentation that must be reviewed while completing the Applicant Experience Checklist can be found here.
Each program offered by Michener has a fixed size, reflecting labour market demand and clinical education spaces. Therefore enrolment in the program is limited, and admission can be very competitive. Admissions to the Genetics Technology program will be determined by an assessment of academic achievement, CGPA, (35 %), professional and academic experience (15 %) and the Multi Mini Interview (50%). See Selection Process for more information.

Additional Requirements

All applicants must provide proof of English language proficiency. Applicants providing documents from overseas must complete specific document requirements.

_Make JS BOT for web application agar.io

SOURCE:
https://github.com/heyitsleo/agar.io-bot
http://www.devbattles.com/en/sand/post-1202-Writing+a+bot+for+the+browser+game+agar.io
https://www.reddit.com/r/MachineLearning/comments/38r2lq/a_bot_for_agario/