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
| [0, 132, 136, 143, 156, 174, 133, 144, 150, 124, 150, 135, 150, 149, 131, 131, 153, 156, 136, 137, 138, 127, 119, 148, 155, 134, 115, 142, 148, 155, 145, 142, 148, 159, 142, 135, 144, 145, 138, 132, 138, 152, 154, 159, 145, 127, 128, 145, 127, 153, 153, 159, 149, 159, 160, 128, 139, 136, 137, 145, 138] |
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
| object Foo { | |
| def main(args: Array[String]) { | |
| print("SC"); | |
| } | |
| } |
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
| echo "Please select your test function" | |
| echo " 1 - CANAL 0" | |
| echo " 2 - CANAL 7" | |
| echo " 3 - CANAL 8" | |
| echo " 4 - CANAL 15" | |
| echo "" | |
| read -p "Please make your choice:" cmd | |
| case $cmd in |
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
| <intent-filter> | |
| <action | |
| android:name="android.intent.action.MAIN" /> | |
| <category | |
| android:name="android.intent.category.LAUNCHER" /> | |
| <category | |
| android:name="android.intent.category.HOME" /> | |
| <category | |
| android:name="android.intent.category.DEFAULT" /> | |
| </intent-filter> |
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
| UBI issues | |
| modprobe mtd | |
| modprobe mtdblock | |
| modprobe mtdram total_size=200000 erase_size=128 | |
| modprobe ubi | |
| ubiformat /dev/mtd0 | |
| ubiattach /dev/ubi_ctrl -m 0 | |
| ubimkvol /dev/ubi0 -N VOLUME -s 192MiB |
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
| import random | |
| my_numbers = set(random.sample(xrange(1,61),6)) | |
| if __name__ == '__main__': | |
| count = 1 | |
| while my_numbers != set(random.sample(xrange(1,61),6)): | |
| count += 1 | |
| print count |
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
| #!/usr/bin/env python | |
| #-*- coding: rot13 -*- | |
| qrs qrpbqvsvpn(f): | |
| erghea f.rapbqr('rot13') | |
| vs __anzr__ == '__main__': | |
| cevag qrpbqvsvpn("Uryyb Jbeyq") |
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
| import sys | |
| import time | |
| def progress(message,s=2.0): | |
| for i in range(1,101): | |
| _t = s/100.0 | |
| time.sleep(_t) | |
| sys.stdout.write("\r%s%d%%" % (message,i)) | |
| sys.stdout.flush() |
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
| import sys | |
| import time | |
| s = ['|', '\\','-', '/'] | |
| for i in range(101): | |
| time.sleep(0.1) | |
| sys.stdout.write("\r%d%%" % i) | |
| sys.stdout.flush() |
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 <stdio.h> | |
| #include <stdlib.h> | |
| send(to, from, count) | |
| register short *to, *from; | |
| register count; | |
| { | |
| register n = (count + 7) / 8; | |
| switch(count % 8) { | |
| case 0: do { *to = *from++; |