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
aebb23cbb88bd25774dd00fe94c60d9c1b133146 HEAD -> term-softnl-fix | |
Author: Simon Schubert <2@0x2c.org> | |
Date: Tue Sep 22 16:23:28 2015 +0200 | |
lisp/term.el: improve term-suppress-hard-newline mode | |
1 file changed, 10 insertions(+), 5 deletions(-) | |
lisp/term.el | 15 ++++++++++----- | |
Modified lisp/term.el |
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
58a: 7803 ldrb r3, [r0, #0] | |
* this to save space. | |
*/ | |
static void | |
usb_handle_control(void *data, ssize_t len, void *cbdata) | |
{ | |
58c: 0005 movs r5, r0 | |
/** |
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
* Dispatch non-standard request to registered USB functions. | |
*/ | |
static int | |
usb_handle_control_nonstddev(struct usb_ctrl_req_t *req) | |
{ | |
/* XXX filter by interface/endpoint? */ | |
5bc: 6836 ldr r6, [r6, #0] | |
5be: 2e00 cmp r6, #0 | |
5c0: d1e9 bne.n 596 <usb_handle_control+0x22> | |
} |
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
8192 549603 541371 627347 499417 | |
16384 1079141 972248 1472845 431885 | |
24576 1599754 1646590 2541364 1445762 | |
32768 1755821 1786561 1913879 1600281 | |
40960 1799194 1835745 1998548 1748565 | |
49152 2115317 2123573 2229342 2014876 | |
57344 2512684 2497239 2717026 2352627 | |
65536 3082744 3083669 3188667 2986538 | |
73728 3413121 3350034 3562585 3194868 | |
81920 3785803 3786038 3889338 3699650 |
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 <sys/mman.h> | |
#include <inttypes.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#define BUF_SIZE 8*1024*1024 | |
#define SIZE_INC 8*1024 |
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
{ | |
init: function(elevators, floors) { | |
var topfloor = floors.length - 1; | |
var low_wait_mode = true; | |
function scheduleClosestIdle(floornum) { | |
var closest = null; | |
var distance = 0; | |
elevators.forEach(function (elevator) { | |
if (elevator.destinationQueue.length === 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
$('select[name="pv659"] option').each(function() { var str = $(this).text(); var m = str.match(/±[^,]*~ ([0-9.]+) V/); if (m && parseFloat(m[1]) >= 12) { $(this).attr("selected", true); }}); |
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
require 'nokogiri' | |
x = Nokogiri::XML($stdin.read) | |
parts = x.xpath('//export/components/comp').map do |n| | |
{ | |
ref: n.xpath('@ref').to_s, | |
count: '', | |
value: n.xpath('value/text()').to_s, | |
footprint: n.xpath('substring-after(footprint/text(), ":")').to_s, |
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
require 'nokogiri' | |
x = Nokogiri::XML($stdin.read) | |
res=x.xpath('//export/components/comp').map{|n| {ref: n.xpath('@ref').to_s, count: '', value: n.xpath('value/text()').to_s, footprint: n.xpath('substring-after(footprint/text(), ":")').to_s, part: n.xpath('fields/field[@name="Part"]/text()').to_s}}.group_by{|n| [n[:footprint],n[:part],n[:value]]}.values.map{|nl| nn=nl.first.dup;r=nl.map{|n| n[:ref]}; nn[:ref]=r.join(" "); nn[:count]=r.count; nn} | |
resstr=([res.first.keys]+res.map{|n| n.values}).map{|n| n.join("\t")}.join("\n") | |
$stdout.puts resstr |
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
68 10 00 63 00 00 60 | |
32 00 00 02 FE 02 00 00 00 FE 1C 60 80 00 00 FE 00 00 00 02 FE 02 00 00 00 02 02 02 FE 02 02 02 00 00 00 02 FE 02 00 00 00 00 80 78 0E 78 80 00 00 FE 00 | |
A4 00 00 | |
26 02 FE 02 00 00 00 02 02 02 82 62 1A 06 00 00 00 02 FE 02 00 00 00 FE 1C 60 80 00 00 FE 00 F8 04 02 02 02 04 18 00 | |
C0 00 00 | |
14 1F | |
68 11 00 68 01 00 65 | |
16 00 80 C0 FF C0 80 80 80 FF 80 80 81 86 B8 FF 80 80 80 C0 FF C0 80 | |
A2 80 80 |