Skip to content

Instantly share code, notes, and snippets.

@chergert
Created September 21, 2013 22:08
Show Gist options
  • Select an option

  • Save chergert/6654685 to your computer and use it in GitHub Desktop.

Select an option

Save chergert/6654685 to your computer and use it in GitHub Desktop.
embedded js example
snippet blah
```js
const GLib = imports.gi.GLib;
function getYear() {
let now = GLib.DateTime.new_now_utc();
return now.format('%Y');
}
```
${1:`getYear()`}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment