- Railsによるアジャイルwebアプリケーション開発
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
FROM ubuntu:20.04 | |
ARG input=/tmp | |
ARG user=user | |
ARG git_email="[email protected]" | |
ARG git_name="Your Name" | |
ENV HOME=/home/${user} | |
ENV WORK=${HOME}/ai_sdk_work | |
ENV YOCTO_WORK=${WORK}/src_setup/yocto |
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 main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"os" | |
"time" | |
"github.com/google/generative-ai-go/genai" |
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
# 参考サイト: https://ponkichi.blog/drone01/ | |
import socket | |
TELLO_IP = '192.168.10.1' | |
TELLO_CM_PORT = 8889 | |
TELLO_ST_PORT = 8890 | |
TELLO_ADDRESS = (TELLO_IP, TELLO_CM_PORT) | |
class TelloSock: |
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
let g:lsp_settings = { | |
\ 'pylsp-all': { | |
\ 'workspace_config': { | |
\ 'pylsp': { | |
\ 'plugins': { | |
\ 'pycodestyle': { | |
\ 'ignore': ["E221", "E501"] | |
\ } | |
\ } | |
\ } |
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 main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"os/exec" | |
"path/filepath" |
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 main | |
import ( | |
"fmt" | |
"github.com/PuerkitoBio/goquery" | |
"os" | |
) | |
func LoadPage(path string) { | |
f, err := os.Open(path) |
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
CFLAGS="-mcpu=cortex-m4 -nostartfiles -T/Users/datsuns/work/programming/cpp/tdd4ec/stm32fdiscovery/ChibiOS/ChibiOS_2.6.1/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG.ld -Wl,-Map=build/ch.map,--cref,--no-warn-mismatch,--gc-sections -mno-thumb-interwork -mthumb" ./configure --host=arm-none-eabi --disable-memory-leak-detection --disable-std-cpp --disable-std-c |
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
#include <gtest/gtest.h> | |
class Hello { | |
public: | |
int ping( int a ){ return a; } | |
}; | |
class HelloTest : public ::testing::TestWithParam<int> { | |
protected: | |
Hello hello; |
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
SBT_DIR=`dirname $0` | |
java -Xmx512M -jar `cygpath -m $SBT_DIR`/sbt-launch.jar "$@" |
NewerOlder