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
Wrench |
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 | |
set -xe | |
[email protected]:elearning/moodle.git | |
MOODLE_CACHE=~/gitcaches/moodle.reference | |
[email protected]:elearning/moodle-testmigration.git | |
MOODLE_ALTERNATE_REPO_NAME=test | |
if [[ $# -eq 0 ]]; then | |
echo "Entrez le nom de la branche client: [mdl31-tcs]: " | |
read branch | |
else |
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 python3.6 | |
""" | |
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . |
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
### Keybase proof | |
I hereby claim: | |
* I am ragusa87 on github. | |
* I am ragusa87 (https://keybase.io/ragusa87) on keybase. | |
* I have a public key ASAbz7DA36ZJeEWBRGlwuGKPvYseNlSa9B4nMZIaQLGkDQo | |
To claim this, I am signing this object: |
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
image: moodlehq/moodle-php-apache:7.0-stretch | |
services: | |
- postgres:latest | |
cache: | |
paths: | |
- vendor/ | |
- node_modules/ | |
variables: |
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
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
- Install node for ARMv6 (Raspberry PI 1) https://unofficial-builds.nodejs.org/download/
- Follow the official instructions.
- Edit the service
ExecStart
like this:ExecStart=/home/pi/node-v10.16.0-linux-armv6l/bin/node index.js
- Add note to you path
export PATH=/home/pi/node-v10.16.0-linux-armv6l/bin:$PATH
on your.bashrc
Check that everything is fine in the logs:
journalctl -u zigbee2mqtt -f
In your config/mail.php add this:
return [ // ..
'swisscom_mail_api' => [
'transport' => 'swisscom_mail_api',
'api_key_map' => [
config("emails.from_one") => env('MAIL_MESSAGING_API_KEY_FROM_ONE'),
config("emails.from_two") => env('MAIL_MESSAGING_API_KEY_FROM_TWO'),
],
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
interface QTimer { | |
timeout: QSignal; | |
start(durationMs: number): void; | |
stop(): void; | |
} | |
declare interface QSignal { | |
connect(callback: any): void; | |
disconnect(callback: any): void; | |
} |