-
Create Telegram bot:
Search for user @BotFather in Telegram app. Type /help in BotFather chat and wait for the reply. Type in the chat:
/newbot
or select /newbot command from Help text. Answer few setup questions:
#!/bin/bash | |
DB=$1 | |
COLLECTIONS=$(mongo localhost:27017/$DB --quiet --eval "db.getCollectionNames()" | jq -r '. | join(" ")') | |
for collection in $COLLECTIONS; do | |
echo "Exporting $DB/$collection ..." | |
mongoexport -d $DB -c $collection --jsonArray --pretty -o $collection.json | |
done | |
import com.fasterxml.jackson.annotation.JsonInclude.Include | |
import com.fasterxml.jackson.core.JsonGenerator.Feature | |
import com.fasterxml.jackson.databind.ObjectMapper | |
import com.twitter.finatra.json.modules.FinatraJacksonModule | |
import com.twitter.finatra.json.utils.CamelCasePropertyNamingStrategy | |
object CustomJacksonModule extends FinatraJacksonModule { | |
override val serializationInclusion = Include.ALWAYS |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
-- vim: ts=4 sw=4 noet ai cindent syntax=lua | |
--[[ | |
Conky, a system monitor, based on torsmo | |
Any original torsmo code is licensed under the BSD license | |
All code written since the fork of torsmo is licensed under the GPL | |
Please see COPYING for details |