Saturday, 20 December 2014

Installing Chrome on Linux

First purge system of all chrome

sudo apt-get purge google-chrome-stable
and then
sudo apt-get autoremove

Now we'll first install some necessary libraries for Chrome.

Taken from http://askubuntu.com/a/79284

sudo apt-get install libxss1 libappindicator1 libindicator7

Let's download

For 64 bit system:
  • Stable:
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    
  • Beta:
    wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
    
    Dev/Unstable:
    wget https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
    
For 32-bit system:
  • Stable:
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
    
  • Beta:
    wget https://dl.google.com/linux/direct/google-chrome-beta_current_i386.deb
    
  • Dev/Unstable:
    wget https://dl.google.com/linux/direct/google-chrome-unstable_current_i386.deb
    

Install Chrome:

sudo dpkg -i google-chrome*.deb
Installing it this way ensures that a PPA is added to your system so that Google Chrome receives the latest updates whenever you check for system updates.
Now run Chrome with google-chrome-stable or google-chrome-beta or google-chrome-unstable depending on what you installed.
Happy Browsing!!!

Wednesday, 25 June 2014

Thursday, 15 August 2013

Google Africa Communities Summit – #gsummit2013

reposted from the That's so Jackie Blog

#gsummit2013


The Google Student Ambassador Summit is an event that took place here in Nairobi during the first week of July. As much as I was glad to be a part of the host country I must say I really wanted it to be in another country! This could have given me a chance to experience a different setting and environment, but anyway, it was all good though. 

The main purpose of this summit was to introduce the new class of Google Student Ambassadors (GSAs) in Sub Saharan Africa (SSA).  This class constituted of about 150 students from over 80 universities around Africa. I was part of them representing team Kenya. Apart from the GSAs, in attendance were also the GBGs and GDGs, Google Business Groups and Google Developer Groups respectively. 


So, who is a GSA?

Google Student Ambassador is a student who acts as a liaison between Google and their university. They can be pursuing any major ranging from Computer Science, to Anthropology, to Business and even Zoology. Provided they are thrilled by new technology, are enthusiastic about Google, and are involved in their school communities. These ambassadors:  Learn about innovative Google products and programs, plan and host fun events on campus, act as a campus contact for Google teams and help Google better understand each university’s culture.

Break time stunts



So the summit was a three day hands-on training on the Google products and tools for education. It took place at the Visa Oshwal Community Centre. The place was nicely decorated and looked very Googley :)





Different Googlers (people who work in Google), took to the stage to talk about the products they are most proficient in. We were also trained on how to host good events which are one of the key tasks of being a GSA. And that was tested on the final day of the summit where in groups of ten, we were to demonstrate how to host an event! That was a hilarious demonstration. The best three teams were awarded with Google swag. They never told us, but I’m sure my group (group 7) came in fourth :)




In between speakers we had an opportunity to stretch and relax with coffee breaks and dance breaks. I am a shy one but I did take to the stage once hehe! Shout out to +Lethabo Ntshudisane  who was probably the most memorable dancer of them all! He can bust a move. 

Every night we had different activities to do, from bowling, playing pool, to watching a movie (The internship) at the Planet Media Cinema.


Getting ready for the movie :)


Then there was the carnival where we got to indulge our inner children, let go and have fun. There was cotton candy, ice cream, music, games and of course, crazy pictures.

Being Googley




But the crème of it all was the cultural night which was on the last night. It was held at Panari Hotel. We had a strict meat dinner. No carbohydrates, no vitamins…just meat! This was some sort of revenge because of all the vegetarian meals we were having during the day. This night every one was required to come in their traditional regalia. And as you would expect, ¾ of the Kenyans went as Masaai! I was not an exception to that rule hehe!

The Panari Hotel




Where we stayed


We were all checked in the Southern Sun Mayfair which is one of the most historic hotels in Nairobi. It is a beautiful facility which is situated very close to the city center. We were two in each room. My roommate was +Nomfundo Tyelentombi  from South Africa. The rooms were beautiful and had many features ranging from satellite TV, Designated work space, Phone and fax facilities, Tea and Coffee makers, and the most notable of all...High Speed WiFi #Sigh




What we ate


Breakfast was a delight. It was served at the hotels dining area and it was buffet. So you can only imagine! Meat comprised about 2/3 of everyone’s plate with the occasional bread and muffin on the side. This was particularly so because lunch was served at Visa Oshwal which is a Hindu ran facility and did not therefore offer any meat! We went vegetarian, at least that was during the day

Veggie pizza and other veggie stuff


Nairobi City life


A special shout out to +charz maina  and +betty mutimba  who took it upon themselves to direct and take out the GSAs to enjoy the city life in Nairobi. They are fully accountable for all the sleepy people we had during the days' training! Hehe :)


Overall

Congratulations to team South Africa that came in first in the overall challenge. Followed by team Cote d'Ivoire which came in second. Team Kenya came in third and it tied with Cameroon, props guys. P.S. Team Kenya needs to discuss that moonshot thingy.. #gafricamoonshot



South African wear right there


This post would not be complete without the mention of bus #3! Bus 3 members, you guys are awesome. I doubt any other bus had more fun than us. A big thank you to the outgoing GSAs +Chris C'otewa and +joshua eyaru who took their time to show us around and guide us through the process. And the Googlers are awesome, they taught us well. Plus they can dance too ( +Chukwuemeka Afigbo +Jeminatu Alabi-Isama +Tayib Fall +Giacomo Gnecchi Ruscone ... I saw ya'll! Hehe...)

I told you they danced :)


What we shared with each other and obtained during the summit is truly irreplaceable. We learnt and gained a lot of insight from the training. The experience was remarkable. Apart from that, we all made so many new friends across the borders. And the fire of keeping in touch is still burning strongly. I miss everyone! Much love goes out to +Success Maake +Jake Neethling +Jason Botha +chibi mosiea +Emmanuel Chenze +Victor Mutunga Mutua +Jeffrey Godwyll +Nonhlanhla Mkwanazi +Saviour Gidi +Jackson Isack +LAWAL MOSHOOD +Chintan Gohel (you answered all the questions dude, making us look bad!!) +Pinky Mokemane +Shadrach David +Nomfundo Tyelentombi (roomie) +FAITH MUCHANGI +Elizabeth Akinyi Awino +Dorothy Elorm +James Odede +cliff Ombiru +OUEDRAOGO DANIEL KENANIA (even if you went without saying goodbye) +Lubega Ham +Laban Ndwaru +IKANE Challengee +Abebe Assefa (thank you for teaching me pool) +Maereg Demeke +Christina Sukop +Ajah David +ADESOJI BELLO +Nana Mensah +Khalifa Qwami +Gilbert Bosomtwe +Caleb Mbakwe +Aida Bezarediet  +iyanuoluwa bolarinwa +Kesho Kioko +Dickens Otieno +Beryl Obiero +Ankwasa Bernadine +Ian Duncan m  +Stephen Mudibo +Kate Njenga +Roderick KERRY OYUGA +Walter NGOUAMO +Emmanuel Osinaike +Timothy Mwirabua and my partners in crime +njihia jeremy and +Jacquey Njue. Forgive me for not mentioning every one but we are sooo many, i couldn't have gotten all the names in. But just know...i got you all :)

Are you on the line??

Presenting +Google Student Ambassadors Sub-Saharan-Africa of year 2013-2014


People just couldn't sit still for a photo

Theme song: Kukere-Iyanya
Hashtag: #gsummit2013 (it trended the whole time during the summit)
Doing cool things that matter!

Thank you for reading this
#happydays

Sunday, 23 June 2013

Literacy in Ghana

Data about the level of literacy of the people of Ghana is readily available on the web. Sadly even reputable sources like the Ghana Statistical Service (http://www.statsghana.gov.gh/edu_stats.html) fail to provide visual representation as to the actual locations especially those with an alarming rate of illiteracy. Hence my map is to bridge this gap and help volunteers as well as the government see this and act accordingly. See the full map HERE


Wednesday, 22 May 2013

Good Practices

"Refactored" or “forked” from http://www.cplusplus.com/forum/lounge/6195/

You might want to check the original out or just go by these “commandments” and write better C++ code in general. These good practices will in one way or the other save you some headache like the ones I get trying to write quick inefficient code

1. Always use header guards.

2. Always follow The Standard.
"Never include any header that's not one of these: A standard header, A header of a library you're using or a system API header. Never include compiler-specific headers. Compilers come and go, but the language and the systems stay."

3. Do not #include cpp files in other cpp files (Especially when using IDEs).
It's generally a better idea to use headers to declare class and function names, as multiple declarations don't cause the compiler to raise errors, while multiple definitions do.

4. Use indentation
For example, I indent using tab spaces or 4 spaces inside each block.

5. Adopt a naming convention and be consistent.
There are a whole bunch of advices out there for newbies but I feel the real advice should be: adopt a naming style and try to keep the naming consistent and meaningful especially when you are not the only one going to work with it. Remember not to touch reserved words. That’s about it.

6. Use whitespace.
You know, for clarity! This is a no brainer really. Who wouldn’t use whitespace? Even text editors (except the crappy ones of course) and IDE’s include them whether you like it or YES ;p

7. "Functionize!"
Inheritance becomes a breeze + makes everything simpler. The reason I love java atm.

8. Use “const” correctly.

9. Include exceptions to handle runtime errors.
You probably don’t want your program to hang during runtime so just include them and be free. Oh and always ignore that little voice that likes to start sentences like "why would anyone want to..." and "what kind of “mental nerd” would try to...”. Unless you the programmer is also the user or the only user, there's always someone who wants to do it, and a “mental nerd” who tries to do it. It's advisable to obey users and punish “mental nerds”. Oh and finally you the programmer, please try to think like a “mental nerd” would. It helps in dealing with them in general.

10. Ask for help and advice.
I believe this to be the best along with the next. Try to analyze what you've put down for what it actually does and not what you expect it to do. Beginners (and not so beginners) all too often either fall into the habit of either asking for help the instant something isn't obvious, or spend days trying to solve a minor problem before asking for help. Remember the 30-minute-rule. Really try, but after 30 minutes, google it or head over to stackoverflow.

11. Take a break.
There’s the tendency to spend hours on end coding or figuring out what something does. It can be fun (like seriously). Just don't be afraid to stop and walk away for a few when something is kicking your butt. If you stay, your frustration grows and the answer gets further from your mind (at least it does for me). Be sure to keep a video game in or nearby the system where you do your coding so that can relax during these periods. Something not too exciting is preferable (Although I delight in beating someone to an "exciting" game or 2 of FIFA). It's also probably better if you don't need to think too much to play it. When looking through code for errors, it's sometimes useful to go backwards. That way you look at each line for what it is rather than what you expect it to be.

Wednesday, 15 May 2013

Google I/O 13 Live

Friday's event

Sunday, 7 April 2013

Don't Talk, Just Get It Done!

"This whole grass-root activism of yours isn't changing the world, it's a joke. Wanna change the world, you got to leave the living room" (or by extension the conference room or wherever it is you are continually preaching your stuff. LoL I know i just ruined a wonderful quote. Just couldn't resist ) From #Continuum the tv series.

I think this describes the attitudes of a lot of Ghanaians. Which conference won't we attend? How many motivational speeches won't we applaud? And yet they are always at square one. Let's collaborate on something. Anything, so long as it isn't just talking up plans with no execution in sight.

The number of amazing ideas shared in a presentation in class just got me wondering about this really important topic. It's my hope that the many teams that gave very brilliant presentations implement them.

My team is getting it done. Get it done too!