This file contains 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
import com.google.api.client.auth.oauth2.Credential; | |
import com.google.api.client.auth.oauth2.TokenResponse; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeRequestUrl; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse; | |
import com.google.api.client.http.GenericUrl; | |
import com.google.api.client.http.HttpRequest; | |
import com.google.api.client.http.HttpRequestFactory; | |
import com.google.api.client.http.HttpTransport; |
This file contains 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/sh | |
# | |
# Add a Google Analytics tag to static website files | |
# @see http://adambuchanan.me/post/26345221717/updating-google-analytics-code-on-many-static-pages | |
# Tested on MacOS 10.8.X | |
# | |
# Usage: | |
# Set the GA parameters below | |
# Execute the script from the top-level of the static site | |
# |
This file contains 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
import sys | |
import cv2 | |
import argparse | |
def detectObjects(image): | |
"""Converts an image to grayscale and returns the locations of any faces found""" | |
grayscale = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) | |
cascade = cv2.CascadeClassifier( | |
'haarcascade_frontalface_alt2.xml') |
This file contains 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/python | |
# face_replace.py | |
# Usage: python face_replace.py <image_file> [face index] | |
import sys | |
import cv2 | |
def detectObjects(image): | |
"""Converts an image to grayscale and returns the locations of any faces found""" | |
grayscale = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) |
This file contains 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
<?php | |
session_start(); | |
require_once('response.php'); | |
$kk = new Response(); | |
if (isset($_REQUEST['event']) && ($_REQUEST['event'] == 'NewCall')){ | |
/*New Call Request */ | |
$kk->addPlayText("please enter or say ten digits mobile number to which amount is to be transffered. after the beep",'2','best'); | |
$kk->addRecognize('indybol','digits_hi',5,15,'en',10); | |
$_SESSION['block'] = 'menu1_output'; | |
} |
This file contains 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
/** | |
* @OnlyCurrentDoc Limits the script to only accessing the current presentation. | |
*/ | |
/** | |
* Create a open translate menu item. | |
* @param {Event} event The open event. | |
*/ | |
function onOpen(event) { | |
SlidesApp.getUi().createAddonMenu() |
This file contains 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
SECTION | | |
2022-23 | |
=e | |
~~, | |
epee nie SS | |
. a |