Skip to content

Instantly share code, notes, and snippets.

@KeitetsuWorks
KeitetsuWorks / index.html
Last active March 31, 2018 04:15
簡易ポータルサイトテンプレート
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>簡易ポータルサイトタイトル</title>
<meta name="description" content="簡易ポータルサイト説明文">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
@KeitetsuWorks
KeitetsuWorks / opencv_camera.py
Last active June 1, 2018 12:59
Display the image captured by the webcam
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##
## @file opencv_camera.py
## @brief Display the image captured by the webcam
## @author Keitetsu
## @date 2018/05/30
## @copyright Copyright (c) 2018 Keitetsu
## @par License
@KeitetsuWorks
KeitetsuWorks / installDependencies.sh
Created August 19, 2018 01:34
Script to install dependencies for Xilinx SDSoC 2017.4 on Ubuntu 18.04 LTS (Minimal Installation)
#!/usr/bin/env bash
##
## @file installDependencies.sh
## @brief Script to install dependencies for Xilinx SDSoC 2017.4
## on Ubuntu 18.04 LTS (Minimal Installation)
## @author Keitetsu
## @date 2018/08/11
## @copyright Copyright (c) 2018 Keitetsu
## @par License
@KeitetsuWorks
KeitetsuWorks / installDependencies.sh
Created August 19, 2018 01:48
Script to install dependencies for Xilinx PetaLinux 2017.4 on Ubuntu 16.04 LTS
#!/usr/bin/env bash
##
## @file installDependencies.sh
## @brief Script to install dependencies for Xilinx PetaLinux 2017.4
## on Ubuntu 16.04 LTS
## @author Keitetsu
## @date 2018/08/11
## @copyright Copyright (c) 2018 Keitetsu
## @par License
@KeitetsuWorks
KeitetsuWorks / boot.bif
Created October 21, 2018 15:35
BIF File for Zynq UltraScale+ MPSoC
the_ROM_image:
{
[fsbl_config] a53_x64
[bootloader] <fsbl.elf>
[pmufw_image] <pmufw.elf>
[destination_device=pl] <bitstream>
[destination_cpu=a53-0, exception_level=el-3, trustzone] <bl31.elf>
[destination_cpu=a53-0, exception_level=el-2] <u-boot.elf>
}
@KeitetsuWorks
KeitetsuWorks / copy_linux_files.sh
Last active November 11, 2018 03:30
Script to Prepare the Image for the SDSoC Platform Utility
if [ ! -d ./boot ]; then
mkdir ./boot
fi
if [ ! -d ./image ]; then
mkdir ./image
fi
cp u-boot.elf ./boot/u-boot.elf
cp zynqmp_fsbl.elf ./boot/fsbl.elf
@KeitetsuWorks
KeitetsuWorks / .bashrc
Last active October 25, 2018 14:38
.bashrc for Xilinx Development Environments
if [ -f /opt/Xilinx/SDx/2018.2/settings64.sh ]; then
. /opt/Xilinx/SDx/2018.2/settings64.sh
fi
if [ -f /opt/Xilinx/PetaLinux/settings.sh ]; then
. /opt/Xilinx/PetaLinux/settings.sh
fi
if [ -f /opt/Xilinx/SDK/2018.2/settings64.sh ]; then
. /opt/Xilinx/SDK/2018.2/settings64.sh
@KeitetsuWorks
KeitetsuWorks / opencv_test.py
Created October 25, 2018 14:39
OpenCV Test Script
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##
## @file opencv_test.py
## @brief OpenCV Test Script
## @author Keitetsu
## @date 2018/09/04
## @copyright Copyright (c) 2018 Keitetsu
## @par License
@KeitetsuWorks
KeitetsuWorks / q10199318425.c
Created November 20, 2018 12:45
calculate LC circuit resonant frequency
/**
* @file q10199318425.c
* @brief calculate LC circuit resonant frequency
* @author Keitetsu
* @date 2018/11/20
* @copyright Copyright (c) 2018 Keitetsu
* @par License
* This software is released under the MIT License.
*/
/**
* @file q11199328296.cpp
* @brief q11199328296
* @author Keitetsu
* @date 2018/11/20
* @copyright Copyright (c) 2018 Keitetsu
* @par License
* This software is released under the MIT License.
*/