Skip to content

Show My Homework Hack

Most 13-year-olds resort to farcical excuses to avoid handing in homework. Why not hack your school's online system and take the answers directly?

And if it's going to take months of filling your piggy-bank to buy the newest Xbox game, why not hack an online store and lower the price to whatever you see fit?

Those are of some of the prospective antics of Wang Zhengyang, an adolescent who's been dubbed China's 'hacking prodigy'.

Scroll down for video 

Wang Zhengyang (pictured) is an adolescent who's been dubbed China's 'hacking prodigy,' and has developed a profile in the Chinese media

Tsinghua University in Beijing, where Zhengyang is already affiliated, despite being only 13-years-old

The junior high student is already working with Tsinghua University in Beijing, and has developed a public profile in China. 

But the media have accused Zhengyang of using his hacking prowess for mischief.

Zhengyang addressed these reports when he spoke at the 2014 Chinese Internet Security Conference in Beijing. Despite online hackings nefarious reputation, Zhangyang says he wants to use his powers for good.

'You have to attack the websites first to find its weaknesses,' he said, and explained that the school website he hacked was not for his own class but the high school students at the same school.

And as for changing the price of an item on an online store from 2,500 yuan to 1 yuan, Shanghaiist reported that 'He notified the online store of the security breach and did not make the purchase.'

In April, the teenager contacted a popular Beijing-based software called company called Qihoo 360 about a potential system flaw that could affect over 100 educational institutions in the country.

'I think those who hack all day for profit are immoral,' Zhengyang said at the conference.

'It is interesting to look for website security risks and I am overwhelmed with joy when I find one. But I will not use my talent for something illegal.'

In April, Zhengyang contacted a popular Beijing-based software called company called Qihoo 360 about a potential system flaw that could affect over 100 educational institutions in the country

The comments below have been moderated in advance.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

We are no longer accepting comments on this article.

Share or comment on this article

Services such as “Show MyHomework” provide a calendar of homework allocated to pupils and classes by their teachers.  These simple tools allow files to be attached to homework but require the files to be download to be completed and printed in a traditional manner.  These tools do not integrate the allocation of assignments/tasks with the tools to carry out the work and depend on the learner having access to the required software to complete the task (and perhaps a printer to transfer it to paper for the teacher!).

It would be great if you could integrate the calendar of assignments with the tools to complete the task AND provide a publicly viewable calendar that parents could view to see the work allocated to their child’s classes in a service that would handle all of the complexity of sharing permissions, copying files etc. for you.

Recently, I’ve been working with Google Apps for Education and particularly Google Classroom.   I’ve received numerous requests for a public calendar of homework so I set about creating just that!  I started reviewing the work at Mr Caffery’s Blog which was a good start but actually contained a number of bugs and I have revised and improved his work.  This article is intended for Google Apps for Education Administrators but feel free to give it a go 🙂 .

Setting up Gmail, Apps Script and Calendar

  1. Create a user in your Google Apps Domain for the public calendar.  You need one user for each publicly viewable calendar.  If your domain covers a number of schools then create a user for each school (myschool1@mydomain.org, myschool2@mydomain.org etc.).
  2. This user needs to be added to every classroom that will be included in the calendar. Teacher’s can invite the user and then the user has to accept the invitation or the user can just join the class in the normal way with the class Joining Code.Go to https://classroom.google.com and signup, using this user calendar user account, to your class / classes using the class code(s) or go to https://mail.google.com and accept the invitations to the classes.
  3. When assignments are set, an email is sent to each user in the classroom.  Our user account is going to filter these emails when they arrive and label them with a new label of “Classroom”.Go to https://mail.google.com.  Sign in using your Calendar User Account.
    Click the settings cog (in the top left of the screen normally)  and choose settings.
    Click Filters and then Create new filter. The Filter pop-up will appear.

    When a email is received from Google Classroom it starts with the text “New Assignment…” in the subject line. Type New Assignment* into the Subject box – the * is a wildcard which means that anything can appear after the text New Assignment.

    Then click Continue.On the next page of the popup, tick the box “Apply the label” then click in the pull down menu and then click New label. A new popup will appear.  Under “Please enter a new label name:” enter Classroom then click Create.Finally, click Create filter.

    Any new email sent which starts with “New Assignment” in the subject line will be labelled with “Classroom”.  This is how we’ll pick out the Google Classroom emails from the others.

  4. Now to add the Google Apps Script.Still logged in as your Classroom Calendar user, go to https://drive.google.com and open up your Google Drive.In Google Drive, click New and then more > and then Google Apps Script.If you haven’t used Apps Script before you’ll have to add it using ” + Connect more apps”.

    If you are adding it, just enter Apps Script in the search box of the popup that appears when you click “+ Connect more apps” and it should be the top result.  Just click the + Connect to add it. Once added it will appear in the New menu as described above.

     

    Start your Apps Script project with a new Blank Project (just double click Blank Project to start).  Click the Untitled projecttext in the top left and call it ClassroomToCalendar (just something to remember what it is!).  Then replace any code in the Code.gs window with the following:

    NOTE: There is a US version of this code on GitHub https://github.com/charlielove/GoogleClassroomToCalendar/tree/US-patch-1
     

    Remember to click Save (in the file menu or the disc icon!).

    Click the triangular play button next to the image of a bug. The script will run and will request access to your drive, mail and calendar. Allow this or it will not work.

  5. You’ll want the script to run every hour to add new assignments to the calendar.  To do this we use the Resources menu. Click Resources and then All your triggers.  Click Add a new trigger and enter the following details.And then click Save.
  6. Making the calendar public.  Finally you’ll need to go to http://calendar.google.comand choose the menu from your calendar user’s default calendar.Click calendar settings and then give the calendar a suitable name (something like “All School Homework”) and click Save.

    Now go back into the same calendar settings and click Share this Calendar.  Click the tick box for Make this calendar public and select the option See all event details.  Click Save to store this setting.

    Finally, you’ll want to embed the calendar or share it via a link.  Go back into the same calendar settings as before and there will be some code to Embed This Calendar in a web page and details of the Calendar Address – use the HTML one get a link to share with parents/carers (you could use a shortlink creator like http://bit.ly to generate a short version of this link).

The final calendar embedded looks like:

It adds the name of the class followed by the activity to the Calendar entry and includes the name of the main class teacher in the Description. Job done 🙂

The beauty of this solution is that you only need the calendar user to be added to each classroom. Other than this initial setup there is no further complex technical stuff to do!

This code is available on Github at https://github.com/charlielove/GoogleClassroomToCalendar

Like this:

LikeLoading...

ClassroomcodingDIYGoogle AppsGoogle CalendarShow My Homework

Did you like this article? Share it with your friends!