helm repo add external-secrets https://charts.external-secrets.io
helm upgrade --install --create-namespace -n eso external-secrets \
external-secrets/external-secrets \
-n external-secrets \
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
"""Tuya based cover and blinds.""" | |
from typing import Dict | |
from zigpy.profiles import zha | |
from zigpy.quirks import CustomDevice | |
import zigpy.types as t | |
from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, Ota, Scenes, Time | |
from zigpy.zcl.clusters.security import IasZone | |
from zhaquirks.const import ( |
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
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# Install packages | |
sudo apt-get install zsh git unzip curl wget build-essential jq file -y | |
# Install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Install brew |
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
crane auth login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} | |
crane delete "${FULL_IMAGE_NAME}@$(crane digest ${FULL_IMAGE_NAME})" |
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/env python3 | |
from asyncore import read | |
import argparse | |
from PyPDF2 import PdfReader | |
import re | |
import json | |
if __name__ == "__main__": |
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
package sapher.com.instabooth.ui; | |
import android.content.Context; | |
import android.content.res.Configuration; | |
import android.view.OrientationEventListener; | |
import android.view.Surface; | |
import android.view.WindowManager; | |
import java.util.concurrent.locks.ReentrantLock; |
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
const AWS = require('aws-sdk'); | |
const SnsClient = new AWS.SNS(); | |
const createEndpoint = (platformAppArn, token, callback) => { | |
const createParams = { | |
PlatformApplicationArn: platformAppArn, | |
Token: token | |
}; |
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
package gardenator.sapher.com.gardenator.activities; | |
import android.bluetooth.BluetoothAdapter; | |
import android.bluetooth.BluetoothDevice; | |
import android.content.Intent; | |
import android.os.Build; | |
import android.support.v7.app.AppCompatActivity; | |
import android.util.Log; | |
import org.androidannotations.annotations.AfterViews; |
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
{ | |
"variables": { | |
"ros_version" : "v0.5.0", | |
"iso_md5" : "467caa8394684ba54e8731aed8480652", | |
"vm_name" : "rancher_image" | |
}, | |
"builders": [ | |
{ | |
"type": "vmware-iso", | |
"iso_url": "https://releases.rancher.com/os/{{ user `ros_version` }}/rancheros.iso", |
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
// Create ElasticTranscoderClient | |
AWSCredentials credentials = new DefaultAWSCredentialsProviderChain().getCredentials(); | |
AmazonElasticTranscoderClient client = new AmazonElasticTranscoderClient(credentials); | |
client.configureRegion(Regions.US_WEST_2); | |
// JobInput | |
JobInput jobInput = new JobInput(); | |
jobInput.setKey(key); // name of the input object in your source S3 | |
// Create JobOuput |
NewerOlder