Skip to content

Instantly share code, notes, and snippets.

View carlosesteven's full-sized avatar
🏠
Working from home

Carlos Esteven carlosesteven

🏠
Working from home
View GitHub Profile
@carlosesteven
carlosesteven / ListPreferenceWithSummary.java
Created June 6, 2019 04:12 — forked from brunomateus/ListPreferenceWithSummary.java
Android ListPreference with summary updated automatically
public class ListPreferenceWithSummary extends ListPreference{
public ListPreferenceWithSummary(Context context, AttributeSet attrs) {
super(context, attrs);
}
public ListPreferenceWithSummary(Context context) {
super(context);
}
@carlosesteven
carlosesteven / docker-compose.yml
Created September 23, 2020 04:59 — forked from devzer01/docker-compose.yml
docker-compose mongodb
version: '3'
services:
database:
image: 'mongo'
container_name: 'my-mongo-container' # give your contatner a name
environment:
- MONGO_INITDB_DATABASE=your-database-name # database name you want to make
- MONGO_INITDB_ROOT_USERNAME=my-container-root-username # set your container root username
- MONGO_INITDB_ROOT_PASSWORD=secret # set your contatner root password
volumes:
@carlosesteven
carlosesteven / ceshi.ini
Created July 28, 2023 06:17 — forked from SolveSoul/ceshi.ini
V380 Pro Activate ONVIF/RTSP
[CONST_PARAM]
rtsp = 1 ; RTSPЭ�飬0���ر� 1������
@carlosesteven
carlosesteven / grafana-carousel.php
Last active March 6, 2024 23:51
Implementation of carousel in php/html. It receives 2 parameters: time and links (links must be encoded in base64 and separated by ,). Example: path/grafana-carousel.php?time=...&links=...