Google Sample Import Classes import com.google.android.gms.auth.api.signin.GoogleSignIn; import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.auth.api.signin.GoogleSignInClient; import com.google.android.gms.auth.api.signin.GoogleSignInOptions; import com.google.android.gms.common.SignInButton; import com.google.android.gms.common.api.ApiException; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; Implement View.OnClickListener /** * Activity to demonstrate basic retrieval of the Google user's ID, email address, and basic * profile. */ public class SignInActivity extends AppCompatActivity implements View.OnClickListener { Set up Java classes for login…
Author: admin
Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the development mode.\ Open http://localhost:3000 to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors…
Sample Script cutAndPastePdfPage.bat. This script splits a tall pdf into 2 and arrange sidewise, so it can be nicely seen in screen. You need to download and install GhostScript for PDF to image conversion , ref ImageMagick for cutting PDF page image and arranging sidewise. FFMPEG to create videos Word of Caution: ImageMagick installs its…
Google Analytics Google Analytics is a web analytics service offered by Google that tracks and reports website traffic and also the mobile app traffic & events, currently as a platform inside the Google Marketing Platform brand. Google launched the service in November 2005 after acquiring Urchin Google Analytics provides an SDK that allows gathering usage…
If you use cookies in your website, Cookie Conset Window is must. Read for more details Cookie Consent window with Vanilla JS //localStorage.removeItem("cookiesAccepted"); // this line is for testing only. always comment after testing // Check if the user has already accepted cookies if (!localStorage.getItem('cookiesAccepted')) { //alert("cookiesAccepted is " + localStorage.getItem('cookiesAccepted')); // Display the cookie…
Some usefull references FB Developer Page My Apps Page change username Web apps JS JS SDK APIs Graph API SDKs PHP SDK Access token with PHP Access Token with PHP from JS Android SDK Sequence Sequence Diagram1 On access of an url or in welcome page the Facebook Login button is shown. The user will…
Simple concat Code concat.bat @echo OFF setlocal ENABLEDELAYEDEXPANSION rem 1366×768 set BG_W=1366 set BG_H=768 set SLIDE_DURATION=4 set IMG_TYPE=JPG set /a TOTAL_IMAGE_FILES=0 set PICS_FOLDER=PICS set VIDS_FOLDER=VIDS for %%f in (./%PICS_FOLDER%/*.%IMG_TYPE%) do ( set /a TOTAL_IMAGE_FILES=TOTAL_IMAGE_FILES+1 rem https://stackoverflow.com/a/2919699 rem echo TOTAL_IMAGE_FILES is !TOTAL_IMAGE_FILES! rem echo file name is %%f rem https://stackoverflow.com/a/45811503 set filename[!TOTAL_IMAGE_FILES!]=%%f set TEMP_FILENUM=!TOTAL_IMAGE_FILES! echo filename[!TOTAL_IMAGE_FILES!]…
Basically it refers to software algorithms that are able to learn – becoming better and better at carrying out one specific task as they are exposed to more data. This article is based on [this video] Intelligence AI is defined as the simulation of human intelligence processes by machines espescially computers. Many times intelligence is…
Main Ref Another ref Ref for Login with DB Facebook login manual flow Facebook tutorial for login with JS Full JS reference Create FB App Created App Under Settings >> Basic set App domains get App Id and App secret Download facebook graph sdk Graph SDK Git composer require facebook/graph-sdk copy index.php and profile.php replace…
change format if required Often Adobe premiere exports in mpeg set sourceFile=yogaIntro set sourceFileFormat=mpeg set targetFile=%sourceFile%WithLogo ffmpeg -i %sourceFile%.%sourceFileFormat% %targetFile%.mp4 -y Perform concat ffmpeg -y -i "yogaIntroWithLogo.mp4" -i "yogaOutroSilent.mp4" -filter_complex "[0:v] [0:a] [1:v] [1:a]concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -y concat.mp4