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
| $(document).ready(function(){ | |
| $(".add2list").hide(); | |
| $('#staff').combobox({ | |
| 'input': true, | |
| 'style': 'ui-combo-light' | |
| // ,'ajax': '/profiler/form/autocomplete.json/'+$(this).attr('field') | |
| }); | |
| // ** show | |
| $("#staff_enabler").bind('click', function(){ | |
| $("#staff").show(); |
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
| Flash Type: F648 | |
| File ID: 0x0FF0AA55 | |
| Vendor ID: 0x10D6 | |
| Product ID: 0x1101 | |
| Version: 9.0.43 | |
| Date: 01/09/2005 | |
| Info: SDK-ITEM/ACTIONSGongee.ZH | |
| Manufacturer: Wilson Co. Ltd. | |
| Device Name: LISONG MP3 Player | |
| USB Attribute: GENERIC |
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
| dmesg | |
| [ 1421.101264] scsi6 : usb-storage 2-2:1.0 | |
| [ 1422.111873] scsi 6:0:0:0: CD-ROM buildwin Photo Frame 1.01 PQ: 0 ANSI: 2 | |
| [ 1422.127874] sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray | |
| [ 1422.128575] sr 6:0:0:0: Attached scsi CD-ROM sr1 | |
| [ 1422.128941] sr 6:0:0:0: Attached scsi generic sg2 type 5 | |
| lsscsi | |
| [5:0:0:0] cd/dvd buildwin Photo Frame 1.01 /dev/sr1 |
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 urllib | |
| import urllib2 | |
| import os | |
| user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' | |
| headers = { 'User-Agent' : user_agent } | |
| def getImages(urls, dirName): | |
| try: |
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
| const int pin1 = 8; | |
| const int pin2 = 7; | |
| const int pin3 = 6; | |
| const int pin4 = 5; | |
| const int pin6 = 4; | |
| const int pin7 = 3; | |
| const int pin9 = 2; | |
| const int ledPin = 13; | |
| int pin1m = 0; |
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
| from urllib2 import (OpenerDirector,HTTPRedirectHandler, UnknownHandler, HTTPHandler, | |
| HTTPDefaultErrorHandler, HTTPErrorProcessor, HTTPCookieProcessor, HTTPError, HTTPSHandler ) | |
| import lxml.html | |
| import urllib, urllib2, cookielib, os, time, MultipartPostHandler | |
| import poster | |
| cook = '.cook' | |
| email_my = '' | |
| pass_my = '' | |
| use_a = 'Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1' |
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
| #coding:utf-8 | |
| from appuifw import * | |
| import e32 | |
| import os | |
| import urllib, urllib2, cookielib, time | |
| if e32.in_emulator(): | |
| imagedir=u'c:\\images' | |
| else: | |
| imagedir=u'e:\\images' |
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
| def input_parse(base): | |
| query = 'input ' | |
| input_parts = {} | |
| sta=0 | |
| while sta !=-1: | |
| sta=base[1:].find(query) | |
| if sta == -1: | |
| break | |
| sta_len = sta+len(query) | |
| end = base[sta_len:].find('>')+sta_len |
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 Image | |
| def getBit(num, pos): | |
| return (num & (1 << pos)) >> pos | |
| def numToBit(inN): | |
| out = [] | |
| for i in xrange(8): | |
| out.append(getBit(inN,i)) | |
| return out |
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 <avr/io.h> | |
| #include <avr/interrupt.h> | |
| #include <avr/wdt.h> | |
| //#include <avr/eeprom.h> | |
| #include <util/delay.h> | |
| #include <avr/pgmspace.h> | |
| #include <string.h> | |
| #include "usbdrv.h" |