sudo bash -c "echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers"
logout & login
I hereby claim:
To claim this, I am signing this object:
EN / JA
Experimental faith for the modern age
In the beginning they created the principle. Now the world was derived from it.
I hereby claim:
To claim this, I am signing this object:
import math, random, sugar | |
type | |
Matrix[T; M, N: static[int]] = array[1..M, array[1..N, T]] | |
# 加法 | |
proc `+`[T, I, J](a: Matrix[T, I, J], b: T): Matrix[T, I, J] = | |
var c: Matrix[T, I, J] | |
for i in 1..I: | |
for j in 1..J: |
const ADMIN_USER_ID = {製作者のLINE ID}; | |
const CHROSTE_GROUP_ID = {ユニットのLINEグループID}; | |
const CHANNEL_ACCESS_TOKEN = {LINE Messaging APIのアクセストークン}; | |
// 毎週日曜日のトリガー | |
function weekly() { | |
post_differs(CHROSTE_GROUP_ID); | |
} | |
// 毎夜のトリガー |
// I2Cのテスト(AQM0802A) | |
// ha2zakura | |
#include <xc.h> // PIC のハードウエア定義 | |
#define _XTAL_FREQ 48000000 | |
#define true 1 | |
#define false 0 | |
#define int8_t signed char |
#include <SPI.h> | |
#include <MIDI.h> // http://playground.arduino.cc/Main/MIDILibrary | |
#define SS 10 | |
#define A0 9 | |
int tone1Interval = 0; | |
int tone2Interval = 0; | |
int tone3Interval = 0; |
LIST P=12f683 | |
#INCLUDE <p12f683.inc> | |
__CONFIG _CP_OFF & _CPD_OFF & _WDT_OFF & _BOD_ON & _IESO_OFF& _PWRTE_ON & _INTOSCIO & _MCLRE_OFF | |
w_temp EQU 0x20 ; Wレジスタ保存用 | |
status_temp EQU 0x21 ; STATUSレジスタ保存用 | |
stand EQU 0x22 ; 立ち上がりフラグ | |
;********************************************************************** |