Skip to content

Instantly share code, notes, and snippets.

View christopherdongo's full-sized avatar

Christopher Dongo Huarancca christopherdongo

View GitHub Profile
@misho-kr
misho-kr / Architecting with Google Kubernetes Engine: Workloads.md
Last active March 1, 2022 13:42
Summary of "Architecting with Google Kubernetes Engine: Workloads" from Coursera.Org

Learn about performing Kubernetes operations; creating and managing deployments; the tools of GKE networking; and how to give your Kubernetes workloads persistent storage.

Kubernetes Operations

Learn about the kubectl command, a command line utility used to interact with and manage the resources inside Kubernetes clusters. Connect it to Google Kubernetes Engine clusters, and use it to create, inspect, interact and delete Pods and other objects within Kubernetes clusters. Use kubectl to view a Pod’s console output, and sign in interactively to a Pod.

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@mrcodedev
mrcodedev / tipsReactNativeForMe.md
Last active February 21, 2023 23:24
Tips React Native

:trollface: Tips React Native :trollface:

Este es un Gist propio donde puedo meter la pata :trollface:

💭 Comentarios

Para añadir comentarios entre el código sólo hay que añadir {/* */}. Vamos a verlo con un ejemplo:

    <View style={styles.container}>
        <Button title="Ir atrás a pantalla de logueo" onPress={()=> this.props.navigation.goBack()} />

        {/* Go to the Top of the Stack Navigator */}
@tanaikech
tanaikech / submit.md
Last active March 20, 2024 04:21
Upload Files to Google Drive using Javascript

Upload Files to Google Drive using Javascript

News

At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive. When this is used, the large file can be uploaded. You can also use this js library.

Description

This is a sample script for uploading files to Google Drive using Javascript. The files are uploaded by Drive API v3. gapi.client.drive.files.create() can create an empty file on Google Drive. But it cannot directly upload files including contents. I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the future update. So now, as one of workarounds, I use using XMLHttpRequest.

  • This sample uses gapi.
  • Before you use this, please enable Drive API at API console and carr
@staltz
staltz / introrx.md
Last active May 6, 2024 01:44
The introduction to Reactive Programming you've been missing
@labnol
labnol / google-apps-script.md
Last active March 25, 2024 14:50 — forked from junaidk/resources.md
How to Learn Google Apps Script

Learning Google Apps Script

Find the best resources for learning Google Apps Script, the glue that connects all GSuite services including Gmail, Google Drive, Calendar, Google Sheets, Forms, Maps, Analytics and more.

A good place to learn more about Google Apps Script is the official documentation available at developers.google.com. Here are other Apps Script resources that will help you get up to speed.

  1. Google Apps Script Code Samples by Amit Agarwal
  2. Google Apps Script Development - Create Google Apps Script projects locally inside VS Code - video tutorial
  3. Awesome Google Scripts by Amit Agarwal
  4. Google Developer Experts - Follow Apps Scr
@hubgit
hubgit / google-drive-upload-pdf.php
Created April 30, 2012 17:13
Upload a PDF file to Google Drive
<?php
require 'google-api/apiClient.php';
require 'google-api/contrib/apiOauth2Service.php';
require 'google-api/contrib/apiDriveService.php';
$pdfFile = 'test.pdf';
// API Console: https://code.google.com/apis/console/
// Create an API project ("web applications") and put the client id and client secret in config.ini.