This file contains 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
<template> | |
<div> | |
<h1>Fingerprintjs2 with Vue</h1> | |
<div v-if="loading"> | |
Getting Information... | |
</div> | |
<div v-else-if="!loading"> | |
<p style="color:red" v-if="(fingerprintID != '') && (fingerprintID != dbprintID)">YOU'RE FAKE</p> | |
<p style="color:green" v-else-if="(fingerprintID != '') && (fingerprintID == dbprintID)">YOU'RE LEGIT</p> | |
<p> |
This file contains 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
gcloud container clusters create nucleus-backend \ | |
--num-nodes 1 \ | |
--network nucleus-vpc \ | |
--region us-east1 | |
gcloud container clusters get-credentials nucleus-backend \ | |
--region us-east1 | |
kubectl create deployment hello-server \ | |
--image=gcr.io/google-samples/hello-app:2.0 |
This file contains 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.sckim.fbtodoapp; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.text.TextUtils; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; |
This file contains 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
app.controller('LoginCtrl', ['$scope', '$firebaseAuth', '$location', function($scope, $firebaseAuth, $location) { | |
// Initialize authObject as | |
$scope.authObj = $firebaseAuth(); | |
$scope.loginSubmit = function() { | |
$scope.submitted = true; | |
console.log($scope); | |
console.log($scope.player_email + ' ' + $scope.player_password); | |
$scope.authObj.$signInWithEmailAndPassword($scope.player_email, $scope.player_password).then(function(firebaseUser) { | |
console.log("User " + firebaseUser.uid + " Signed in!"); |
This file contains 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
// DATA PASSING TO INPUTS when Document Ready | |
// SITUATION: ngModel != $viewValue <input type="text" name="food_name" ng-model="part1.food_name"> | |
angular.element(document).ready(function($event) { | |
// Get CURRENT URL Params (May replace with $http request | |
var url = $location.search(); | |
console.log(url); | |
// Get name attribute of form element | |
console.log($scope.userForm); | |
$scope.$apply(function() { |
This file contains 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.data.myapplication; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.TextView; |
This file contains 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
<link rel="import" href="../../bower_components/polymer/polymer.html"> | |
<link rel="import" href="../../bower_components/iron-collapse/iron-collapse.html"> | |
<dom-module id="my-speaker"> | |
<style> | |
h1 { | |
font-weight: 200; | |
font-size: 42px; | |
position: absolute; | |
bottom: 64px; | |
color: white; |
This file contains 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
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
/.idea/libraries | |
.DS_Store | |
/build |
This file contains 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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<polymer-element name="my-element"> |
NewerOlder