Skip to content

Instantly share code, notes, and snippets.

View sandoche's full-sized avatar

Sandoche ADITTANE sandoche

View GitHub Profile
@sandoche
sandoche / NativeScript-VueJS-example-1.vue
Created November 23, 2018 14:04
Lessons Learned on Writing Apps with NativeScript VueJS - Example 1
<template>
<Page @loaded="loaded($event)">
<ActionBar :title="title" :flat="flat"/>
<StackLayout>
<PullToRefresh @refresh="refreshList">
<ListView id="list" for="(news, index) in newsList" @itemTap="onItemTap" @loadMoreItems="updateList()" :items="newsList">
<v-template>
<StackLayout>
<NewsItem :data="news"/>
<ActivityIndicator v-if="loading"/>
@sandoche
sandoche / GetAccount.php
Last active August 1, 2018 08:54
Interact with Motive API in PHP to create an account (this should also work with ARDOR, NXT, IGNIS)
<?php
/*
* References & examples
* https://docs.motive.network/api_examples.html#Get_Account_Id
* https://docs.motive.network/api.html#Get_Account_Id
* https://docs.motive.network/api_examples.html#Get_Account_Public_Key
* https://docs.motive.network/api.html#Get_Account_Public_Key
*
* Notes

Keybase proof

I hereby claim:

  • I am sandoche on github.
  • I am sandoche (https://keybase.io/sandoche) on keybase.
  • I have a public key ASAL4BOrpeTd4bYqTVbJe-EQc3rzTDYJ-ogPUg4oTsCeHgo

To claim this, I am signing this object:

@sandoche
sandoche / Ionic Material cards.markdown
Created August 2, 2015 08:03
Ionic Material cards