Github Apps?

Let’s go down a rabbit hole.

We need some checks, this was done with crazy deprecated scripts and php lint.

So this week we will revisit making a new github app for testing our php and html code.

News that #Microsoft has acquired #Github is quire exciting, you should learn how Microsoft has gone #OpenSource 

to be continued!!

 

Source: https://developer.github.com/apps/building-github-apps/creating-a-github-app/ 

Sample PHP array building and key search

We will base our code off; http://php.net/manual/en/function.array-key-exists.php

Referred as: bool array_key_exists ( mixed $key , array $array )

<?PHP
global $known_room_list; // accessible from inside the functions without session/cookie/sql
$known_room_list = array(); // get the array ready for keys

function do_something($room){
   global $known_room_list;
   if (!array_key_exists($room,$known_room_list)){
     // Do something only once per room
     $known_room_list[] = $room; // add to array
   }
}

do_something("new-slack-room");
?>

Ok Google, Voice AIY v1 Review

The Google Voice AIY v1 kit is easy, and technical. 

It is for ages 10+ IMO not 14+ with practice comes wisdom. Once you get one done, you can replicate and teach quite fast.

Here is my take away, after multiple days ~30+ minute sessions

You will Learn:

  • Raspberry Pi SD Card Flasing
  • Linux “apt update; apt upgrade”
  • Git “git pull / checkout”
  • JSON array names in Python Code
  • Google Developer 
  • Google Business Account Configuration ( only on business accounts )
  • Google Account Configuration ( individual gmail accounts )

What we have working at this point; everything – we are now writing our own local commands!!

Whats next?? Google Vision AIY

 

Friday Updates

Just a quick morning update, things are clicking much better.

If you happen to have any event photos we can put online please email them to social@towsonmakerspace.org 

We will be open at 6:30 tonight for Feet on the Street, hopefully the rain will go away!! ( Stay safe, there is flooding right now )

Tomorrow we will *not* be at the library, they have a big event, you should still go to the library, it’s gonna be really cool!