One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# Add in ~/.bashrc or ~/.bash_profile | |
function parse_git_branch () { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
RED="\[\033[01;31m\]" | |
YELLOW="\[\033[01;33m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" | |
NO_COLOR="\[\033[00m\]" |
# Build a Debian package that adds guest-account functionality to LightDM. | |
# | |
# For guest accounts to work LightDM needs a binary "guest-account" which it | |
# will run to create / destroy guest accounts.[0] The default Debian package | |
# does not provide one.[1] However, the Ubuntu package does.[2] | |
# | |
# The simple way to use this script is simply to call `make install`. This will | |
# fetch the Ubuntu package, unpack it and install only the files that are | |
# relevant for guest accounts. However, this is strongly discouraged because | |
# it bypasses the package system. |
function doGet() { | |
return HtmlService.createHtmlOutputFromFile('Form').setSandboxMode( | |
HtmlService.SandboxMode.IFRAME); | |
} | |
function createFolder(parentFolderId, folderName) { | |
try { | |
var parentFolder = DriveApp.getFolderById(parentFolderId); | |
var folders = parentFolder.getFoldersByName(folderName); | |
var folder; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<base target="_top"> | |
</head> | |
<body> | |
<form id="uploaderForm"> | |
<label for="uploaderForm">Upload multiple Files</label> | |
<div> | |
<input type="text" name="applicantName" id="applicantName" |
/* | |
PDF Creator - Email all responses | |
================================= | |
When you click "Create PDF > Create a PDF for each row" this script | |
constructs a PDF for each row in the attached GSheet. The value in the | |
"File Name" column is used to name the file and - if there is a | |
value - it is emailed to the recipient in the "Email" column. |
while true;do clear; curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep \<td\>| sed -n 2p|awk '{ gsub("[<td>\/]*[[:blank:]]*","");print}'; sleep 60; done; |
// @ts-check | |
function delay(ms) { | |
return new Promise((resolve) => { | |
setTimeout(resolve, ms); | |
}); | |
} | |
function avgColor(data, x0, y0, width, height, dist) { | |
const color = [0, 0, 0, 0]; | |
for (let y = 0; y < dist; y++) { |