Google Apps Scripts can be used to automate tasks such as "sending emails, scheduling calendar events, creating and updating site pages using data from other systems, and more."
You can create a script in Google Sites by clicking "More actions" > "Manage site" > "Apps Scripts." Once created scripts can be embedded on any Google Sites page.
In mobile browsers, you need to be especially careful about
using timers because of the battery consumption. If you need to use many
high-frequency timers at the same time, try to manage them using
only one timer that will launch different behaviors from the same
process.
The first question we need to ask ourselves is, what happens
when our web page goes to the background because the user switches
focus to another application (in multitasking operating systems) or
opens or browses to another tab or window? Another problem is what
happens when the phone goes to sleep (because of the user’s inactivity
while the script is executing). The behavior of timers can be a little
tricky in these situations.Yet another problem is that timers execute on the same thread as
the main script. If our script is taking too much processor time (a
normal situation with large scripts on low- and mid-end devices), our
timers will be delayed until some spare execution time is
found.If we use a low frequency for the timer (for example, 10
milliseconds), the timer will generally have problems meeting the
timetable.Remember that the JavaScript execution time depends a lot on the
device hardware and the browser’s engine. Even if they’re running the
same operating system, like Android, execution times can differ: for
example, an HTC G1 will be much slower than a Nexus One with a 1-Ghz
processor.
As shown in Figure 4, the real times
are very different on different devices. On low- and mid-end devices,
if they work at all, the result is far from our 200 ms intention—some
low-end devices don’t even accept timers with a frequency of less than
1 second.
Table 11. Timers support compatibility tableBrowser/platformTimers
availableTimers in
backgroundSafariYesStopped. From iOS 4.0:
continue working while in other browser's
window.Android
browserYesStopped.Symbian/S60YesStopped. From 2.2:
continue working while in other browser's
window.Nokia Series
40No webOSYesContinue
working.BlackBerryNo NetFrontYesNo
multitasking.Internet
ExplorerYesStopped.Motorola Internet
BrowserNo Opera
MobileYesContinue
working.Opera
MiniNo Note:The Gmail for Mobile team discovered some issues with timer
behavior on mobile Safari and Android devices, and made the results
public in the team blog at http://www.mobilexweb.com/go/timers. The conclusions
are: for low-frequency timers (1 second or more), there are no
performance issues, and you can add as many as you want; for
high-frequency timers (for example, 100 ms), though, every new timer
created makes the UI more sluggish. The preferred solution is to use
only one high-frequency timer.
MDs, you might be interested in this for creating mobile apps, esp games. Basically, it uses Lua, a popular scripting language for professional game studios, which can be converted into native Obj-C or Android code using its SDK. And oh, it's open-source! :)
A course registration system implemented in Google Docs. This template lets you send out a customized reply to people who register for a course. Your students can fill out a form to indicate which session they want to attend. Based on other submissions, the script can figure out which sessions are still open and send an automatic reply thanking people for registering and informing them of which session they got into.
Well,
that was quick. Right after yesterday's surprising announcement,
Sony flew its yet-to-be-released NEX-VG10 camcorder into London just in time for
today's showcase event. Naturally, we had to get our hands on this shiny baby,
and boy we were impressed. In case you missed the news, this snazzy device is
the world's first consumer HandyCam with interchangeable lens, meaning you can
share E-mount lenses with your young NEX DSLRs, or take advantage of
the abundant A-mount lenses with the help of an adapter (which will cost you
extra, mind you). Likewise, there are also hot and cold shoe mounts on the mic
shaft to cater your current camera accessories. Read on for our thoughts on the
rest of the camcorder -- we've put together a little sample clip for you at the
end as well.
There
isn't much to complain about with this $2,000 (and, sadly, possibly £2,000 for
the Brits) piece of kit in terms of appearance and ergonomics. We like being
able to hold it by either the seemingly solid body (using the strap) or the mic
shaft, and both ways provided comfortable grip without much fatigue due to the
light weight (even with the bundled lens). We were also able to quickly master
the jog-dial control next to the 3-inch screen, but for this price, we expected
a touchscreen interface as well to make life easier. As for the bundled F3.5-6.3
18-200mm lens, we found that zooming required a bit more effort than we liked,
so thankfully there's auto focus mode -- just like any ordinary camcorder -- to
save us from further wrist work with the focus ring. We must also point out that
unlike the Olympus PEN,
this Sony camcorder didn't pick up any mechanical noise from its lens auto
focussing; otherwise, this kit totally wouldn't deserve such price tag.
Of
course, what we really care about is the picture and sound quality. All is
revealed in our sample reel below (remember to enable HD playback mode), but in
brief: stunningly accurate colors, sharp 1080/60i picture, and impressive audio
sensitivity (notice how the mic was able to pick up conversations from afar; you
can also enable just the front mics to minimise background noise). You may
notice some shakiness while we were adjusting the lens -- we'll blame it on our
lack of practice from the little hands-on time we had. Regardless, the NEX-VG10
certainly lived up to our expectation, and we look forward to hear what the
filming hobbyists think of this prosumer-level camcorder when it comes out in
September.
Update: commenter
aim120 dropped us a link to Sony's own sample clip. Enjoy!
everyone can create your own movie,All you do is write a script, then drag various "action icons" into the script for things like camera angles, facial expressions, gestures, and animations
In a few months, another graduating class of college students will stumble out into an unforgiving job market weighed down by staggering debt. But one school in one of the hottest hiring markets in the country is flipping the script on student loans: until you get a job, you don’t pay.
Gmail Meter is an Apps Script which runs on the first day of every month and sends you an email containing different statistics about your Inbox. In a similar way to how recently introduced Google Account Activity gives key stats about how you’ve used your Google Account, Gmail Meter gives you different types of statistics that will help you analyze your Gmail habits.
This and the previous resource are nice finds! I shared them on Twitter and the facilitator who helped us with our Google Workshop for Educators (GWE) commented that they were excellent tutorials.
Thanks Bernard! After looking at the code, it's almost perfect except for one thing: we need to store the form on our own server. (But yes, the Google spreadsheet linked to the form should still be updated automagically.) Would it be ok to use CeL's own server to host our own HTML pages for this purpose?
If it's CeL services or related materials, having it in CeL server is not an issue. example : e-Fiesta 2012 registration page. For personal usage or for AGs I advise the htmls to be stored on their own server space.
nude.js is a JavaScript implementation of a nudity scanner based on
approaches from research papers. HTMLCanvas makes it possible to analyse image
data and return whether it's nude or not. The script only detects nudity, the
rest of the programming logic (image swap/auto-save ;-) /whatever) belongs to
the programmer.