Skip to content

Instantly share code, notes, and snippets.

View arevindh's full-sized avatar
🤠
Focusing

itsmesid arevindh

🤠
Focusing
View GitHub Profile
@arevindh
arevindh / assistant.service
Last active September 23, 2022 12:15
Auto start google assistant on boot
#path /lib/systemd/system/assistant.service
[Unit]
Description=Google Assistant
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/bin/bash /home/pi/assistant-sdk-python/google-assistant-sdk/googlesamples/assistant/library/hotword.sh
@arevindh
arevindh / hotword.py
Created May 20, 2017 15:22
Google hotword edit lights
#!/usr/bin/env python
# Copyright (C) 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@arevindh
arevindh / install_php_thread_php_7
Last active August 20, 2016 00:13
Install php 7 threadsafe with apache
source : https://www.linkedin.com/pulse/how-install-pthreads-php-sanjog-kumar-dash
http://www.tecmint.com/install-and-compile-php-7-on-centos-7-and-debian-8/
1. Obtain the Apache HTTP server from The Apache HTTP Server Project, and unpack it:
install apache2 using apt-get
3. Set Document root in /usr/local/apache2/conf/httpd.conf ( Check your apache binary path. Default document root is /usr/local/apache2/htdocs