Earn free FORTH tokens ($3)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

FORTH is the governance token for Ampleforth, an Ethereum protocol that automatically adjusts its native token supply. Learn how it works and earn free FORTH.

Answers:

  1. Rebases
  2. AMPL and FORTH
  3. DeFi building block

Earn free Numerai tokens ($3)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

Numerai is a crypto-powered crowdsourced hedge fund. Learn how it works and you’ll earn up to $3 in NMR tokens.

Answers:

  1. A global community of scientists
  2. To back up predictions and earn rewards
  3. Nothing

Earn free NuCypher tokens ($3)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

NuCypher brings data privacy to public blockchains using end-to-end encryption and threshold cryptography. Learn how it works and you’ll earn up to $3 in NU tokens.

Answers:

  1. End-to-end encryption
  2. Independent nodes to perform tasks
  3. Paying Ethereum transaction fees

Earn free COMP tokens ($59)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

Use these link to get started and earn free COMP tokens: https://coinbase.com/earn/comp/invite/bhzdm0x2 or https://coinbase.com/earn/comp/invite/5rc7w42t

You receive $9 for completing this quiz ($3 per answer), and $10 for each friend that follows your referral link. You can also try out the wallet, for a $10 bonus.

Answers:

  1. Earning interest on your crypto
  2. Supply a crypto asset as collateral
  3. COMP token Holders

Earn free GRT tokens ($3)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

The Graph is a decentralized protocol for indexing and querying data from blockchains. Learn how it works and you’ll earn up to $3 in GRT tokens.

Answers:

  1. Blockchain data
  2. GRT tokens
  3. Curators

Earn free BAND tokens ($3)

By | Crypto | No Comments

You can get free cryptocurrency by using Coinbase Earn. It’s totally free and you can get a few dollars worth of crypto in a couple of minutes. You just need a Coinbase account, which you can register for free.

To receive the tokens, you have to watch the video’s and answers the questions to prove that you watched it. If you’re not sure (or just want to skip the video’s), here are the answers to the quiz questions:

Use these link to get started and earn free BAND tokens: https://coinbase.com/earn/band/invite/mxc07ysq or https://coinbase.com/earn/band/invite/85kpysv6

You receive $3 for completing this quiz ($1 per answer), and $10 for each friend that follows your referral link. (they’ve removed the referral reward)

Answers:

  1. Real world data
  2. Answer: Oracles
  3. Answer: Earn crypto rewards

Generic Mendix data exporter/importer

By | Mendix | No Comments

In this post I will explain how I created a very useful reusable Mendix module for the following user story:

As an admin I want to export some of the application’s data, so that I can easily import it in other environments of the same application.

In Mendix, you can create specific export functionality for your entities, using Domain-to-XML-mappings. However, this is a lot of work for and you would need to develop this specifically to the domain model for each application (or even multiple exports within a single application). Another drawback of this approach is that you can only export a simple tree structure. More complex reference structures, like circular references, are not easy to do: to get an idea of what I mean, look at how the export/import functionality of the DBReplication module in the Mendix app store is implemented.

I wanted to create a generic way to export data. Simply selecting the entities and associations of the objects that you want to export should be enough.

The (meta-)domain model

I created the following domain model that will be used to contain the data for exporting and importing. It is basically an abstraction of the Mendix object model:

abstractedDomainModel

 

Read More

Kill sessions of a user

By | Mendix | No Comments

Consider the user story

As an admin, I want to be able to immediately block a user, so he/she can no longer access the data in the application

You could easily implement a blocking mechanism, using setting the boolean attribute Active in System.User to false.

Note: You could also implement a more sophisticated blocking mechanism yourself, by added your own attribute(s) to Administration.Account, an then do a check on these attribute when the user logs in, as explained in my previous post.

Then, the user will no longer be able to log in. So the user story is now done, right?

No, because  Read More

Doing custom stuff when a user logs in

By | Mendix | 8 Comments

If you want do some custom checks when a user logs in, it is possible to override the Mendix login mechanism.

With this, you can do a lot of useful things. For example:

  • Implement a custom user blocking mechanism, e.g. block all users that are linked to a certain company.
  • Only allow users to log in from certain IP addresses
  • Dynamically assign user roles when logging in
  • Etc. etc. (leave your comment below for more ideas!)

Read More