Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This creates the following GIF, where the text appears to be "embedded" | |
in the video and "disappears" beind rapunzel. | |
http://i.imgur.com/gxEHfLX.gif | |
""" | |
from moviepy.editor import * | |
import numpy as np | |
import skimage.morphology as skm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vispy: gallery 2 | |
# Copyright (c) 2014, Vispy Development Team. | |
# Distributed under the (new) BSD License. See LICENSE.txt for more info. | |
# | |
# Modified for animation with MoviePy by Zulko | |
# See result here: http://i.imgur.com/sSCBkFd.gif | |
# |
I hereby claim:
- I am artiya4u on github.
- I am artiya4u (https://keybase.io/artiya4u) on keybase.
- I have a public key whose fingerprint is 995A D9F6 5500 882F BAB6 F6B8 0C8C E704 11AD 565A
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT sum(round(((data_length + index_length) / 1024 / 1024 / 1024), 2)) AS "Size in GB" | |
FROM information_schema.TABLES | |
WHERE table_schema = 'MY_DATABASE' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: skeleton | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.18; | |
import "zeppelin-solidity/contracts/token/ERC20/MintableToken.sol"; | |
contract BNK48Coin is MintableToken { | |
string public constant name = "BNK48 COIN"; // solium-disable-line uppercase | |
string public constant symbol = "BNK48"; // solium-disable-line uppercase | |
uint8 public constant decimals = 18; // solium-disable-line uppercase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.18; | |
import "zeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol"; | |
import "zeppelin-solidity/contracts/crowdsale/distribution/RefundableCrowdsale.sol"; | |
import "zeppelin-solidity/contracts/crowdsale/emission/MintedCrowdsale.sol"; | |
contract BNK48CoinCrowdSale is CappedCrowdsale, RefundableCrowdsale, MintedCrowdsale { | |
function BNK48CoinCrowdSale(uint256 _openingTime, uint256 _closingTime, uint256 _rate, | |
address _wallet, uint256 _cap, MintableToken _token, uint256 _goal) public |
OlderNewer