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
# version | |
# BetaFlight/NAZE 2.4.0 Feb 8 2016 / 14:57:25 (3fc1440) | |
# dump master | |
# mixer | |
mixer QUADX | |
mmix reset | |
smix reset | |
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
wget http://sourceforge.net/projects/webiopi/files/WebIOPi-0.7.1.tar.gz/download | |
tar xvzf download | |
cd WebIOPi-0.7.1/python/native | |
mv cpuinfo.c cpuinfo.c.original | |
mv gpio.c gpio.c.original | |
wget http://denshikousaku.net/wp-content/uploads/2015/02/cpuinfo.c | |
wget http://denshikousaku.net/wp-content/uploads/2015/02/gpio.c |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
from random import randint | |
import sys | |
team = 'ABCDEFG' | |
used = "" | |
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
<!-- | |
@license | |
Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | |
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt | |
Code distributed by Google as part of the polymer project is also | |
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |
--> |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
import random | |
cnt = 0 | |
tate = 33 | |
yoko = 5 | |
base_list = range(1, tate*yoko+1) |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
def basic(): | |
for i in range(100): | |
if i%2 ==0: | |
print i | |
def oneLine(counts): |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
org_arr = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] | |
seikai = """1,2,3 | |
4,5,6 | |
7,8,9 | |
""" |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
org_arr = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] | |
seikai = """1,2,3 | |
4,5,6 | |
7,8,9 | |
""" |
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
#!/usr/bin/env python | |
#coding:utf-8 | |
key_list = range(10) | |
val_list = range(10) | |
val_list.reverse() | |
print "正解: {0:9, 1:8 ...}" |
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
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |