Skip to content

Instantly share code, notes, and snippets.

@Osmosis311
Osmosis311 / injector.js
Created March 18, 2019 19:42
Inject IM Tag
window.IntentMediaProperties = {
site_type: 'DEMO_SITE',
page_id: 'hotels.list', /* Unique and mandatory for each page */
travel_date_start: '20190520', /* YYYYMMDD */
travel_date_end: '20190528', /* YYYYMMDD */
trip_type: 'roundtrip', /* Valid values :roundtrip,oneway,multicity */
travelers: '3', /* Total number of travelers (adults+children) */
adults: '1', /* Number of adults */
children: '2', /* Number of children */
site_language: 'en', /* Two letter ISO language code for the page */
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
@Osmosis311
Osmosis311 / 0_reuse_code.js
Created August 22, 2014 12:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console