Skip to content

Instantly share code, notes, and snippets.

View renatocaliari's full-sized avatar

Cali (Renato Caliari) renatocaliari

View GitHub Profile
@renatocaliari
renatocaliari / install-caprover.sh
Created August 29, 2023 12:15 — forked from hivivo/install-caprover.sh
Install CapRover on a brand new Ubuntu 22.04 standard server
#!/bin/bash
# Ubuntu 22.04
# Please also allow `80, 443, 3000` ports in the VM network rules if apply
# run as sudo
if [ "$EUID" -ne 0 ]
then echo "Please run as root or use sudo"
exit
fi
@renatocaliari
renatocaliari / logseq-query-overdue
Last active December 7, 2023 01:12
logseq query for overdue blocks
{:title [:h3 "🔥 Overdue"]
:query [:find (pull ?block [*])
:in $ ?start ?next
:where
(or-join [?block, ?d]
[?block :block/scheduled ?d]
[?block :block/deadline ?d]
(and
[?block :block/ref-pages ?rp]
[?rp :block/journal-day ?d]
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 15 columns, instead of 5. in line 4.
"user_ipaddress","v_tracker","app_id","user_id","collector_tstamp","dvce_created_tstamp","derived_tstamp","user_id","session_index","session_id","previous_session_id","os_type","os_version","device_manufacturer","device_model"
"179.90.45.x",ios-0.5.2,GetNinjas-iOS-1.4.1,,2015-11-02 02:30:36,2015-11-02 02:30:33,2015-11-02 02:30:35,a68cd571-8b97-4107-92d8-0bde8afa1450,2,f08e6db4-baf4-4f8a-bcff-6622fd1fc193,d2c54933-27c2-403b-9f6e-200f0d450300,ios,"9.1",Apple Inc.,iPhone
"179.90.45.x",ios-0.5.2,GetNinjas-iOS-1.4.1,,2015-11-02 02:30:36,2015-11-02 02:30:33,2015-11-02 02:30:35,a68cd571-8b97-4107-92d8-0bde8afa1450,3,"084e93f9-8bd1-4089-819f-f9ca7508a6e3",f08e6db4-baf4-4f8a-bcff-6622fd1fc193,ios,"9.1",Apple Inc.,iPhone
"179.90.45.x",ios-0.5.2,GetNinjas-iOS-1.4.1,,2015-11-02 02:32:46,2015-11-02 02:32:45,2015-11-02 02:32:45,a68cd571-8b97-4107-92d8-0bde8afa1450,4,e95fe966-7bc9-49a1-9591-5da64aa16a1b,"084e93f9-8bd1-4089-819f-f9ca7508a6e3",ios,"9.1",Apple Inc.,iPhone
"179.90.45.x",ios-0.5.2,GetNinjas-iOS-1.4.1,,2015-11-0
user_ipaddress v_tracker app_id user_id collector_tstamp dvce_created_tstamp derived_tstamp user_id session_index session_id previous_session_id os_type os_version device_manufacturer device_model
191.63.210.x andr-0.5.1 GetNinjas-Android-3.2.2 2015-11-24 23:28:55 2015-11-24 23:28:52 2015-11-24 23:28:54 a4336cc2-adfe-43cd-a040-209b374d426d 2 1e8678ea-6d1f-47d6-b8d2-606841998363 3f7f447a-807b-42b5-9947-1e3520867cb6 android 4.4.4 samsung SM-G530BT
191.63.210.x andr-0.5.1 GetNinjas-Android-3.2.2 1598838 2015-11-24 23:29:00 2015-11-24 23:28:57 2015-11-24 23:28:57 a4336cc2-adfe-43cd-a040-209b374d426d 2 1e8678ea-6d1f-47d6-b8d2-606841998363 3f7f447a-807b-42b5-9947-1e3520867cb6 android 4.4.4 samsung SM-G530BT
191.63.210.x andr-0.5.1 GetNinjas-Android-3.2.2 1598838 2015-11-24 23:29:00 2015-11-24 23:28:57 2015-11-24 23:28:57 a4336cc2-adfe-43cd-a040-209b374d426d 2 1e8678ea-6d1f-47d6-b8d2-606841998363 3f7f447a-807b-42b5-9947-1e3520867cb6 android 4.4.4 samsung SM
@renatocaliari
renatocaliari / houserules.md
Last active December 17, 2015 08:29
Regras para pessoas que moram no mesmo apê

House Rules

Regras Gerais

  • Se abriu, feche.
  • Se ligou, desligue.
  • Se destrancou, tranque.
  • Se tirou do lugar, coloque no lugar.
  • Se algo é de outra pessoa e você quer isto, peça permissão.