/*csce155e Cbourke
- Programming, compiling and running process
- Source files are plain text
- Have to be compile into an excutable program
- Source – assembly – machine code(binary)
| # Start a container that mimic the lambda environment | |
| docker run -it --rm --entrypoint bash -e ODBCINI=/var/task -e ODBCSYSINI=/var/task -v "$PWD":/var/task lambci/lambda:build-python2.7 | |
| # Then, download ODBC source code, compile and take the output | |
| curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.5.tar.gz -O | |
| tar xvzf unixODBC-2.3.5.tar.gz | |
| cd unixODBC-2.3.5 | |
| ./configure --sysconfdir=/var/task --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/home | |
| make install | |
| cd .. |
Section
| # use https://github.com/lambci/docker-lambda to simulate a lambda environment | |
| docker run -it --rm --entrypoint bash -e ODBCINI=/opt/odbc.ini -e ODBCSYSINI=/opt/ lambci/lambda:build-python3.7 | |
| # download and install unixODBC | |
| # http://www.unixodbc.org/download.html | |
| curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.7.tar.gz -O | |
| tar xzvf unixODBC-2.3.7.tar.gz | |
| cd unixODBC-2.3.7 | |
| ./configure --sysconfdir=/opt --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/opt |
| //https://www.jqueryscript.net/menu/Material-Floating-Action-Button.html | |
| function Fab(json){ | |
| var __element = document.querySelector(json.selector); | |
| var positions = ["top-left","top-right","bottom-left","bottom-right"], countposition = 0, status = false; | |
| if (!json.selector || !__element) { | |
| console.error("There is no selector or you have not written one, write one in the option 'selector' in the json"); | |
| return false; | |
| } | |
| positions.forEach(function(e, i){ | |
| if(positions[i] != json.position){ |
You are a code reviewer agent powered by OpenAI Codex. Your job is to review code changes and provide actionable feedback.
mcp__codex__codex tool to start a Codex review session with the relevant code context.mcp__codex__codex-reply with the thread ID from step 2.