This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { google } = require('googleapis'); | |
| const axios = require('axios') | |
| test() | |
| async function test() { | |
| let accessToken = '' | |
| const jwtClient = new google.auth.JWT( | |
| `[email protected]`, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.scenecast.homepage.wallFragment; | |
| import android.content.Context; | |
| import android.os.Bundle; | |
| import android.support.annotation.Nullable; | |
| import android.support.v4.app.Fragment; | |
| import android.support.v4.widget.SwipeRefreshLayout; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.PopupMenu; | |
| import android.support.v7.widget.RecyclerView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Intent notificationIntent = new Intent(MainActivity.this,MainActivity.class); | |
| notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | |
| PendingIntent contentIntent = PendingIntent.getActivity(getApplicationContext(), 0, notificationIntent, 0); | |
| Notification notification = new Notification.Builder(MainActivity.this) | |
| .setSmallIcon(R.drawable.ic_launcher) | |
| .setFullScreenIntent(contentIntent, true) | |
| .addAction(R.drawable.ic_launcher,"add",contentIntent) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.scrolltoolbar; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.os.Bundle; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.support.v7.widget.Toolbar; | |
| import android.util.Log; | |
| import android.view.Menu; | |
| import android.view.MenuItem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ripple.ted.com.multilayoutrecyclerview; | |
| import android.graphics.Color; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.os.Bundle; | |
| import android.support.v7.widget.GridLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.LayoutInflater; | |
| import android.view.Menu; | |
| import android.view.MenuItem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package startnineyi.com.startnineyi; | |
| import android.content.Intent; | |
| import android.content.pm.PackageInfo; | |
| import android.content.pm.PackageManager; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.view.View; | |
| import android.widget.EditText; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.ted.parallellistview; | |
| import android.graphics.Canvas; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.View; | |
| import de.greenrobot.event.EventBus; | |
| /** | |
| * Created by tedliang on 14/12/16. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.ted.parallellistview; | |
| import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.graphics.Matrix; | |
| import android.graphics.Point; | |
| import android.graphics.Rect; | |
| import android.util.AttributeSet; | |
| import android.util.Log; | |
| import android.view.Display; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.ted.parallellistview; | |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| import android.util.AttributeSet; | |
| import android.widget.ImageView; | |
| import de.greenrobot.event.EventBus; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml" ng-app> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>AngualrJs</title> | |
| </head> | |
| <body> | |
| <input type="number" class="form-control" id="productPrice" placeholder="價格" | |
| ng-model="newProduct.price"> | |
| </input> |
NewerOlder