Switch to the Python version you want to use:
| function cr4app() { | |
| HTML=$1 | |
| if [ -z $HTML ] ;then | |
| echo 'USAGE::' | |
| echo '$ cr4app [目标幻灯.html]' | |
| echo '注意: 不必包含路径' | |
| else | |
| locf="file:///opt/data/Sites/101.camp/_running/slides/docs/$HTML" |
| #!/bin/sh | |
| #=========================================================== var defines | |
| VER="pandoc2reveal v.230528.1642" | |
| echo $VER | |
| echo USAGE:: | |
| echo ' pandoc2reveal.sh "[源文稿名]" "[风格]"' | |
| echo ' NOT .md' | |
| AIMP='../docs' | |
| #AIMP='../public' |
| { | |
| "channel_group": { | |
| "groups": { | |
| "Application": { | |
| "groups": { | |
| "Org1MSP": { | |
| "groups": {}, | |
| "mod_policy": "Admins", | |
| "policies": { | |
| "Admins": { |
| FROM elixir:1.11.1-alpine AS build | |
| # install build dependencies | |
| RUN apk add --no-cache build-base npm git | |
| # prepare build dir | |
| WORKDIR /app | |
| # install hex + rebar | |
| RUN mix local.hex --force && \ |
| defmodule LinkedList do | |
| defstruct data: 0, | |
| next: nil, | |
| index: 0 | |
| def new(data \\ 0, index \\ 0) do | |
| %__MODULE__{data: data, index: index} | |
| end | |
| def push( |
| ########################################################### | |
| # How to NEVER use lambdas. An inneficient and yet educa- # | |
| # tonal [sic] guide to the proper misuse of the lambda # | |
| # construct in Python 3.x. [DO NOT USE ANY OF THIS EVER] # | |
| # original by (and apologies to): e000 (13/6/11) # | |
| # now in Python 3 courtesy of: khuxkm (17/9/20) # | |
| ########################################################### | |
| ## Part 1. Basic LAMBDA Introduction ## | |
| # If you're reading this, you've probably already read e000's |
| prototype༽ | |
| ༄ mix new --umbrella ub_jor | |
| * creating README.md | |
| * creating .formatter.exs | |
| * creating .gitignore | |
| * creating mix.exs | |
| * creating apps | |
| * creating config | |
| * creating config/config.exs |
| https://press.one/p/v?s=daa9a127693ab0fde9141b894ff9f0dc452c33fc166f0e97252420b83a33088e6c67f5d44f63860c218859c099557d42908cbb8059ebfe92765636dbaaf654710&h=90f1dab4c8b24b6502c03cdf067a279d8a672ae229cc405e171f57c0d45613f7&a=6263e76c1e5ac3196975ad5fa05f458f49633f5c&f=P1&v=3 |
| https://press.one/p/v?s=daa9a127693ab0fde9141b894ff9f0dc452c33fc166f0e97252420b83a33088e6c67f5d44f63860c218859c099557d42908cbb8059ebfe92765636dbaaf654710&h=90f1dab4c8b24b6502c03cdf067a279d8a672ae229cc405e171f57c0d45613f7&a=6263e76c1e5ac3196975ad5fa05f458f49633f5c&f=P1&v=3 |