Skip to content

Instantly share code, notes, and snippets.

View jaumevn's full-sized avatar

Jaume Viñas Navas jaumevn

View GitHub Profile
@jaumevn
jaumevn / test.md
Created July 18, 2018 16:58
Creative HotHouse ReactNative Test

Creative HotHouse ReactNative Test

This document defines the test for the Creative HotHouse ReactNative developer role. For this test, you must create a small application according to the requirements described below. The app must be delivered in less than a week after you receive this document. If for any reason you don’t consider it to be enough time, let us know upon receiving this document.

What to do

You must create a client app to show information about cryptocurrencies, including their price, market cap, volume, etc... In addition to this, the app users must be able to manage their own crypto portfolio.

If you are not familiar with the crypto world you can check the coinmarketcap.com website, which is the most used website to track cryptocurrencies. For instance, you could check information about our J8T token at https://coinmarketcap.com/currencies/jet8/.

@jaumevn
jaumevn / error.log
Created July 4, 2018 07:21
FFmpeg4Android
07-02 19:41:23.073 32251-32357/com.fotoku.mobile.beta E/linker: "/data/app/com.fotoku.mobile.beta-0Yl1sbg6TPbQfJMxGMuO_A==/lib/arm/libvideokit.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23)
07-02 19:41:23.074 32251-32357/com.fotoku.mobile.beta I/Videokit: libvideokit.so load Fail
args is not NULL
more then one arg
function symbol not found
07-02 19:41:23.074 32251-32357/com.fotoku.mobile.beta D/Videokit: Calling videokit run via loader
--------- beginning of crash
07-02 19:41:23.074 32251-32357/com.fotoku.mobile.beta A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 32357 (PublishThread), pid 32251 (oku.mobile.beta)
@jaumevn
jaumevn / test.md
Created May 3, 2018 14:37
Creative HotHouse UI/UX Test

Creative HotHouse UI/UX Test

This document defines the test for the Creative HotHouse UI/UX role. For this test, you must design the user interface as well as the user experience for an small application project according to the requirements described below. The design must be delivered in less than a week after you receive this document. If for any reason you don’t consider it to be enough time, let us know upon receiving this document.

What to do

You must design the user experience and the user interface for a client app that shows information about cryptocurrencies, including their price, market cap, volume, etc... In addition to this, the users must be able to manage their own crypto portfolio.

If you are not familiar with the crypto world you can check the coinmarketcap.com website, which is the most used website to track cryptocurrencies. For instance, you could check information about our J8T token at https://coinmarketcap.com/currencies/jet8/.

What we expect

@jaumevn
jaumevn / test.md
Created May 3, 2018 14:24
Creative HotHouse iOS Test

Creative HotHouse iOS Test

This document defines the test for the Creative HotHouse iOS developer role. For this test, you must create a small application according to the requirements described below. The app must be delivered in less than a week after you receive this document. If for any reason you don’t consider it to be enough time, let us know upon receiving this document.

What to do

You must create a client app to show information about cryptocurrencies, including their price, market cap, volume, etc... In addition to this, the app users must be able to manage their own crypto portfolio.

If you are not familiar with the crypto world you can check the coinmarketcap.com website, which is the most used website to track cryptocurrencies. For instance, you could check information about our J8T token at https://coinmarketcap.com/currencies/jet8/.

What we expect

@jaumevn
jaumevn / test.md
Last active June 9, 2018 11:06
Creative HotHouse Android Test

Creative HotHouse Android Test

This document defines the test for the Creative HotHouse Android developer role. For this test, you must create a small application according to the requirements described below. The app must be delivered in less than a week after you receive this document. If for any reason you don’t consider it to be enough time, let us know upon receiving this document.

What to do

You must create a client app to show information about cryptocurrencies, including their price, market cap, volume, etc... In addition to this, the app users must be able to manage their own crypto portfolio.

If you are not familiar with the crypto world you can check the coinmarketcap.com website, which is the most used website to track cryptocurrencies. For instance, you could check information about our J8T token at https://coinmarketcap.com/currencies/jet8/.

pragma solidity ^0.4.17;
contract J8TTokenConfig {
// The J8T decimals
uint8 public constant TOKEN_DECIMALS = 8;
// The J8T decimal factor to obtain luckys
uint256 public constant J8T_DECIMALS_FACTOR = 10**uint256(TOKEN_DECIMALS);
}
@jaumevn
jaumevn / hodlers.sol
Created February 16, 2018 15:29
hodlers smart contract
pragma solidity ^0.4.18;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
pragma solidity ^0.4.17;
contract J8TTokenConfig {
// The J8T decimals
uint8 public constant TOKEN_DECIMALS = 8;
// The J8T decimal factor to obtain luckys
uint256 public constant J8T_DECIMALS_FACTOR = 10**uint256(TOKEN_DECIMALS);
}
@jaumevn
jaumevn / custodian.sol
Created February 1, 2018 17:28
Hodlers Dapp
pragma solidity ^0.4.18;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
@jaumevn
jaumevn / J8TToken.sol
Last active January 23, 2018 12:23
J8TToken.sol
pragma solidity ^0.4.17;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;