Pages

Showing posts with label google. Show all posts
Showing posts with label google. Show all posts

Friday, January 3, 2020

Fedora 31 : Test Google locally Apps Script CLI.

The Apps Script CLI, or clasp, is a tool that lets you create, edit, and deploy Apps Script projects locally like Sheets, Docs, Forms, and Slides.
[mythcat@desk ~]$ mkdir google
[mythcat@desk ~]$ cd google
[mythcat@desk google]$ sudo dnf install nodejs
[sudo] password for mythcat: 
Last metadata expiration check: 2:03:50 ago on Fri 03 Jan 2020 11:37:12 AM EET.
Dependencies resolved.
================================================================================
 Package          Arch        Version                        Repository    Size
================================================================================
Installing:
 nodejs           x86_64      1:12.13.1-1.fc31               updates      413 k
Installing dependencies:
 nodejs-libs      x86_64      1:12.13.1-1.fc31               updates       19 M
 npm              x86_64      1:6.12.1-1.12.13.1.1.fc31      updates      3.4 M
Installing weak dependencies:
 nodejs-docs      noarch      1:12.13.1-1.fc31               updates      2.4 M

Transaction Summary
================================================================================
Install  4 Packages

Total download size: 25 M
Installed size: 132 M
Is this ok [y/N]: y
...
Complete!
The clasp uses requires Node.js >= v6.0.0. Let's install it:
[mythcat@desk google]$ sudo npm install n -g
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
+ n@6.1.3
added 1 package from 4 contributors in 0.705s
[mythcat@desk google]$ sudo n latest

  installing : node-v13.5.0
       mkdir : /usr/local/n/versions/node/13.5.0
       fetch : https://nodejs.org/dist/v13.5.0/node-v13.5.0-linux-x64.tar.gz
   installed : v13.5.0 (with npm 6.13.4)

Note: the node command changed location and the old location may be remembered in your 
current shell.
         old : /usr/bin/node
         new : /usr/local/bin/node
To reset the command location hash either start a new shell, or execute PATH="$PATH"
[mythcat@desk google]$ sudo npm i @google/clasp -g
/usr/local/bin/clasp -> /usr/local/lib/node_modules/@google/clasp/src/index.js
npm WARN inquirer-autocomplete-prompt@1.0.1 requires a peer of inquirer@^5.0.0 || 
^6.0.0 but none is installed. You must install peer dependencies yourself.

+ @google/clasp@2.3.0
added 191 packages from 118 contributors in 53.457s 
The simple run of clasp command shows us all arguments:
[mythcat@desk google]$ clasp
Usage: clasp  [options]

clasp - The Apps Script CLI

Options:
  -v, --version                               
  -h, --help                                  output usage information

Commands:
  login [options]                             Log in to script.google.com
  logout                                      Log out
  create [options]                            Create a script
  clone [options] [scriptId] [versionNumber]  Clone a project
  pull [options]                              Fetch a remote project
  push [options]                              Update the remote project
  status [options]                            Lists files that will be pushed by clasp
  open [options] [scriptId]                   Open a script
  deployments                                 List deployment ids of a script
  deploy [options]                            Deploy a project
  undeploy [options] [deploymentId]           Undeploy a deployment of a project
  version [description]                       Creates an immutable version of the script
  versions                                    List versions of a script
  list                                        List App Scripts projects
  logs [options]                              Shows the StackDriver logs
  run [options] [functionName]                Run a function in your Apps Scripts project
  apis [options]                              List, enable, or disable APIs
    list
    enable 
    disable 
  help                                        Display help
  setting|settings [settingKey] [newValue]    Update  in .clasp.json
  *                                           Any other command is not supported
You can log in with this command
[mythcat@desk google]$ clasp login
Logging in globally...
...
This will open a webpage for authentification and ends with this text message: Logged in! You may close this page.
Now you can create a new folder for your project named clasp_code.
Use this command and arrows key to select the type of the project:
[mythcat@desk clasp_code]$ clasp create --title "my first project with clasp";
? Create which script? (Use arrow keys)
❯ standalone 
  docs 
  sheets 
  slides 
  forms 
  webapp 
  api 
...
User has not enabled the Apps Script API. Enable it by visiting 
https://script.google.com/home/usersettings then retry. 
If you enabled this API recently, wait a few minutes for the action to propagate 
to our systems and retry.
Open the URL to activate the API and run the command again to get the JSON file named appsscript.json.
You can clone an old project by script_ID.
Use this command into a new folder with the script_ID value from project menu File -> Project properties -> Info -> Script ID.
This will download the project in your current directory.
clasp clone script_ID 
To edit your project use this command:
[mythcat@desk clasp_code]$ clasp open
The next step is to pull and push operations:
[mythcat@desk clasp_code]$ clasp pull
Warning: files in subfolder are not accounted for unless you set a '.claspignore' file.
Cloned 2 files.
└─ appsscript.json
└─ Code.js
[mythcat@desk clasp_code]$ clasp push
└─ Code.js
└─ appsscript.json
Pushed 2 files.
The clasp allows you to manage versions and deployments with these commands:
[mythcat@desk clasp_code]$ clasp version "First version"
Created version 1.
[mythcat@desk clasp_code]$ clasp deploy 1 "First deployment"
Created version 2.
For more information see the GitHub webpage.

Thursday, December 26, 2019

Fedora 31 : Install Google Chrome.

Most Linux distributions come with dedicated browsers or Firefox browser.
But if you want to use Google services like Google Optimize then you will need Google Chrome browser.
Today I will show you how to install it in the Linux distribution Fedora 31.
[mythcat@desk ~]$ sudo dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
[sudo] password for mythcat: 
Last metadata expiration check: 2:29:06 ago on Thu 26 Dec 2019 07:54:58 PM EET.
google-chrome-stable_current_x86_64.rpm              16 MB/s |  59 MB     00:03    
Dependencies resolved.
====================================================================================
 Package                   Arch        Version              Repository         Size
====================================================================================
Installing:
 google-chrome-stable      x86_64      79.0.3945.88-1       @commandline       59 M
Installing dependencies:
 liberation-fonts          noarch      1:2.00.5-6.fc31      fedora            8.4 k

Transaction Summary
====================================================================================
Install  2 Packages

Total size: 60 M
Total download size: 8.4 k
Installed size: 210 M
Is this ok [y/N]: y
...
Installed:
  google-chrome-stable-79.0.3945.88-1.x86_64                                        
  liberation-fonts-1:2.00.5-6.fc31.noarch                                           

Complete!
You can start it with this commands:
[mythcat@desk ~]$ google-chrome
google-chrome         google-chrome-stable 

Tuesday, August 15, 2017

News: Google with all features and options.

Not all Google options are available for all countries.
You should make a selection option depending on country and availability.
This will relieve us of unsuccessful attempts and queries to Google.
Here are all the Google options available now.

Tuesday, August 1, 2017

Fedora 26 : Install Google Chrome.

Today I try to install Google Chrome on Fedora 26.
As you know this is one of the fastest and most well liked browsers available.
First I download of the rpm file into my Downloads folder and the I used dnf command to install into Fedora 26:
$ cd ~/Downloads
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
$ su 
# dnf install google-chrome-stable_current_x86_64.rpm
The result, the Google Chrome browser is installed and run well.

Saturday, July 15, 2017

News: Google startup program .

This is a new way to start your Google work.
This is a great idea from google maybe some team will agree with this help.
The goals from the Google team to do that is:
FEATURES:
  • GCP and Firebase Credits 
  • Office Hours 
  • 24/7 Support 
  • G Suite Online Training 
  • Advertising for Startups 
The credits come with:
SPARK PACKAGE Get $20,000 in credit for 1 year. Credit can be applied to all Google Cloud Platform and Firebase products.
SURGE PACKAGE Get $100,000 in credit for 1 year. Credit can be applied to all Google Cloud Platform and Firebase products.

Sunday, January 1, 2017

LibreOffice and Google Drive documents.

LibreOffice office suite of programs esye a free and constantly upgraded with features and improvements. It is free and especially not use special hardware or software resources.
With this solution ergonomic interface is easy to assimilate and can be used very easily by users.
Today I will show you how easy it is to work with files from Google Drive LibreOffice.
First you need to upload your work document to Google Drive.
Open your LibreOffice work document and from File menu open the Open Remote File ...
A new dialog will come and you will need to press the Add service.
Select the Google Drive and fill with your user and password.


Now you need to fill with the filename for your document and press Open.
This will let you to work with document to Google Drive.

Wednesday, December 7, 2016

News: A new image format for the Web.

The news comes from here.
WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index. Lossless WebP supports transparency (also known as alpha channel) at a cost of just 22% additional bytes. For cases when lossy RGB compression is acceptable, lossy WebP also supports transparency, typically providing 3× smaller file sizes compared to PNG.

Thursday, November 17, 2016

News: Google come with Neural Machine Translation.

In 10 years, Google Translate has gone from supporting just a few languages to 103, connecting strangers, reaching across language barriers and even helping people find love. At the start, we pioneered large-scale statistical machine translation, which uses statistical models to translate text. Today, we’re introducing the next step in making Google Translate even better: Neural Machine Translation.
We can learn more about Google translate here.

Tuesday, May 17, 2016

News: The new Google Spaces from google.

Google Space it's a way for groups to quickly share text, images, videos or links.
This news was announced yesterday by Google and is available as a web service and in form of native applications for Android and iOS.
If you want to access Spaces then this is not protected.
The only security that prevents uninvited users from accessing a Space is a random invite string.
The customization options let you change the header graphic, change colors, and add a name to space, but that is about it.
Google Spaces is part Google Plus and part Wave and will come with new features.

Tuesday, February 9, 2016

Google celebrate Safer Internet Day 2016 with one great gift.

All you have to do is check your secure account.
After that will see this message: To help celebrate Safer Internet Day 2016, we added 2 GB of free Drive storage to your Google account because you completed the Security Checkup.

Wednesday, September 30, 2015

News: Google Play Store increasing file size .

To help developers build apps , Google Play Store increasing file size limit from 50 MB to 100 MB.
Seam Google wants to encourage developers to create richer apps and games.
Also, users will see a warning only when the app exceeds the 100MB quota and makes use of Expansion Files.
You can read more at support googleplay apk

Tuesday, July 21, 2015

Google Shutting Down Google+ Photos !

Google announced in a post on its social network site, it will begin winding down Google+ Photos: on August 1st we’ll start to shut down Google+ Photos -- initially on Android, and soon thereafter on the Web and iOS. How to fix that ... ? So you need to download the new Google Photos today for uninterrupted access to all your photos, videos and albums. To do that use android.apps.photos. With the new app you’ll still be able to backup, edit, and share your photos and videos, with unlimited storage, automatic organization, and more. The biggest difference is that :
  • Google+ users had to actually visit the network on the web to access photos;
  • Google Photos has its own dedicated web interface.
Also your photos and video will still remain available for download through Google Takeout - a program that allows users to download a copy of their data stored within Google products.

Saturday, February 7, 2015

News: Twitter and Google - Firehose deal to target logged out users.

Twitter and Google are partners once again say CEO Dick Costolo.
"Twitter CEO Dick Costolo today confirmed that Twitter has signed a firehose deal with Google, which will bring tweets back into Google searches"
Read more here.

Thursday, March 20, 2014

Google Glass Spyware - install malware on the device -simply looked at a crafted QR code.

Seam google development team don’t really protect us from Google Glass device.
The main reason is one malware that uploaded more than 150 snapshots of his vision with no signal. The malware, designed by Mike Lady- 22, and Kim Paterson- 24, is disguised as note-taking software.
It takes and uploads a photo every 10 seconds when the display is off.
Read more about this here.

Saturday, December 21, 2013

News about google : Google Compute Engine is now Generally Available

The last newsletter from Google comes with ...

Google Compute Engine is now Generally Available with a 99.95% monthly SLA and 24x7 support. We've eliminated maintenance windows with live migration, cut prices by 10%, added support for Red Hat, SUSE, FreeBSD, or any Linux variant you want, and introduced new 16-core instances.

Google Compute Engine is Generally Available (GA), offering virtual machines that are performant, scalable, reliable, and offer industry-leading security features like encryption of data at rest.
Also, the Compute Engine supported two of the most popular Linux distributions, Debian and Centos and support for SUSE and Red Hat Enterprise Linux (in Limited Preview) and FreeBSD.



Friday, September 13, 2013

Insync can help with Google Drive files.

I read a good article from linux jurnal website.

This is about Insync software and Google Drive.

So I try it and is very good to have it in your linux distro.

The Insync software let you to have files from google drive on your linux , sync and make conversion from Google Docs format to LibreOffice.

You have also one tray icon , something like Dropbox with a nice menu.

The application from Insync comes for Fedora , Ubuntu and Debian.

First windows of instalation is very intuitive...see

... will ask you to accept some things...

First you will have 15 days of trial and after that the price will start from 9,99 $.

The menu of tray icon cam be show with right click and this allow you to make all changes.

Is a great tool but if you sum all prices from all applications and google plans ( $4.99/month for 100Gb) will see this will take some money from you.

Thursday, August 15, 2013

News: find your own personal information through Google Search.

The good news about Google come from the official blog with this article.
Now you can ask google more about your flights, plans, appointments, reservations, purchases or your photos.
Your information come via encrypted connection just only for you when you're signed in to Google.
All of these features are for all users in the U.S. in English over the next few days.
My big question comes: Why come just in English... ?

Wednesday, July 31, 2013

Google Analytics - new settings to improve your website.

Now Google Analytics team help you turn your website’s data to improve results and meet your goals.

You can share your information websites with google experts and will receive account tips, new ideas and goals.

Read this tutorial about how to do that.

Sunday, July 21, 2013

Far Out tracks people using GPS to learn their routine... and even more.

Now Microsoft and Google can predict where a person will be years from now using a new computer software called Far Out.

Researchers uses this information to accurately guess their future locations.

Using all data about their job, relationship or moves house and adapts its predictions to predict the long-term human mobilty.

You can read my personal opinion about this World Domination : here.

Thursday, July 18, 2013

Google will come with new encryption.

Maybe is not a Fedora or Linux news but this can change your life.
According to this article written by news.cnet.com Google has begun experimenting with encrypting Google Drive files.
After many users and companies try to protect data with SSL and HTTPS now seam the encryption will be AES - Advanced Encryption Standard.
This not means that is still a possibility to get access data before the data is encrypted or during the user is actively connected.
This will calm down some users and companies.