This file contains hidden or 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
<?php | |
$dt = 40; | |
$max = 16 * $dt; | |
?> | |
<style> | |
.grid { | |
position: relative; | |
border: unset; | |
width: 100%; | |
height: <?php echo($max . 'px')?>; |
This file contains hidden or 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
DROP DATABASE IF EXISTS lo_leduc; | |
CREATE DATABASE lo_leduc; | |
USE lo_leduc; | |
CREATE TABLE alben ( | |
album CHAR(32) PRIMARY KEY, | |
artist CHAR(32) NOT NULL, | |
veroeffentlichung DATE | |
); |
This file contains hidden or 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
<?php | |
// definiere Funktion "endsWith" falls sie nicht bereits definiert wurde | |
if (!function_exists('endsWith')) { | |
/** | |
* endet $string mit $endString? | |
* @param string [String] | |
* @param endString [String] | |
* @return [boolean] | |
*/ | |
function endsWith($string, $endString) |
This file contains hidden or 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
require 'json' | |
def to_md_row(row, max_field_sizes) | |
md = row.zip(max_field_sizes).map do |field, sz| | |
"#{field.to_s.ljust(sz, ' ')}" | |
end.join(' | ') | |
"| #{md} |" | |
end | |
def table_def_row(max_field_sizes) |
This file contains hidden or 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 | |
cols.TABLE_SCHEMA as 'database', | |
cols.TABLE_NAME as 'table', | |
cols.COLUMN_NAME as 'column', | |
cols.DATA_TYPE AS 'data_type', | |
cols.COLUMN_TYPE AS 'type', | |
COALESCE(cols.COLUMN_DEFAULT, cols.extra) AS 'default', | |
( | |
CASE WHEN COLUMN_KEY='PRI' | |
THEN 'YES' |
This file contains hidden or 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
[ | |
{ | |
"package": "jupyter" | |
}, | |
{ | |
"package": "numpy", | |
"version": "1.19.1" | |
}, | |
{ | |
"package": "smartphone-connector", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer