This is a sample script for downloading files from Google Drive under no authorization using browser. By using this sample, you can make other users download files from your Google Drive. Even if the other users are not Google users, they can download the files.
- Add = Create a capability e.g. feature, test, dependency.
- Cut = Remove a capability e.g. feature, test, dependency.
- Fix = Fix an issue e.g. bug, typo, accident, misstatement.
- Bump = Increase the version of something e.g. dependency.
- Make = Change the build process, or tooling, or infra.
- Start = Begin doing something; e.g. create a feature flag.
- Stop = End doing something; e.g. remove a feature flag.
- Refactor = A code change that MUST be just a refactoring.
- Reformat = Refactor of formatting, e.g. omit whitespace.
- Optimize = Refactor of performance, e.g. speed up code.
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 express = require("express"); | |
const mongoose = require("mongoose"); | |
const morgan = require("morgan"); | |
const bodyParser = require("body-parser"); | |
const cookieParser = require("cookie-parser"); | |
require("dotenv").config(); | |
// import routes | |
const userRoutes = require("./routes/user"); |
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
1: Task failed with an exception. | |
----------- | |
* Where: | |
Build file '/home/vagnerlandio/Projetos/MetaCRM-App/node_modules/react-native-notifications/lib/android/app/build.gradle' line: 4 | |
* What went wrong: | |
A problem occurred evaluating project ':react-native-notifications'. | |
> Plugin with id 'kotlin-android' not found. | |
* Try: |
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
#!/bin/bash | |
remote=origin ; for brname in `git branch -r | grep $remote | grep -v /master | grep -v /HEAD | awk '{gsub(/^[^\/]+\//,"",$1); print $1}'`; do git branch --track $brname $remote/$brname || true; done 2>/dev/null |
- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
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
#!/bin/zsh | |
# A simple script with a function... | |
mexec() | |
{ | |
export THE_COMMAND=$@ | |
find . -type d -maxdepth 1 -mindepth 1 -print0 | xargs -0 -I{} zsh -c 'cd "{}" && echo "*\033[1;32mstart {} start\033[0m*" && echo "$('$THE_COMMAND')" && echo -e "*\033[1;93mend {} end\033[0m*\n"' | |
} | |
mexec ls -al |
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 response = await axios.get( | |
`http://gateway.marvel.com/v1/public/comics?ts=${timeStamp}&apikey=${apiKey}&hash=${md5}&limit=20&offset=${ | |
(page - 1) * 20 | |
}` | |
); |
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
yarn install -std=c++17 |