base \ exponent | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|
1,01 | 1,02 | 1,03 | 1,04 | 1,05 | 1,06 | 1,07 | 1,08 | 1,09 | 1,10 |
1,02 | 1,04 | 1,06 | 1,08 | 1,10 | 1,13 | 1,15 | 1,17 | 1,20 | 1,22 |
1,03 | 1,06 | 1,09 | 1,13 | 1,16 | 1,19 | 1,23 | 1,27 | 1,30 | 1,34 |
1,04 | 1,08 | 1,12 | 1,17 | 1,22 | 1,27 | 1,32 | 1,37 | 1,42 | 1,48 |
1,05 | 1,10 | 1,16 | 1,22 | 1,28 | 1,34 | 1,41 | 1,48 | 1,55 | 1,63 |
1,06 | 1,12 | 1,19 | 1,26 | 1,34 | 1,42 | 1,50 | 1,59 | 1,69 | 1,79 |
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
### | |
# numpy | |
### | |
# convert variable to other data type | |
x.astype(np.float32) |
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
function [A_inv, d] = pivinv(A) | |
% PIVINV inversion of a matrix by pivoting method | |
% | |
% Input: A, a square matrix | |
% Outputs: A_inv, the inverse of A; d, the determinant of A | |
% | |
% Reference: Enrique Castillo and Francisco Jubete, "The Gamma-algorithm | |
% and some applications," International Journal of Mathematical Education | |
% in Science and Technology 35, no. 3 (2004): 369-389. | |
% |
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/zsh | |
if (( !($# == 3) )) | |
then | |
echo "Usage:" | |
echo $0 "<ffmpeg preset> <output file base name> <seconds per day>" | |
exit 1 | |
fi | |
""" |
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
# Convert a playlist in text format to a cue file | |
# Author: steven2358 | |
# Usage: | |
# 1. Make a playlist file "playlist.txt" using this format: | |
''' | |
Album Artist - Album Name | |
FileName.mp3 | |
MM:SS:mm - Artist1 - Title1 | |
MM:SS:mm - Artist2 - Title2 | |
MM:SS:mm - Artist3 - Title3 |
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 -*- | |
def main(): | |
print('Hello world!') | |
if __name__ == '__main__': | |
main() |
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
% Matlab cheat sheet | |
% Author: Steven Van Vaerenbergh | |
% Last version: https://gist.github.com/steven2358/7578242 | |
%% SYSTEM | |
% seed a random generator | |
seed = 1; | |
rng('default'); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<!-- page content --> |
Web (no QR-scan) | Android | iOS | ||
---|---|---|---|---|
Coinbase.com | yes | yes | yes | varying BTC addresses |
blockchain.info | yes | yes | yes | |
Verso Card | no | yes | yes | Article and Discussion 17$ one-time |