Skip to content

Instantly share code, notes, and snippets.

View jawache's full-sized avatar

Asim Hussain jawache

View GitHub Profile
@jawache
jawache / asim.yml
Created March 15, 2024 15:12
asim sample manifest file for IF workshop 03/24
name: My Manifest File
description: My First Manifest File 💚
aggregation:
metrics:
- 'carbon'
type: 'both'
initialize:
outputs: ['yaml', 'csv']
plugins:
group-by:
@jawache
jawache / asim-static.yml
Created March 15, 2024 15:10
asim-static sample IF manifest file for workshop 03/24
name: Asims Static Manifest File
description: Asims Static Manifest File
aggregation:
metrics:
- 'carbon'
type: 'both'
initialize:
outputs: ['yaml', 'csv']
plugins:
group-by:

Setup Instructions

  1. Join our [Slack]

This is the most important thing to do, join our [Slack]! All of the help and support for this workshop will be available through there.

Once you are in then join the channels #mojifier-2-workshop and #mojifier-2-help

  1. Install Docker
// What will the below code print out?
var asimsVar = 3;
asimVar = 1;
console.log(asimVar)
@jawache
jawache / base.html
Created March 20, 2013 17:24
Using PIL on Google App Engine to manipulate images and store inthe blobstore
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>
<title>Hello World</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
{% block content %}
{% endblock %}
</body>
@jawache
jawache / main.ts
Last active May 7, 2018 12:54
AngularJS Migration Course Resources - Step 6
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {UpgradeModule} from '@angular/upgrade/static';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
@NgModule({
imports: [
BrowserModule,
UpgradeModule
]
[
{
"name": "Kevin Wimmer",
"position": "Centre Back",
"jerseyNumber": 27,
"dateOfBirth": "1992-11-15",
"nationality": "Austria",
"contractUntil": "2020-06-30",
"marketValue": "7,500,000 €",
"teamCode": "THFC"
[
{
"name": "Manchester United FC",
"code": "MUFC",
"shortName": "ManU",
"squadMarketValue": "394,550,000 €",
"crestUrl": "http://upload.wikimedia.org/wikipedia/de/d/da/Manchester_United_FC.svg"
},
{
"name": "Tottenham Hotspur FC",
[
{
"id": "counter-cafe-london",
"phone": "+447834275920",
"review_count": 64,
"name": "Counter Cafe",
"is_claimed": true,
"mobile_url": "http://m.yelp.com/biz/counter-cafe-london?utm_campaign=yelp_api&utm_medium=api_v2_search&utm_source=01NP2O5ev6ILXe3KudfrHA",
"rating_img_url": "https://s3-media4.fl.yelpcdn.com/assets/2/www/img/c2f3dd9799a5/ico/stars/v1/stars_4.png",
"display_phone": "+44 7834 275920",
@jawache
jawache / typescriptcrashcourse_es6_arrow.js
Last active April 5, 2017 02:50
typescriptcrashcourse
let obj = {
name: "Asim",
sayLater: function() {
// this...
setTimeout(() => console.log(`${this.name}`), 1000)
}
};
obj.sayLater();