This file contains 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
# | |
# Automatically generated make config: don't edit | |
# crosstool-NG 1.20.0 Configuration | |
# Thu Oct 16 15:40:26 2014 | |
# | |
CT_CONFIGURE_has_make381=y | |
CT_CONFIGURE_has_xz=y | |
CT_CONFIGURE_has_svn=y | |
CT_MODULES=y |
This file contains 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
$ grep TOTAL output000 | |
!PP TOTAL ENERGY CORRECTION FROM PS = -0.9606326847D-02 | |
TOTAL ENERGY FOR 1 -TH ITER= -7.858496652840 edel = -0.785850D+01 : SOLVER = MATDIAGON | |
TOTAL ENERGY FOR 2 -TH ITER= -7.815627162320 edel = 0.428695D-01 : SOLVER = SUBMAT + lmMSD | |
TOTAL ENERGY FOR 3 -TH ITER= -7.857204937165 edel = -0.415778D-01 : SOLVER = SUBMAT + lmMSD | |
TOTAL ENERGY FOR 4 -TH ITER= -7.873097397810 edel = -0.158925D-01 : SOLVER = SUBMAT + lmMSD | |
TOTAL ENERGY FOR 5 -TH ITER= -7.895552510190 edel = -0.224551D-01 : SOLVER = SUBMAT + RMM3 | |
TOTAL ENERGY FOR 6 -TH ITER= -7.896300984372 edel = -0.748474D-03 : SOLVER = SUBMAT + RMM3 | |
TOTAL ENERGY FOR 7 -TH ITER= -7.897005149274 edel = -0.704165D-03 : SOLVER = SUBMAT + RMM3 | |
TOTAL ENERGY FOR 8 -TH ITER= -7.897015081030 edel = -0.993176D-05 : SOLVER = SUBMAT + RMM3 |
This file contains 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" | |
"math" | |
) | |
func Sqrt(x float64) float64 { | |
z := float64(1.0) | |
for { |
This file contains 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
.[2J.[01;01H.[=3h.[2J.[01;01H.[2J.[01;01H.[=3h.[2J.[01;01H.[2J.[01;01H.[=3h.[2J.[01;01H.[2J.[01;01H.[=3h.[2J.[01;01H.[2J.[01;01H.[=3h.[2J.[01;01H | |
Press [Enter] to directly boot. | |
Press [F7] to show boot menu options. | |
ERROR: C40000002:V3051002 I0 6D33944A-EC75-4855-A54D-809C75241F6C | |
.[0m.[30m.[40m.[2J.[01;01H.[0m.[37m.[40m | |
GNU GRUB version 0.97 (604K lower / 244604K upper memory) | |
.[1m.[37m.[44m.[04;02H+-------------------------------------------------------------------------+.[05;02H|.[05;76H|.[06;02H|.[06;76H|.[07;02H|.[07;76H|.[08;02H|.[08;76H|.[09;02H|.[09;76H|.[10;02H|.[10;76H|.[11;02H|.[11;76H|.[12;02H|.[12;76H|.[13;02H|.[13;76H|.[14;02H|.[14;76H|.[15;02H|.[15;76H|.[16;02H|.[16;76H|.[17;02H+-------------------------------------------------------------------------+.[1m.[33m.[40m | |
Use the ^ and v keys to select which entry is highlighted. |
This file contains 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
// BeagleBone Black + Grove Base Cape + Grove Temperature Sensor | |
// Base Cape: http://www.seeedstudio.com/wiki/Grove_Cape_for_BeagleBone_Series | |
// Temperature Sensor: http://www.seeedstudio.com/wiki/Grove_-_Temperature_Sensor | |
// | |
// Written by Toshifumi Nishinaga | |
// this code is public domain | |
var b = require('bonescript'); | |
var getTemperature = function(){ |
This file contains 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
#!/bin/sh | |
mount /dev/sdb6 /mnt | |
mount /dev/sdb5 /mnt/boot | |
cd /mnt | |
rm -rf ~/raspi_img | |
mkdir ~/raspi_img | |
tar cpf ~/raspi_img/root.tar ./* --exclude=proc/* --exclude=sys/* --exclude=dev/pts/* --exclude=boot/* | |
cd boot | |
tar cpf ~/raspi_img/boot.tar ./* |
This file contains 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
#!/bin/bash | |
echo "---------------" | |
echo "RasPrep ver.0.1" | |
echo "---------------" | |
echo "* Copy inittab" | |
sudo cp resources/inittab /etc/ | |
echo "* Copy raspi-config.sh" | |
sudo cp resources/raspi-config.sh /etc/profile.d/ |
This file contains 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
#/bin/bash | |
# コンパクトなRaspbianを作るやつをベースに自己流にアレンジしたもの | |
# Xを残したいバージョン: https://gist.github.com/Akkiesoft/9916490 | |
# | |
# ベース: http://www.cnx-software.com/2012/07/31/84-mb-minimal-raspbian-armhf-image-for-raspberry-pi/ | |
# 前のバージョン: https://gist.github.com/Akkiesoft/5426660 | |
sudo apt-get update | |
rm -rf python_games ocr_pi.png Desktop/*.desktop |
This file contains 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 pyOCD.board import MbedBoard | |
import logging | |
logging.basicConfig(level=logging.INFO) | |
board = MbedBoard.chooseBoard() | |
target = board.target | |
# flash = board.flash | |
target.resume() |
This file contains 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
// BeagleBone Black + Grove Base Cape + Grove Temperature Sensor | |
// Base Cape: http://www.seeedstudio.com/wiki/Grove_Cape_for_BeagleBone_Series | |
// Temperature Sensor: http://www.seeedstudio.com/wiki/Grove_-_Temperature_Sensor | |
// | |
// Written by Toshifumi Nishinaga | |
// this code is public domain | |
var b = require('bonescript'); | |
var getTemperature = function(){ |