Supabase - ~52K stars
- Designed explicitly as an open source firebase alternative
- Typescript based
- Docker support
Appwrite - ~32K stars
- Written in JavaScript and PHP
- Docker based
- Realtime support across all services
| /* BatchRecordUpdate will update any 1 field on any 1 object. | |
| * | |
| * String values must be set to Object, Field and Value to be added to Field. | |
| * | |
| * Query can be modified to limit records updated. | |
| * Example below excludes records for which Degree Offering already equals the new value. | |
| * | |
| * All 4 strings' values must be set to operate when executed. | |
| * | |
| * Execute in Anonymous Apex. |
| #!/bin/bash | |
| adb shell 'su -c "am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard/DCMI/Images_new/"' |
| # Changing metadata ----------------------------------------------------------- | |
| # Copy tags from one file to another | |
| # http://thomer.com/howtos/copy_exif.html | |
| exiftool -TagsFromFile a.jpg b.jpg | |
| # Photos — change CreateDate metadata | |
| exiftool "-CreateDate=2017:05:17 12:00:00" IMG.jpg | |
| # Videos — change date to "Creation Date" (written by DSLRs) |
| # YOUTUBE-DL # | |
| youtube-dl --yes-playlist -f best -i -v -w -c | |
| # EXIFTOOL # | |
| #Remove all exif data, except Label | |
| exiftool -r -all= -ext jpg -ext gif -ext png -tagsfromfile @ -Label |
| # Copyright 2019 A. H. | |
| # Permission is hereby granted, free of charge, to any person obtaining a | |
| # copy of this software and associated documentation files (the "Software"), | |
| # to deal in the Software without restriction, including without limitation | |
| # the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| # and/or sell copies of the Software, and to permit persons to whom the | |
| # Software is furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in |
| # Software encoding, more options, slower | |
| ffmpeg \ | |
| -i input.mov \ | |
| -hwaccel auto \ | |
| -c:v libx264 \ | |
| -c:a aac_at \ | |
| -b:a 320k \ | |
| -crf 17 \ | |
| -preset slow \ | |
| -movflags +faststart \ |
| // Lista | |
| AC, Acre | |
| AL, Alagoas | |
| AP, Amapá | |
| AM, Amazonas | |
| BA, Bahia | |
| CE, Ceará | |
| DF, Distrito Federal | |
| ES, Espirito Santo |
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import json | |
| import sys | |
| from authentication import authenticate | |
| from future.moves.urllib.parse import urlencode | |
| if __name__ == '__main__': | |
| username = sys.argv[1] |
| // Busca todos os alunos | |
| db.alunos.find() | |
| // Busca todos os alunos com o mesmo nome | |
| db.alunos.find( | |
| {nome: "João Antônio} | |
| ) | |
| // Busca todos os alunos que possuem uma determinada habilidade | |
| db.alunos.find( |