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 | |
| # This script will extract the certificate and key from an .ovpn file | |
| # into their own files, which makes it possible to use them to configure | |
| # the VPN using Ubuntu's network manager | |
| # Usage example: | |
| # >> ovpnconvert username.dev.ovpn | |
| # You can keep following these instructions here: |
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.) Create a file to store our credentials: | |
| sudo nano /etc/postfix/sasl_passwd | |
| 2.) Add something like this: | |
| smtp.gmail.com:587 [email protected]:password | |
| 3.) Now run: |
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
| #!/usr/bin/env bash | |
| # check if any emulator name was specified | |
| if [ -z ${1+x} ]; | |
| then echo "No AVD name is specified. Creating and powering on AVD Carl_Sagan by default"; | |
| emulatorName="Carl_Sagan"; | |
| else | |
| emulatorName=$1; | |
| fi |
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 | |
| sudo mount -o remount,size=10G,noatime /tmp |
The best resource for learning Google Script is the official documentation available at developers.google.com. Here are other places that will help you get up to speed.
- Case Studies - Sample Google Script Projects (google.com)
- Google Apps Scripts - Snippets by +Amit Agarwal
- scoop.it/t/gas by +Martin Hawksey
- Awesome Google Scripts by +Amit Agarwal
- O'Reilly - Apps Script - by +James Ferreira
- Apps Script Webinars - YouTube - by +Eric Koleda and +Arun Nagarajan