[WIP] Elona ADDT の文法
参照先: https://github.com/kaz-mighty/Elona_ADDT/blob/37e2ff2a354476e8b6267d3ad26f4d22dbc26acd/Source.cpp
line := nesting-marker comment
| nesting-marker condition
| nesting-marker plain-text
| #exception handling | |
| #factorial example | |
| import math | |
| num=int(input('enter the factorial number: ')) | |
| try: | |
| result=math.factorial(num) | |
| print(result) | |
| except: | |
| print('enter the positive integer') |
| # --- Tidy evaluation for dplyr group_by and count over quosure and symbols --- | |
| set.seed(456) | |
| tt <- tibble::tibble(gender = sample(c("Female", "Male"), 100, TRUE), | |
| churn = sample(c("Yes", "No"), 100, TRUE) | |
| ) | |
| tt %>% | |
| group_by(gender) %>% |
| import | |
| macros, strutils, times, sets | |
| include "system/inclrtl" | |
| when declared(stdout): | |
| import os | |
| when not defined(ECMAScript): | |
| import terminal |
参照先: https://github.com/kaz-mighty/Elona_ADDT/blob/37e2ff2a354476e8b6267d3ad26f4d22dbc26acd/Source.cpp
line := nesting-marker comment
| nesting-marker condition
| nesting-marker plain-text
Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| from typing import List | |
| def eratosthenes(n: int) -> List[int]: | |
| L = [True] * n | |
| for i in range(2, int(n ** 0.5) + 1): | |
| if L[i]: | |
| for j in range(i * 2, n, i): | |
| L[j] = False |
| let i = 3; |
| #!/bin/bash | |
| # Take a screenshot of an area of the screen, upload it to dropbox and put the url into the clipboard | |
| # Put file in any directory under your dropbox | |
| # If it is subfolder, than you need to make them manually | |
| FILENAME=~/Dropbox/Screenshots/Screenshot_`date +%Y-%m-%d-%H:%M`.png | |
| # Select an area and save the screenshot | |
| # you need to instal gnome-screenshot |