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
func Crawl(url string, depth, workerCnt int, fetcher Fetcher) { | |
reqch := make(chan int) | |
seen := make(map[string]bool) | |
working := make(chan bool, workerCnt) | |
var crawl func(string, int) | |
crawl = func(url string, depth int) { | |
defer func(){reqch <- -1}() | |
if depth <= 0 { | |
return |
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
package main | |
import ( | |
"bytes" | |
"os" | |
"fmt" | |
"html" | |
"http" | |
"io/ioutil" | |
"log" |
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
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"time" | |
"log" | |
"io" | |
"os" |
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
mkdir -p cscope | |
FILE=$PWD/cscope/cscope.files | |
find "$PWD/src/" \ | |
"$PWD/src/board/st/pdk7105" \ | |
"$PWD/src/common" \ | |
"$PWD/src/cpu/sh" \ | |
"$PWD/src/cpu/sh/stx7105" \ | |
"$PWD/src/disk" \ | |
"$PWD/src/fs" \ | |
"$PWD/src/include" \ |
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
#!/bin/bash | |
set -o errexit | |
# use make.sh <uboot_version> # if fossil not exist | |
UBOOT_VER=${1:-1} | |
if [ "$UBOOT_VER" == "1" -a -x /usr/bin/fossil -a -r manifest.uuid ] ; then | |
# use fossil version | |
_id=$(cat manifest.uuid 2>/dev/null) | |
UBOOT_VER=$(printf %u 0x${_id:0:6}) | |
echo UBOOT_VER="$UBOOT_VER" |
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
Board: STx7105-PDK [32-bit mode] | |
U-Boot 1.3.1 (Aug 31 2013 - 10:44:00) - stm23_0045 | |
DRAM: 256 MiB | |
SPI: ST M25P80 (1MiB) device (page=256,erase=4096) | |
In: serial | |
Out: serial | |
Err: serial |
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
... | |
stm-ehci stm-ehci.1: USB 0.0 started, EHCI 1.00 | |
usb usb3: configuration #1 chosen from 1 choice | |
hub 3-0:1.0: USB hub found | |
hub 3-0:1.0: 1 port detected | |
stm-ohci stm-ohci.1: STMicroelectronics OHCI Host Controller | |
stm-ohci stm-ohci.1: new USB bus registered, assigned bus number 4 | |
stm-ohci stm-ohci.1: irq 142, io mem 0xfeaffc00 | |
usb usb4: configuration #1 chosen from 1 choice | |
hub 4-0:1.0: USB hub found |
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
# Maintainer: Sebastien Bariteau <numkem@gmail.com> | |
pkgname=atlassian-jira | |
pkgver=6.0.8 | |
# check new version on https://www.atlassian.com/software/jira/download | |
pkgrel=1 | |
pkgdesc="Atlassian's JIRA issue tracking system" | |
arch=('i686' 'x86_64') | |
license=(custom) | |
url="http://www.atlassian.com/software/jira/overview" | |
backup=(etc/conf.d/jira opt/atlassian-jira/conf/server.xml |
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
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for special C compiler options needed for large files... no |
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
gcc -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_MSE_INT_H -I/usr/local/include/ncurses/include -I/usr/local/include/ncurses/include/ncurses -DHAVE_CONFIG_H -c bvi.c | |
bvi.c: In function `main': | |
bvi.c:129: error: `tntty' undeclared (first use in this function) | |
bvi.c:129: error: (Each undeclared identifier is reported only once | |
bvi.c:129: error: for each function it appears in.) | |
make: *** [bvi.o] Error 1 |
OlderNewer