commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
165314f7dc4072fa056d21e20581db4541f9dcae | autohotkey/mouse_wheel_jumping_test.ahk | autohotkey/mouse_wheel_jumping_test.ahk | ~WheelDown::
GoingDown := True
if GoingUp
{
MsgBox, , Problem, Mouse wheel is jumping
VarSetCapacity(GoingDown,0)
}
return
~WheelUp::
GoingUp := True
if GoingDown
{
MsgBox, , Problem, Mouse wheel is jumping
VarSetCapacity(GoingUp,0)
}
return | Add simple AHK script to test mouse wheel jumping | Add simple AHK script to test mouse wheel jumping
| AutoHotkey | mit | teddy-gustiaux/scripts,teddy-gustiaux/scripts | |
260d5b324c8b1d2f43344296e0155fa2dd10566d | main.ahk | main.ahk | email = %1%
passwrd = %2%
Checkd()
{
WinWait Blizzard App Login, ,3
WinMove 0, 0
WinActivate
IfWinNotActive
{
Checkd()
}
if ErrorLevel
{
MsgBox unable to find Battle.net login window. Please record trying to login and report it at j20.pw/bnethelp
exit
}
... | Update for new login window | Update for new login window | AutoHotkey | mit | judge2020/Battle.net-Switcher | |
e3c87d619a23cc08a111d0c8420a7f56651e6462 | automatic/sandboxie.install/tools/sandboxie.ahk | automatic/sandboxie.install/tools/sandboxie.ahk | #NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 1 ;matches if title begins with string
DetectHiddenText, off ;will not search hidden window text
DetectHiddenWindows, off ;will not detect hidden windows
WinWait, Sandboxie ahk_class #32770, DONE, 120
WinActivate
Send,{Enter}
ExitApp | Add AHK for leftover debug dialog at completion of install/uninstall | Add AHK for leftover debug dialog at completion of install/uninstall
| AutoHotkey | apache-2.0 | maharishi/chocolatey-packages,dtgm/chocolatey-packages,dtgm/chocolatey-packages | |
561b04fc4f3379932287b467d303ab944fcd3ee3 | autohotkey/keep_window_on_top.ahk | autohotkey/keep_window_on_top.ahk | #NoTrayIcon
#Persistent
#SingleInstance force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ... | Add a script to launch the 'keep window on top' from other programs | Add a script to launch the 'keep window on top' from other programs
| AutoHotkey | mit | teddy-gustiaux/scripts,teddy-gustiaux/scripts | |
10b2742472454d3107fd3f2c1bbafd2db09fda5a | onenote/OneNote.ahk | onenote/OneNote.ahk | #NoEnv
#NoTrayIcon
#SingleInstance force
#Warn
SendMode Input
SetTitleMatchMode, 3
SetWorkingDir, %A_ScriptDir%
procName := "ONENOTE.EXE"
; Set cursor to page title for all pages in the current section
!q::
IfWinActive, ahk_exe %ProcName%
{
Send !{Home}
Loop, 31 {
Send ^+T
Send {Home}
... | Add AHK script to reset cursor position for all pages in a section | Add AHK script to reset cursor position for all pages in a section
| AutoHotkey | unlicense | ralish/dotfiles,ralish/dotfiles,ralish/dotfiles | |
c4f895372394c757593c331033bb6fb9ed5dee8f | PC98/AutoHotkeyU64.ahk | PC98/AutoHotkeyU64.ahk | ; Muhenkan (PC98 NFER key)
LWin::Send {vk1D}
; Henkan (PC98 XFER key)
;RWin::Send {vk1C}
;^RWin::Send {vk1C}
AppsKey::Send {vk1C}
^AppsKey::Send ^{vk1C}
;Muhenkan / 無変換 -> {vk1D}
;Henkan / 変換 -> {vk1C}
;Kana / かな -> {vkF2}
;IME ON/OF -> {vkF3}, {vkF4}
| Add AutoHotkey configuration for np2 | Add AutoHotkey configuration for np2
| AutoHotkey | mit | frank-deng/retro-works,frank-deng/retro-works,frank-deng/retro-works,frank-deng/retro-works,frank-deng/retro-works,frank-deng/retro-works | |
a45c092ca8c51c853861149822b428796dcfcc77 | remapWinArrow.ahk | remapWinArrow.ahk | Capslock::Ctrl
; Window management
#h::SendEvent #{Left}
#l::SendEvent #{Right}
#j::SendEvent #{Down}
#k::SendEvent #{Up}
; Windows Explorer Navigation
#IfWinActive, ahk_class CabinetWClass
^h::
ControlGet renamestatus,Visible,,Edit1,A
ControlGetFocus focussed, A
if(renamestatus!=1&&(focussed=DirectUIHWND3... | Add small windows autohotkey script. | Add small windows autohotkey script.
| AutoHotkey | mit | NathanMH/scripts,NathanMH/scripts,NathanMH/scripts | |
4877a3d516f1d1580a0d3912b0178be777ccad7f | changelog.awk | changelog.awk | #!/usr/bin/awk -f
BEGIN {
# Determines whether to print 'Unreleased' banner at top
UNRELEASED_COMMITS = 1
# Prefixes that determine whether a commit will be printed
CHANGELOG_REGEX = "^(changelog|fix|docs|chore|feat): "
FS="|"
while ("git log --pretty='%D|%s|%H'" | getline) {
IS_GIT_TAG = length($1) && match($1... | #!/usr/bin/awk -f
BEGIN {
# Determines whether to print 'Unreleased' banner at top
UNRELEASED_COMMITS = 1
# Prefixes that determine whether a commit will be printed
CHANGELOG_REGEX = "^(changelog|fix|docs|chore|feat|feature|refactor|update): "
FS="|"
while ("git log --pretty='%D|%s|%H'" | getline) {
IS_GIT_TAG ... | Add new prefixes: feature, refactor and update | feature: Add new prefixes: feature, refactor and update
| Awk | mit | ianhenderson/simple-git-changelog |
1b7afe9dca60a1bee2f52612eedec9e199e20142 | lib/defexp.awk | lib/defexp.awk | # awk script to convert symbol export table formats
# converts an msvc .def file to an darwin ld export-symbols-list file
# we only support the most basic module definition syntax
# skip comments
/^\w*#.*/ {next}
/^\w*;.*/ {next}
# remember and propagate the library name
/LIBRARY/ {name = $2; print "\# export list f... | # awk script to convert symbol export table formats
# converts an msvc .def file to an darwin ld export-symbols-list file
# we only support the most basic module definition syntax
# skip comments
/^\w*#.*/ {next}
/^\w*;.*/ {next}
# remember and propagate the library name
/LIBRARY/ {name = $2; print "# export list fo... | Remove a redundant escape character. | Remove a redundant escape character.
Some awks warn about it having no effect.
git-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@16492 0101bb08-14d6-0310-b084-bc0e0c8e3800
| Awk | bsd-3-clause | KTXSoftware/theora,Distrotech/libtheora,Distrotech/libtheora,Distrotech/libtheora,KTXSoftware/theora,KTXSoftware/theora,Distrotech/libtheora,KTXSoftware/theora,Distrotech/libtheora,KTXSoftware/theora |
b9043343f3d6881e4d013c5d62a7d886ec41ee9d | fixExtraLinesFrom-webscraper.awk | fixExtraLinesFrom-webscraper.awk | # Print lines from a WebScraper csv file after joining extra newlines
# INVOCATION:
# awk -f fixExtraLinesFrom-webscraper.awk BritBoxPrograms.csv
{
if (/^"/)
printf ("\n" $0)
else
printf
}
| # Print lines from a WebScraper csv file after joining extra newlines
# INVOCATION:
# awk -f fixExtraLinesFrom-webscraper.awk BritBoxPrograms.csv
{
if (/^"/)
printf ("\n" $0)
else
printf
}
END {
printf ("\n")
}
| Make sure newline at end of file | Make sure newline at end of file
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday |
8bd3e890fcdef23f61840c00d2acd9fa7efe073b | recipes-core/systemd/systemd-units/candump.awk | recipes-core/systemd/systemd-units/candump.awk | {
if (1==NR)
{
startTimestamp = substr($1, 2, length($1) - 2)
printf(";$FILEVERSION=1.3\n")
printf(";$STARTTIME=%u.%u\n", mktime(strftime("%Y %m %d 0 0 0", startTimestamp)) / 86400 + 25569, \
10000000000 / 86400 * (mktime(strftime("%Y %m %d %H %M %S", startTimestamp)) - m... | {
if (1==NR)
{
startTimestamp = substr($1, 2, length($1) - 2)
printf(";$FILEVERSION=1.3\n")
printf(";$STARTTIME=%u.%.0f\n", mktime(strftime("%Y %m %d 0 0 0", startTimestamp)) / 86400 + 25569, \
10000000000.0 / 86400.0 * (mktime(strftime("%Y %m %d %H %M %S", startTimestamp... | Use float for calculating fractional part of STARTTIME to support busybox awk. Also print used start time is various representations. | Use float for calculating fractional part of STARTTIME to support busybox awk.
Also print used start time is various representations.
Compared to gawk, busybox awk does only support 32 bit integers.
| Awk | mit | tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist |
d7f0c1f819f5892e124041ecbe535500e773da0d | changelog.awk | changelog.awk | #!/usr/bin/awk -f
BEGIN {
# Determines whether to print 'Unreleased' banner at top
UNRELEASED_COMMITS = 1
# Prefixes that determine whether a commit will be printed
CHANGELOG_REGEX = "^(changelog|fix|docs|chore|feat|feature|refactor|update): "
FS="|"
while ("git log --pretty='%D|%s|%H'" | getline) {
IS_GIT_TAG ... | #!/usr/bin/awk -f
BEGIN {
REPO_URL = getRepoURL()
# Prefixes that determine whether a commit will be printed
CHANGELOG_REGEX = "^(changelog|fix|docs|chore|feat|feature|refactor|update): "
FS="|"
# %D: tags
# %s: commit message
# %H: long hash
# %h: short hash
while ("git log --pretty='%D|%s|%H|%h'" | getline) ... | Update to output in markdown format | feat: Update to output in markdown format
| Awk | mit | ianhenderson/simple-git-changelog |
c2aad25b36a875cf3e04e5db93945a4e30c8f85e | tools/awk/median.awk | tools/awk/median.awk | #!/usr/bin/env awk -f
#
# Computes the median.
#
# Usage: median
#
# Input:
# - a column of numbers
#
# Output:
# - median value
BEGIN {
i = 0
}
{
a[i++] = $1
}
END {
j = i/2
if ( i%2 == 1 ) {
median = a[int(j)]
} else {
median = (a[j] + a[j-1])/2
}
print median
}
| #!/usr/bin/env awk -f
#
# Computes the median.
#
# Usage: median
#
# Input:
# - a sorted column of numbers
#
# Output:
# - median value
BEGIN {
i = 0
}
{
a[i++] = $1
}
END {
j = i/2
if ( i%2 == 1 ) {
median = a[int(j)]
} else {
median = (a[j] + a[j-1])/2
}
print median
}
| Clarify that input must be sorted | Clarify that input must be sorted
| Awk | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib |
6a20e40655814dc20449ef1ae90a4e4ee9c42689 | targets.awk | targets.awk | BEGIN {
FS = "\n";
}
/Targets:/ {
while (getline && $0 != "") {
if ($0 ~ /Tests/) continue;
sub(/^ +/, "");
print;
}
}
| BEGIN {
FS = "\n";
}
/Targets:/ {
while (getline && $0 != "") {
if ($0 ~ /Test/) continue;
sub(/^ +/, "");
print;
}
}
| Exclude any target with "Test" in the name | Exclude any target with "Test" in the name
| Awk | mit | hsavit1/objc-build-scripts,jspahrsummers/objc-build-scripts |
ff5ad7ffc3e1cbed1f8c2b0ecbef64dd32ee9921 | Gtk-3.0.awk | Gtk-3.0.awk | #!/usr/bin/awk
#
# Patch the generated wrapper Swift code to handle special cases
#
BEGIN { depr_init = 0 }
/open .* ColorSelection/ { depr_init = 1 }
/public .* ColorSelection/ { depr_init = 1 }
/public .* HSV/ { depr_init = 1 }
/open .* HSV/ { depr_init = 1 }
/ init.. {/ {
if (depr_init) {
printf("@available(*, de... | #!/usr/bin/awk
#
# Patch the generated wrapper Swift code to handle special cases
#
BEGIN { depr_init = 0 ; comment = 0 }
/open .* ColorSelection/ { depr_init = 1 }
/public .* ColorSelection/ { depr_init = 1 }
/public .* HSV/ { depr_init = 1 }
/open .* HSV/ { depr_init = 1 }
/open .* HSV/ { depr_init = 1 }
/func getCol... | Make this link against gtk+-3.24.4 | Make this link against gtk+-3.24.4
| Awk | bsd-2-clause | rhx/SwiftGtk,rhx/SwiftGtk,rhx/SwiftGtk |
e65dcb5321a86f0d4e1cee92e2f36f8c84013904 | generateversionscript.awk | generateversionscript.awk | BEGIN {
print "V1.0 {";
print " global:";
}
{
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
# Skip empty lines and comment lines starting with semicolon
if (NF && !match($0, /^[[:space:]]*;/))
{
print " " $0 ";";... | BEGIN {
print "V1.0 {";
print " global:";
}
{
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
# Skip empty lines and comment lines starting with semicolon
if (NF && !match($0, /^[:space:]*;/))
{
print " " $0 ";";
... | Revert "Fix bracket expression matches a character at gawk" | Revert "Fix bracket expression matches a character at gawk"
| Awk | mit | bartdesmet/coreclr,cmckinsey/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,mskvortsov/coreclr,ragmani/coreclr,dpodder/coreclr,hseok-oh/coreclr,JosephTremoulet/coreclr,botaberg/coreclr,andschwa/coreclr,mmitche/coreclr,rartemev/coreclr,qiudesong/coreclr,yeaicc/coreclr,pgavlin/coreclr,wtgodbe/coreclr,pgavlin/coreclr,ru... |
95f0985e4aa0c96d77cb3287f5c9c34c946e0124 | q3/dep.awk | q3/dep.awk | #!/bin/awk
#
# $Id$
{
if (NR == 1) {
print
}
else {
for (i = 1; i <= NF; i++) {
if ($i ~ /^include\// ||
$i ~ /^src\// ||
$i ~ /^obj\// ||
$i == "\\")
printf " " $i
}
print ""
}
}
| #!/bin/awk
#
# $Id$
{
if (NR == 1) {
print
}
else {
for (i = 1; i <= NF; i++) {
if ($i ~ /^include\// ||
$i ~ /^src\// ||
$i ~ /^obj\// ||
$i ~ /^\.\.\// ||
$i == "\\")
printf " " $i
}
print ""
}
}
| Include header files whose path begins with ../ . | Include header files whose path begins with ../ .
git-svn-id: 12ae5aeef08fd453d75833463da4cc20df82a94e@2159 8af8166b-12a6-a448-a533-9086ace3f9f6
| Awk | mit | snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3 |
86e0f63ada393327a76f1ba5bdfc1e4ff633aa1b | log_rewriter.awk | log_rewriter.awk | BEGIN{
now = systime()
format = "%Y/%m/%d %H:%M:%S"
}
{
split($1, DATE, "/")
split($2, TIME, ":")
$1 = ""
$2 = ""
t = mktime(DATE[1] " " DATE[2] " " DATE[3] " " TIME[1] " " TIME[2] " " TIME[3])
if (delta == "") {
delta = no... | BEGIN{
now = systime()
format = "%Y/%m/%d %H:%M:%S"
}
{
split($1, DATE, "/")
split($2, TIME, ":")
t = mktime(DATE[1] " " DATE[2] " " DATE[3] " " TIME[1] " " TIME[2] " " TIME[3])
if (delta == "") {
delta = now - t
}
out = st... | Fix an output formatting bug in the rewriter script. | Fix an output formatting bug in the rewriter script.
| Awk | apache-2.0 | 4honor/mtail,google/mtail,SuperQ/mtail,4honor/mtail,SuperQ/mtail,google/mtail |
d67bae61d2d09bd96a593087ed0135313298da07 | rtest/strps.awk | rtest/strps.awk | BEGIN{doit = 0}
{ if (doit) print $0 }
$0 == "%%EndSetup" { doit = 1 }
| BEGIN{doit = 0}
{ if (doit) print $0 }
$0 = /%%End.*Setup/ { doit = 1 }
| Fix awk script to work with cairo generated postscript | Fix awk script to work with cairo generated postscript
| Awk | epl-1.0 | pixelglow/graphviz,jho1965us/graphviz,BMJHayward/graphviz,MjAbuz/graphviz,tkelman/graphviz,pixelglow/graphviz,ellson/graphviz,BMJHayward/graphviz,BMJHayward/graphviz,jho1965us/graphviz,MjAbuz/graphviz,ellson/graphviz,BMJHayward/graphviz,pixelglow/graphviz,kbrock/graphviz,jho1965us/graphviz,MjAbuz/graphviz,MjAbuz/graphv... |
37fe110620923d519b6b6d3336c12429d6f3b755 | debts.awk | debts.awk | #!/usr/bin/awk -f
BEGIN { FS = "," }
$1 == "pld" { p += $2 }
$1 == "val" { v += $2 }
{ "date -d "$3" +%B" | getline month
monthly[month][$1] += $2
categorically[$1][$4] += $2 }
END { print "Val spent "v"€"
print "PLD spent "p"€"
if ( p < v )
print "PLD owe "v - p"€ to val."
else if ( p ... | #!/usr/bin/awk -f
BEGIN { FS = "," }
$1 == "pld" { p += $2 }
$1 == "val" { v += $2 }
{ "date -d "$3" '+%B %Y'" | getline month_and_year
monthly[month_and_year][$1] += $2
categorically[$1][$4] += $2 }
END { print "Val spent "v"€"
print "PLD spent "p"€"
if ( p < v )
print "PLD owe "v - p"€ to v... | Add year differentation into monthly report | Add year differentation into monthly report
| Awk | unlicense | pldiiw/debts |
a97463f6c90434039bcd550ae2c103993c376561 | files/accounting/quota.awk | files/accounting/quota.awk | #
# Parsing output of:
#
# hdfs dfs -du -s '/user/*'
#
function dbstr(s) {
if (s) { return "'" s "'" }
else { return "NULL" }
}
function dbi(i) {
if (i >= 0) { return i }
else { return "NULL" }
}
BEGIN {
FS="[ \t/]+"
print "INSERT INTO measure (name) VALUES ('quota');";
}
{
used=$1
user=$4
print "INSERT IN... | #
# Parsing output of:
#
# hdfs dfs -du -s '/user/*'
#
function dbstr(s) {
if (s) { return "'" s "'" }
else { return "NULL" }
}
function dbi(i) {
if (i >= 0) { return i }
else { return "NULL" }
}
BEGIN {
FS="[ \t/]+"
print "INSERT INTO measure (name) VALUES ('quota');";
}
/^[0-9]+[ ]+[0-9]+[ ]+\/.*/ {
used... | Support also different version of Hadoop (=Fedora). | Support also different version of Hadoop (=Fedora).
| Awk | mit | MetaCenterCloudPuppet/cesnet-site_hadoop,MetaCenterCloudPuppet/cesnet-site_hadoop,MetaCenterCloudPuppet/cesnet-site_hadoop,MetaCenterCloudPuppet/cesnet-site_hadoop |
ca1ade1571f27a86fc8a559a8b179024d07f0a7b | generateIMDbScriptsFrom-titles.awk | generateIMDbScriptsFrom-titles.awk | {
title = $0
if (match (title, /, The"$/)) {
sub (/^"/,"\"The ", title)
sub (/, The"$/,"\"", title)
}
printf ("echo ==\\> %3d: %s\n",NR,title) >> TITLES_SCRIPT
printf ("./getIMDbInfoFrom-titles.py %s\n",title) >> TITLES_SCRIPT
printf ("echo \n\n") >> TITLES_SCRIPT
printf ("e... | {
title = $0
if (match (title, /, The"$/)) {
sub (/^"/,"\"The ", title)
sub (/, The"$/,"\"", title)
}
if (FILENAME ~ /Acorn/)
KEY = "A"
if (FILENAME ~ /BBox/)
KEY = "B"
if (FILENAME ~ /MHz/)
KEY = "M"
if (FILENAME ~ /Watched/)
KEY = "W"
... | Add identifier KEY so we can see where we are in -v script | Add identifier KEY so we can see where we are in -v script
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday |
9c65c5b741b341fa0a689e91a0cc4ff15d8e53a6 | scripts/marksession.awk | scripts/marksession.awk | BEGIN {
session_count = 0;
FS="|"
OFS="|"
}
{
if ($3 ~ "[0-9]+") {
# See if the current line is already in the table
frame_file = destDir "/frames/Frame"$3".html"
session_line = ""
"grep -i \"" session_token "\" " frame_file | getline session_line
if (session_line == "" ) {
$6 = "{0}... | BEGIN {
session_count = 0;
FS="|"
OFS="|"
}
{
if ($3 ~ "[0-9]+") {
# See if the current line is already in the table
frame_file = destDir "/frames/Frame"$3".html"
session_line = ""
"grep -i \"" session_token "\" " frame_file | getline session_line
close(grep)
if (session_line == "" ) {... | Add a close command to avoid too many files opened problems (encountered with large libpcap file) | Add a close command to avoid too many files opened problems (encountered with large libpcap file)
git-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@118 8a65f31f-a56f-4bd6-98e8-2755f64920ec
| Awk | bsd-3-clause | pol51/callflow,pol51/callflow |
38b5a93ee539af40d8d12c22163057d2b337acf1 | Programs/brlapi.awk | Programs/brlapi.awk | ###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
# text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2006 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLU... | ###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
# text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2006 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLU... | Define KEY_MAX for Python. (dm) | Define KEY_MAX for Python. (dm)
git-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2776 91a5dbb7-01b9-0310-9b5f-b28072856b6e
| Awk | lgpl-2.1 | brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty |
feb107421f91c5001dc3c580aa3a4ea237865f99 | doxy/githublabels.awk | doxy/githublabels.awk | #!/usr/bin/awk -f
#
# Adds github compatible labels to level 1 and 2 markdown headings
# in underline style.
#
#
# Substitute github references with doxygen references.
#
/\(#[_a-z0-9-]*\)/ {
gsub(/\(#[_a-z0-9-]*\)/, "<__REF__&__REF__>")
gsub(/<__REF__\(#/, "(@ref ")
gsub(/\)__REF__>/, ")")
}
#
# If this line is u... | #!/usr/bin/awk -f
#
# Adds github compatible labels to level 1 and 2 markdown headings
# in underline style.
#
#
# Get file name prefix for references.
#
filename != FILENAME {
filename = FILENAME
# strip path
"pwd" | getline path
path = path "/"
prefix = substr(filename, 1, length(path)) == path \
? su... | Use a file name prefix for generated labels | Use a file name prefix for generated labels
This ensures labels are unique within the wider context of the doxygen
documentation.
| Awk | isc | lonkamikaze/powerdxx,lonkamikaze/powerdxx |
e3be4fe3c6be4dcdffb98f060eaf0422a0775fc2 | bin/stats-aggregate.awk | bin/stats-aggregate.awk | BEGIN {
}
function extension(str){
n = split(str, parts, ".")
if (n == 1){
return "<NO EXTENSION>"
} else {
return parts[n]
}
}
$2 != "total" {
by_type[extension($2)] += $1
}
$2 ~ "CMakeLists.txt" {
#cmake should not count as text
by_type["txt"] -= $1
by_type["cmake"] += $1
}
$2 ~ "test" {
... | BEGIN {
}
function getExtension(str){
n = split(str, parts, ".")
if (n == 1){
return "<NO EXTENSION>"
} else {
return parts[n]
}
}
$2 != "total" {
by_type[getExtension($2)] += $1
}
$2 ~ "CMakeLists.txt" {
#cmake should not count as text
by_type["txt"] -= $1
by_type["cmake"] += $1
}
$2 ~ "tes... | Fix an awk script that doesn't seem to be very portable | Fix an awk script that doesn't seem to be very portable
| Awk | mit | jargv/dotfiles,jargv/dotfiles,jargv/dotfiles |
2422c97e6126bfb3415660d0e5a005002d73bce4 | common/process_manifest.awk | common/process_manifest.awk | { content = $1 ~ /^(content|skin|locale)$/ }
content && $NF ~ /^[a-z]/ { $NF = "/" name "/" $NF }
content {
sub(/^\.\./, "", $NF);
$NF = "jar:chrome/" name ".jar!" $NF
}
{
sub("^\\.\\./liberator/", "", $NF)
print
}
| { content = $1 ~ /^(content|skin|locale)$/ }
content && $NF ~ /^[a-z]/ { $NF = "/" name "/" $NF }
content {
sub(/^\.\./, "", $NF);
$NF = "jar:chrome/" name ".jar!" $NF
}
{
sub("^\\.\\./common/", "", $NF)
print
}
| Fix the modules path in the xpi chrome.manifests | Fix the modules path in the xpi chrome.manifests
| Awk | mit | moonshadow/dactyl,5digits/dactyl,madand/pentadactyl-pm,5digits/dactyl,madand/pentadactyl-pm,airodactyl/dactyl,derenio/vimperator-labs,zklinger/vimperator-labs,5digits/dactyl,Kjwon15/dactyl,nathyong/dactyl,Evidlo/vimperator-labs,moonshadow/dactyl,airodactyl/dactyl,nullren/vimperator-labs,invl/dactyl,stemar94/vimperator-... |
c08fde42c507af04f6d4f506cff6379be42ecfe6 | getAvg.awk | getAvg.awk | # Generate MHz_TV_Shows_minutes.csv by processing SHORT_SPREADSHEET to figure
# average episode length
#
BEGIN {
FS = "\t"
}
/^Title/ {
printf ("%s\t%s\t%s\t%s\tAvg Len\t%s\t%s\t%s\t%s\t%s\n",
$1,$2,$3,$4,$5,$6,$7,$8,$9)
}
/=HYPERLINK/ {
dur=$4
sub (/h/,"",dur)
sub (/m/,"",dur)
s... | # Generate MHz_TV_Shows_minutes.csv by processing SHORT_SPREADSHEET to figure
# average episode length
#
BEGIN {
FS = "\t"
}
/^Title/ {
printf ("%s\t%s\t%s\t%s\tAvg Len\t%s\t%s\t%s\t%s\t%s\n",
$1,$2,$3,$4,$5,$6,$7,$8,$9)
}
/=HYPERLINK/ {
dur=$4
sub (/h/,"",dur)
sub (/m/,"",dur)
s... | Print last two lines in Avg | Print last two lines in Avg
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday |
6d7701c198590f8d727f038e1ba40b1e57c95ef6 | generateversionscript.awk | generateversionscript.awk | BEGIN {
print "V1.0 {";
print " global:";
}
{
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
# Skip empty lines and comment lines starting with semicolon
if (NF && !match($0, /^[:space:]*;/))
{
print " " $0 ";";
... | BEGIN {
print "V1.0 {";
print " global:";
}
{
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
# Skip empty lines and comment lines starting with semicolon
if (NF && !match($0, /^[ \t]*;/))
{
print " " $0 ";";
}
} ... | Handle mscorwks_unixexports.src with better regexp operator for compatibility | Handle mscorwks_unixexports.src with better regexp operator for compatibility
ver3:
According to the gawk manual, The '\S' operator (as shorthand for '[^[:space:]]')
matches any character that is not whitespace. However, '[ \t]' is better than
'\S' for Mac OSX.
(source - https://www.gnu.org/software/gawk/manual/html_n... | Awk | mit | Dmitry-Me/coreclr,jhendrixMSFT/coreclr,LLITCHEV/coreclr,pgavlin/coreclr,mmitche/coreclr,naamunds/coreclr,James-Ko/coreclr,alexperovich/coreclr,jhendrixMSFT/coreclr,naamunds/coreclr,alexperovich/coreclr,ramarag/coreclr,gkhanna79/coreclr,bartdesmet/coreclr,martinwoodward/coreclr,botaberg/coreclr,wtgodbe/coreclr,krytarows... |
ff1695e8ee05a0a584e451f076ecec31b007487e | mk/script/nm2c.awk | mk/script/nm2c.awk | #
# Converts the output of 'nm' into a C source containing an array of symbols
# that correspond to functions (t and T in terms of 'nm').
#
# Usage:
# nm -n image | awk -f nm2c.awk
#
# Date: Aug 28, 2012
# Author: Eldar Abusalimov
#
BEGIN {
print "/* Auto-generated file. Do not edit. */";
print "";
print "#inc... | #
# Converts the output of 'nm' into a C source containing an array of symbols
# that correspond to functions (t and T in terms of 'nm').
#
# Usage:
# nm -n image | awk -f nm2c.awk
#
# Date: Aug 28, 2012
# Author: Eldar Abusalimov
#
BEGIN {
print "/* Auto-generated file. Do not edit. */";
print "";
print "#inc... | Fix for symbol table demangled names with spaces | c++: Fix for symbol table demangled names with spaces | Awk | bsd-2-clause | gzoom13/embox,abusalimov/embox,embox/embox,Kefir0192/embox,Kefir0192/embox,abusalimov/embox,Kakadu/embox,vrxfile/embox-trik,abusalimov/embox,Kefir0192/embox,mike2390/embox,mike2390/embox,embox/embox,mike2390/embox,mike2390/embox,gzoom13/embox,vrxfile/embox-trik,Kefir0192/embox,Kakadu/embox,Kakadu/embox,abusalimov/embox... |
c9be6e5fdea9ffb5ad3572a1d0e778ae8176ea8f | caldaily.awk | caldaily.awk | BEGIN {
FS="\n"
OFS=""
ORS="\n"
print "#!/bin/sh"
print " "
}
# blank lines
/^$/ { next }
# record header
$1 ~ /^\*\*\*\*/ {
next
}
# summary field
$1 ~ /^[ ]*summary\:/ {
gsub(/\r/,"");
idx = match($1, /summary\:(.*)/)
print "SUMMARY=\"" substr($1, idx + 9) "\""
next
}
# startda... | BEGIN {
FS="\n";
OFS="";
ORS="\n";
print "#!/bin/sh";
print "#";
}
# blank lines
/^$/ {
next;
}
# record header
$1 ~ /^\*\*\*\*/ {
next;
}
# summary field
$1 ~ /^[ ]*summary\:/ {
gsub(/\r/,"");
idx = match($1, /summary\:(.*)/);
print "SUMMARY=\"" substr($1, idx + 9) "\"";
nex... | Improve shell script (thx 'Barmic') | Improve shell script (thx 'Barmic')
| Awk | bsd-3-clause | kianby/owncloud_calremind |
ed88c7b23be0ad22af0f5504c3d447c75c8a2773 | pairs.awk | pairs.awk | #!/usr/bin/awk -f
BEGIN {
FS = OFS = "\t";
}
{
len = split($3, words, ", ");
if (length(N) > 0 && len >= N) next;
for (i = 1; i <= len - 1; i++) {
for (j = i + 1; j <= len; j++) {
print words[i], words[j], ORS, words[j], words[i] | "sort --parallel=$(nproc) -us";
}
}
}
| #!/usr/bin/awk -f
BEGIN {
FS = "\t";
OFS = "";
}
{
len = split($3, words, ", ");
if (length(N) > 0 && len >= N) next;
for (i = 1; i <= len - 1; i++) {
for (j = i + 1; j <= len; j++) {
print words[i], FS, words[j], ORS, words[j], FS, words[i] | "sort --parallel=$(nproc) -S1G -u... | Fix the pair generation and also speed up the sorting | Fix the pair generation and also speed up the sorting
| Awk | mit | dustalov/watset,dustalov/watset |
c8c7573342d2576a1a1a00e8960eef5bbb1904df | recipes-core/systemd/systemd-units/candump.awk | recipes-core/systemd/systemd-units/candump.awk | {
if (1==NR)
{
startTimestamp = substr($1, 2, length($1) - 2)
printf(";$FILEVERSION=1.3\n")
printf(";$STARTTIME=%u.%u\n", mktime(strftime("%Y %m %d 0 0 0", startTimestamp)) / 86400 + 25569, \
10000000000 / 86400 * (mktime(strftime("%Y %m %d %H %M %S", startTimestamp)) - m... | {
if (1==NR)
{
startTimestamp = substr($1, 2, length($1) - 2)
printf(";$FILEVERSION=1.3\n")
printf(";$STARTTIME=%u.%u\n", mktime(strftime("%Y %m %d 0 0 0", startTimestamp)) / 86400 + 25569, \
10000000000 / 86400 * (mktime(strftime("%Y %m %d %H %M %S", startTimestamp)) - m... | Handle cases where system time is adjusted backwards (e.g. by NTP). | Handle cases where system time is adjusted backwards (e.g. by NTP).
| Awk | mit | tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist,tramseyer/meta-medusa-dist |
5aebe46edd0d6a35fb6ef94f6b7720e6dc19442a | GLib-2.0.awk | GLib-2.0.awk | #!/usr/bin/awk
#
# Patch the generated wrapper Swift code to handle special cases
#
BEGIN { etpInit = 0 }
/public convenience init.T: ErrorTypeProtocol./ {
etpInit = 1
print " /// Convenience copy constructor, creating a unique copy"
print " /// of the passed in Error. Needs to be freed using free()"
print "... | #!/usr/bin/awk
#
# Patch the generated wrapper Swift code to handle special cases
#
BEGIN { etpInit = 0 ; vaptrptr = 0 }
/public convenience init.T: ErrorTypeProtocol./ {
etpInit = 1
print " /// Convenience copy constructor, creating a unique copy"
print " /// of the passed in Error. Needs to be freed using f... | Mark CVaListPointer array generators as unavailable on Linux | Mark CVaListPointer array generators as unavailable on Linux
| Awk | bsd-2-clause | rhx/SwiftGLib,rhx/SwiftGLib,rhx/SwiftGLib |
11e41c0eef91d9b8fdbd8fb25795be915b29414f | usr.sbin/ndc/ndcedit.awk | usr.sbin/ndc/ndcedit.awk | # $Id: ndcedit.awk,v 1.4 1997/02/22 16:08:19 peter Exp $
NR == 3 {
print "#"
print "# This file is generated automatically, do not edit it here!"
print "# Please change src/usr.sbin/ndc/ndcedit.awk instead"
print "#"
print ""
print "# If there is a global system configuration file, suck it in."
print "if [ -f /... | # $Id: ndcedit.awk,v 1.5 1997/05/27 07:19:57 jkh Exp $
NR == 3 {
print "#"
print "# This file is generated automatically, do not edit it here!"
print "# Please change src/usr.sbin/ndc/ndcedit.awk instead"
print "#"
print ""
print "# If there is a global system configuration file, suck it in."
print "if [ -f /et... | Check named_enable rather than just named_flags. PR: 3893 (sort of) | Check named_enable rather than just named_flags.
PR: 3893 (sort of)
| Awk | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
c0ee463cc53b2bfa9c7b3f45e1b2dca4a45df93a | buildBBoxScrapersFrom-webscraper.awk | buildBBoxScrapersFrom-webscraper.awk | BEGIN {
FS = "\""
}
/\/us\/movie\// {
numMovies += 1
shortURL = $6
printf ("%s \"https://www.britbox.com%s\"", trailingComma, shortURL) >> EPISODES_JSON_FILE
trailingComma = ",\n"
}
/\/us\/show\// {
numShows += 1
shortURL = $6
printf ("%s \"https://www.britbox.com%s\"", trailingC... | BEGIN {
FS = "\""
}
/\/us\/movie\// {
numMovies += 1
shortURL = $6
printf ("%s \"https://www.britbox.com%s\"", trailingEpisodesComma, shortURL) \
>> EPISODES_JSON_FILE
trailingEpisodesComma = ",\n"
}
/\/us\/show\// {
numShows += 1
shortURL = $6
printf ("%s \"https://www.b... | Fix extra comma in json file | Fix extra comma in json file
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday |
19d407a3e9c3de6b541a25b577bcbeb5a7f5ce28 | cpu/kinetis/dist/generate-cpu-files/generate-header-includes.awk | cpu/kinetis/dist/generate-cpu-files/generate-header-includes.awk | # Usage: awk -f <this_script> vendor/MKxxxx.h vendor/MKxxyy.h vendor/MKzzz.h ...
/Processor[s]?:/ {
i=0;
if (FNR == NR) {
printf "#if";
} else {
printf "#elif";
}
while(match($0, /MK.*/)) {
if (i>0) {
printf " || \\\n ";
}
printf " defined(CPU_MO... | Add script for generating vendor header include lines | kinetis: Add script for generating vendor header include lines
| Awk | lgpl-2.1 | adrianghc/RIOT,ks156/RIOT,rfuentess/RIOT,authmillenon/RIOT,avmelnikoff/RIOT,miri64/RIOT,OTAkeys/RIOT,LudwigKnuepfer/RIOT,roberthartung/RIOT,Josar/RIOT,RIOT-OS/RIOT,biboc/RIOT,smlng/RIOT,toonst/RIOT,gebart/RIOT,mfrey/RIOT,ant9000/RIOT,LudwigOrtmann/RIOT,yogo1212/RIOT,LudwigKnuepfer/RIOT,adrianghc/RIOT,kbumsik/RIOT,Ludwi... | |
88be4af11ec0c668bdc98f459511d7ec915660ba | scripts/tdb/statuses_gln.awk | scripts/tdb/statuses_gln.awk | #!/usr/bin/awk -f
# cat *.tdb | tdbout -t publisher,plugin,publisher:info[tester],status
BEGIN {
FS="\t"
pn = 0
}
{
nn = split($2,na,/\./)
lp2 = na[nn]
if (!(($1,lp2) in b)) {
p[pn] = $1
n[pn] = lp2
# n[pn] = $2
r[pn] = $3
pn++
}
b[$1,lp2]++
c[$1,lp2,$4]++
... | Add new script for gln testing report | Add new script for gln testing report
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@24405 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| Awk | bsd-3-clause | lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon | |
8c05b6c27ccd629f33bb5e20ad9d7eaf6496b96f | tools/awk/frequency_table.awk | tools/awk/frequency_table.awk | #!/usr/bin/env awk -f
#
# Generates a frequency table.
#
# Usage: frequency_table
#
# Input:
# - a column of numbers
#
# Output:
# - frequency table
{
total += 1
table[$1] += 1
}
END {
for (v in table) {
count = table[v]
print v OFS count OFS count/total
}
}
| Add AWK script to generate a frequency table from a column of numbers | Add AWK script to generate a frequency table from a column of numbers
| Awk | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib | |
54ba7975776e8301a9ab2551cbb5755b8df1ce4b | ipcalc.awk | ipcalc.awk | # Calculate network address from IP and prefix len
# Tobias Waldekranz, 2017
#
# $ echo "192.168.2.232/24" | awk -f ipcalc.awk
# 192.168.2.0/24
#
# $ echo "192.168.2.232.24" | awk -f ipcalc.awk
# 192.168.2.0/24
#
# $ echo "192.168.2.232 24" | awk -f ipcalc.awk
# 192.168.2.0/24
#
BEGIN { FS="[. /]" }
{
... | Add Tobias Waldekranz's awesome little AWK script | Add Tobias Waldekranz's awesome little AWK script
Signed-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>
| Awk | bsd-3-clause | troglobit/netcalc,troglobit/sipcalc,troglobit/netcalc,troglobit/sipcalc | |
b0d694788d182ec4bc134249a192a82a017a2292 | scripts/misc/one-vs-rest.awk | scripts/misc/one-vs-rest.awk | BEGIN{ FS="\t"; OFS="\t"; }
{
possible_labels=$1;
rowid=$2;
label=$3;
features=$4;
label_count = split(possible_labels, label_array, ",");
for(i = 1; i <= label_count; i++) {
if (label_array[i] == label)
print rowid, label, 1, features;
else
print rowid, label_array[i], -... | Add an awk script used in one-vs-the-rest classification example. | Add an awk script used in one-vs-the-rest classification example. | Awk | apache-2.0 | daijyc/hivemall,daijyc/hivemall,NaokiStones/hivemall,NaokiStones/hivemall,naritta/hivemall,daijyc/hivemall,naritta/hivemall,tempbottle/hivemall,tempbottle/hivemall,naritta/hivemall,NaokiStones/hivemall,tempbottle/hivemall | |
2dc6ee63574c58e0c072d094473ba0d64afed1e0 | tools/data/submission_old_to_new.awk | tools/data/submission_old_to_new.awk | #!/usr/bin/env awk -f
{
for (i = 1; i <= NF; i++) {
if (i == 3) printf "-1 ";
printf $i" "
}
printf "\n"
} | Add script to convert old submission format to new format. | Add script to convert old submission format to new format.
| Awk | mit | myfavouritekk/TPN | |
a3d9bb278deba69723ad6496f1a0f90fd5717017 | verifyBBoxInfoFrom-webscraper.awk | verifyBBoxInfoFrom-webscraper.awk | # WebScraper has problems getting incomplete data.
#
# Crosscheck the info in EPISODES with the info in SEASONS. Count up episodes
# and compare with the number of episodes listed in the seasons file.
# For now these seem more likely a problem in scraping SEASONS than EPISODES
# so it could be these are false positive... | Add crosscheck of EPISODES with SEASONS | Add crosscheck of EPISODES with SEASONS
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
72d535f618bf8410bd503ca0be2f3f14bc7263cb | z3_parse.awk | z3_parse.awk | #!/usr/bin/gawk -f
BEGIN{
bees="";
}
/^[ ]+\(define-fun.*Int$/{
bees = $2;
}
/^[ ]+[0-9]+\)/{
match ($0, /^[ ]+([0-9]+)\)/, arr)
print bees " " arr[1];
}
| Add parser for Z3's get-model output. | Add parser for Z3's get-model output.
Doesn't really parse it, it just reformats it into something less
rubbish.
| Awk | bsd-2-clause | jmorse/numbness | |
ddaa6f5195bcfb88f15cb9e3e6e5af6cadf0c210 | MPRT/MPRT.awk | MPRT/MPRT.awk | #!/usr/bin/awk -f
{
protein = ""
flag = 0 # Get rid of line with label
while (("curl -Ls http://www.uniprot.org/uniprot/"$1".fasta" | getline prot_line) > 0) {
if (flag)
# Append line to protein
protein = protein prot_line
else
# We're on the first lin... | Add awk solution to problem 16 | Add awk solution to problem 16
| Awk | mit | bewuethr/ctci | |
f9f56547f387b988fecf50b9897c577a03838664 | crosscheckInfo.awk | crosscheckInfo.awk | # Crosscheck the number of episodes of each show found by counting them (grep -c)
# in EPISODES_SORTED_FILE versus the number added up from SEASONS_SORTED_FILE
# Both numbers are found by processing a checkEpisodeInfo file
#
# For now these seem more likely a problem in scraping SEASONS_SORTED_FILE than EPISODES_SORTED... | Add a crosscheck for the SEASONS_SORTED_FILE | Add a crosscheck for the SEASONS_SORTED_FILE
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
4e6ea83fa5fc80df68a49b554195bef5f84c4274 | mergelines.awk | mergelines.awk | #!/usr/bin/awk -f
#
# AWK script to join multiple lines if the preceeding line ends with a comma (,).
#
# For example:
#
# 1,
# 2,
# 3
#
# Turns into:
#
# 1, 2, 3
#
/,$/ {
ORS=""
print $0
do {
getline
print $0
} while ($0 ~ /,$/)
ORS="\n"
print ""
}
| Add AWK script to merge comma-terminated lines | Add AWK script to merge comma-terminated lines
| Awk | bsd-3-clause | nlfiedler/devscripts,nlfiedler/devscripts | |
78967bffe074325867b6f020f95b7235c0b58b14 | generateLinksFrom-NetflixActivityPage.awk | generateLinksFrom-NetflixActivityPage.awk | # Helper for converting Netflix "viewing activity" into hyperlinks
#
# <a href="/title/80988960" data-reactid="68">Death in Paradise: Season 6: "Man Overboard, Part 2"
# <a href="/title/80170369" data-reactid="124">Ugly Delicious: Season 1: "Pizza"
# <a href="/title/80190361" data-reactid="100">Hin... | Add Netflix specific link generator | Add Netflix specific link generator
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
a4757ad30379ab2aebaec31c8bce3bd5038139df | tools/awk/stdev.awk | tools/awk/stdev.awk | #!/usr/bin/env awk -f
#
# Computes the corrected sample standard deviation.
#
# Usage: stdev
#
# Input:
# - a column of numbers
#
# Output:
# - corrected sample standard deviation
#
# Notes:
# - Uses [Welford's method][1].
#
# [1]: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm... | Add AWK script to compute the corrected sample standard deviation | Add AWK script to compute the corrected sample standard deviation
| Awk | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib | |
b426460aa8f097cdf8f995dd31451c1f5379786d | getBritBoxProgramsFrom-webscraper.awk | getBritBoxProgramsFrom-webscraper.awk | BEGIN {
FS="\t"
print "Sortkey\tTitle\tSeasons\tDuration\tYear\tRating\tDescription"
}
# if needed for debugging record placment, replace "/nosuchrecord/" below
/nosuchrecord/ {
print ""
print NR " - " $0
for ( i = 1; i <= NF; i++ ) {
print "field " i " = " $i
}
}
{
for ( i = 1; i ... | Make script to process top level BritBox shows | Make script to process top level BritBox shows
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
12740a270dd2aca54015c02872dd3b2169214a7b | getNetflixFrom-ActivityPage.awk | getNetflixFrom-ActivityPage.awk | # Helper for converting Netflix "viewing activity" into hyperlinks
#
# Since there is no way to paste an embedded hyperlink into a text filei,
# paste the link and the title on two consecutive lines, e.g.
#
# https://www.netflix.com/title/80174814
# Borderliner: Season 1: "Milla’s Future"
# https://www.netflix.com/titl... | Create helper for Netflix activity | Create helper for Netflix activity
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
0071512e1b556339ec9f366d3fec2a7529c39252 | printFieldNamesFrom-webscraper.awk | printFieldNamesFrom-webscraper.awk | # Print field numbers and field names from a WebScraper csv file saved in tsv format
# INVOCATION:
# awk -f printFieldNamesFrom-webscraper.awk -v maxRecordsToPrint=5 BritBoxSeasons-test-tabs.csv
BEGIN {
FS="\t"
# print 3 records unless overridden with "-v maxRecordsToPrint=<n>"
if (maxRecordsToPrint == ... | Add debugging tool which prints WebScraper field names | Add debugging tool which prints WebScraper field names
| Awk | mit | Monty/WhatsStreamingToday,Monty/WhatsStreamingToday | |
28f2adf3e3e65616a557003ea0b30bddbb43be25 | pairs.awk | pairs.awk | #!/usr/bin/awk -f
BEGIN{
FS = OFS = "\t";
}
{
split($3, words, ", ");
for (i = 1; i <= length(words) - 1; i++) {
for (j = i + 1; j <= length(words); j++) {
print words[i], words[j];
print words[j], words[i];
}
}
}
| Add the unified pair generation script | Add the unified pair generation script
| Awk | mit | dustalov/watset,dustalov/watset | |
ba055fc80f2fad3ed9cb1f111205fc4b345e50af | lib/optical/filters/paired_end_only_unique.awk | lib/optical/filters/paired_end_only_unique.awk | BEGIN {
OFS="\t";
lastid="";
id_counts=0;
}
{
if ( $1 ~ /^@/ )
{
# headers go straight through
print $0;
next;
}
if (lastid == "") {
lastid=$1;
r1["read"] = $0;
r1["chr"] = $3;
r1["tags"] = "";
for(i=12;i<NF;i++) { r1["tags"]=r1["tags"] $i " ";}
r1["tags"]=r1["tags"] $i... | Add only unique reads for paired end filter | Add only unique reads for paired end filter
| Awk | bsd-3-clause | glennsb/OPtICAL,glennsb/OPtICAL,glennsb/OPtICAL,glennsb/OPtICAL | |
87ada13c6beb0d28e11396559d9f60621ccefbaa | transpiler/javatests/com/google/j2cl/integration/deobfuscate_wasm_log.awk | transpiler/javatests/com/google/j2cl/integration/deobfuscate_wasm_log.awk | # Usage:
# awk -f deobfuscate_wasm_log.awk <wat_file> <log_file>
# Process the log file which is the 2nd argument.
FILENAME == ARGV[2] {
match($0, /<anonymous>:wasm-function\[([0-9]+)\]/, groups)
print $0, functions[groups[1]]
}
# Collects function declarations
/^\(func/ {
functions[last_function++] = $2
}
| Add awk script to deobfuscate wasm stack traces. | [WASM] Add awk script to deobfuscate wasm stack traces.
PiperOrigin-RevId: 363962157
| Awk | apache-2.0 | google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl | |
59e1bfc35a6709317f98ed59857a2ad267c3aad3 | tools/awk/midrange.awk | tools/awk/midrange.awk | #!/usr/bin/env awk -f
#
# Computes the mid-range.
#
# Usage: mid-range
#
# Input:
# - a column of numbers
#
# Output:
# - mid-range
!i++ {
# Only for the first record:
max = $1
min = $1
}
{
if ($1 > max) {
max = $1
} else if ($1 < min) {
min = $1
}
}
END {
print (max + min) / 2
}
| Add AWK script to compute the mid-range | Add AWK script to compute the mid-range
| Awk | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib | |
048add9649005670f58c39250742572b55ee575c | log_rewriter.awk | log_rewriter.awk | BEGIN{
now = systime()
format = "%Y/%m/%d %H:%M:%S"
}
{
split($1, DATE, "/")
split($2, TIME, ":")
$1 = ""
$2 = ""
t = mktime(DATE[1] " " DATE[2] " " DATE[3] " " TIME[1] " " TIME[2] " " TIME[3])
if (delta == "") {
delta = no... | Add a short program that rewrites the testdata/rsyncd.log timestamps to nowish. | Add a short program that rewrites the testdata/rsyncd.log timestamps to nowish.
| Awk | apache-2.0 | SuperQ/mtail,4honor/mtail,google/mtail,SuperQ/mtail,google/mtail,4honor/mtail | |
7956724dc6e3c5371bb44abb21b557333e269fe5 | cvc_parse.awk | cvc_parse.awk | #!/usr/bin/awk -f
BEGIN{
outarr[0] = "";
outarr[1] = "";
outarr[2] = "";
outarr[3] = "";
idx = 0;
}
/.*sparticus.*/{
sub(/bv/, "", $12);
outarr[idx] = $12;
idx++;
if (idx == 4) {
print outarr[0] "|" outarr[1] "|" outarr[2] "|" outarr[3]
idx = 0;
}
}
| Add an awk script for reading CVC's output. | Add an awk script for reading CVC's output.
Fragile. But never mind.
| Awk | bsd-2-clause | jmorse/numbness | |
932144cdcff7d26dc3d84b4e4de20f843fd560fd | build/addloadexample.awk | build/addloadexample.awk | # Invoke as awk addloadexample.awk
BEGIN {
lms = 0;
}
tolower($0) ~ /^[# \t]*loadmodule[ \t]/ {
if ( $2 == MODULE "_module" ) {
print "LoadModule " MODULE "_module " LIBPATH "/mod_" MODULE DSO;
lms = 2;
next;
}
# test $3 since # LoadModule is split into two tokens
else if ( $3 == MODULE "_modul... | Add for updating the config file | Add for updating the config file
git-svn-id: 244fd0a71b5b35931765a3ae1f99e3319f3fb8ab@822470 13f79535-47bb-0310-9956-ffa450edef68
| Awk | apache-2.0 | kaigai/mod_fcgid | |
1dbeb18b49407a0bcc466390f0c54ec44b80a1a2 | release/SuperTMXMerge.bat | release/SuperTMXMerge.bat | @echo off
start /min java -jar %~dp0SuperTMXMerge.jar %*
| @echo off
start /b /wait java -jar %~dp0SuperTMXMerge.jar %*
| Improve Windows .bat launcher: waits for close, no console | Improve Windows .bat launcher: waits for close, no console
| Batchfile | lgpl-2.1 | amake/SuperTMXMerge |
7f528b24dd1fa50f1983d557531b82e66d295eb8 | build.bat | build.bat | SET PATH=C:\Qt\5.5\mingw492_32\bin;%PATH%
SET PATH=C:\Qt\Tools\mingw492_32\bin;%PATH%
qmake.exe -makefile -win32 FLViz.pro
mingw32-make.exe clean
mingw32-make.exe mocclean
mingw32-make.exe
mingw32-make.exe distclean
| SET PATH=C:\Qt\5.5\mingw492_32\bin;%PATH%
SET PATH=C:\Qt\Tools\mingw492_32\bin;%PATH%
qmake.exe -makefile -win32 FLViz.pro
mingw32-make.exe clean
mingw32-make.exe mocclean
mingw32-make.exe
REM mingw32-make.exe distclean
| Comment out removing stuff for now. | Comment out removing stuff for now.
| Batchfile | bsd-2-clause | wkoszek/flviz,wkoszek/flviz,wkoszek/flviz |
6c29b18d928c0792b907313a98e404d986e2a4a5 | recipes/openblas/bld.bat | recipes/openblas/bld.bat |
:: Set $HOME to the current dir so msys runs here
set HOME=%cd%
:: Configure, build, test, and install using `nmake`.
bash -lc "make"
if errorlevel 1 exit 1
bash -lc "make PREFIX=$LIBRARY_PREFIX install"
if errorlevel 1 exit 1
|
:: Set $HOME to the current dir so msys runs here
set HOME=%cd%
:: Configure, build, test, and install using `nmake`.
bash -lc "make"
if errorlevel 1 exit 1
bash -lc "make DYNAMIC_ARCH=1 BINARY=$ARCH NO_LAPACK=0 NO_AFFINITY=1 USE_THREAD=1 PREFIX=$LIBRARY_PREFIX install"
if errorlevel 1 exit 1
| Use the same arguments on Windows. | openblas: Use the same arguments on Windows.
| Batchfile | bsd-3-clause | blowekamp/staged-recipes,dfroger/staged-recipes,sodre/staged-recipes,sodre/staged-recipes,isuruf/staged-recipes,ocefpaf/staged-recipes,chohner/staged-recipes,ocefpaf/staged-recipes,OpenPIV/staged-recipes,glemaitre/staged-recipes,stuertz/staged-recipes,stuertz/staged-recipes,ceholden/staged-recipes,pstjohn/staged-recipe... |
02308c83dca951c41052aa8fe9e66f1a0e786330 | recipes/python-chromedriver-binary/bld.bat | recipes/python-chromedriver-binary/bld.bat | python %RECIPE_DIR%\download-chromedriver
if errorlevel 1 exit 1
7z x chromedriver.zip -ochromedriver
if errorlevel 1 exit 1
REM Add chromedriver to PATH so chromedriver_binary install can find it
set PATH=%PATH%:%CD%\chromedriver
python -m pip install --no-deps --ignore-installed .
| python %RECIPE_DIR%\download-chromedriver.py
if errorlevel 1 exit 1
7z x chromedriver.zip -ochromedriver
if errorlevel 1 exit 1
REM Add chromedriver to PATH so chromedriver_binary install can find it
set PATH=%PATH%:%CD%\chromedriver
python -m pip install --no-deps --ignore-installed .
| Fix script path in win | Fix script path in win
| Batchfile | bsd-3-clause | jjhelmus/staged-recipes,sodre/staged-recipes,sodre/staged-recipes,basnijholt/staged-recipes,rmcgibbo/staged-recipes,hadim/staged-recipes,ceholden/staged-recipes,cpaulik/staged-recipes,ReimarBauer/staged-recipes,sodre/staged-recipes,birdsarah/staged-recipes,rvalieris/staged-recipes,petrushy/staged-recipes,barkls/staged-... |
53172e7a9cc67b46070cf77c0d0c7bf027332449 | tools/rails/bin/jruby.bat | tools/rails/bin/jruby.bat | @ECHO OFF
set GO_ROOT=%~dp0\..\..\..
set JRUBY_BASE=%GO_ROOT%\tools\jruby
set SERVER_ROOT=%GO_ROOT%\server
set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new
set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9
set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME%
set PATH=%JRUBY_BASE%\bin;%PATH%
set JRUBY_OPTS="-... | @ECHO OFF
set GO_ROOT=%~dp0\..\..\..
set JRUBY_BASE=%GO_ROOT%\tools\jruby
set SERVER_ROOT=%GO_ROOT%\server
set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new
set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9
set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME%
set PATH=%JRUBY_BASE%\bin;%PATH%
set JRUBY_OPTS="-... | Move to Ruby 2.0 on windows. | Move to Ruby 2.0 on windows.
| Batchfile | apache-2.0 | sghill/gocd,Skarlso/gocd,ind9/gocd,arvindsv/gocd,bdpiparva/gocd,bdpiparva/gocd,varshavaradarajan/gocd,tomzo/gocd,GaneshSPatil/gocd,arvindsv/gocd,kyleolivo/gocd,gocd/gocd,naveenbhaskar/gocd,Skarlso/gocd,Skarlso/gocd,sghill/gocd,stephen-murby/gocd,sghill/gocd,MFAnderson/gocd,stephen-murby/gocd,jyotisingh/gocd,arvindsv/go... |
275f093c41b26dd65f8d26de90e04073acdd5289 | bintrayupload.bat | bintrayupload.bat | @echo off
setlocal EnableDelayedExpansion
REM Uploading all modules at once (with one gradle command) does not work any more, so a separate command for each module must be issued
SET username=%1
SET apikey=%2
SET modules="Spectaculum-Core" "Spectaculum-Camera" "Spectaculum-Image" "Spectaculum-MediaPlayer" "Spectaculu... | @echo off
setlocal EnableDelayedExpansion
REM Uploading all modules at once (with one gradle command) does not work any more, so a separate command for each module must be issued
SET username=%1
SET apikey=%2
SET modules="Spectaculum-Core" "Spectaculum-Camera" "Spectaculum-Image" "Spectaculum-MediaPlayer" "Spectaculu... | Fix typo in bintray upload script | Fix typo in bintray upload script
| Batchfile | apache-2.0 | protyposis/Spectaculum,protyposis/Spectaculum |
ffb68ae60b2cac9584b0dd57dfb55b6bce018ca5 | shell.bat | shell.bat | @set PATH="%PATH%;C:\Program Files\Java\jdk1.8.0_66\bin"
@c:\Windows\system32\cmd.exe /c %USERPROFILE%\Desktop\sh.exe -l
| @set PATH="%PATH%;C:\Program Files\Java\jdk1.7.0_25\bin"
@c:\Windows\system32\cmd.exe /c %USERPROFILE%\Desktop\sh.exe -l
| Set Java path for BMC | Set Java path for BMC
| Batchfile | mit | coderdojobelfast/java |
6cdb8a6f37a75815e97a682b09b95dffa24e6b5c | build/windows_c.cmd | build/windows_c.cmd | @REM Copyright (c) Microsoft. All rights reserved.
@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
setlocal
set build-root=%~dp0..
rem // resolve to fully qualified path
for %%i in ("%build-root%") do set build-root=%%~fi
REM -- C --
cd %build-root%\c\build_all... | @REM Copyright (c) Microsoft. All rights reserved.
@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
setlocal
set build-root=%~dp0..
rem // resolve to fully qualified path
for %%i in ("%build-root%") do set build-root=%%~fi
REM -- C --
cd %build-root%\c\build_all... | Add --run-e2e-tests option to the script ran by Jenkins | Add --run-e2e-tests option to the script ran by Jenkins
| Batchfile | mit | clemensv/azure-event-hubs,clemensv/azure-event-hubs,clemensv/azure-event-hubs,clemensv/azure-event-hubs,clemensv/azure-event-hubs,clemensv/azure-event-hubs |
db9d3380c39284695added69edab46c2ddab2f48 | build-distribution.cmd | build-distribution.cmd | :start
bin\nant\nant.exe -f:spark.build tools build package
pause
goto start
| if "%1"=="" build-distribution 1
:start
bin\nant\nant.exe -f:spark.build tools build package -D:build.number=%1
pause
goto start
| Allow number to be passed in to distribution build | Allow number to be passed in to distribution build
The build number is no longer automatically applied from source
control revision, so for release candidates it can be passed in as
appropriate. The values used will follow the CI build numbers.
| Batchfile | apache-2.0 | RobertTheGrey/spark,RobertTheGrey/spark,SparkViewEngine/spark,RobertTheGrey/spark,SparkViewEngine/spark,SparkViewEngine/spark,SparkViewEngine/spark,RobertTheGrey/spark,SparkViewEngine/spark,RobertTheGrey/spark,RobertTheGrey/spark,SparkViewEngine/spark,RobertTheGrey/spark,SparkViewEngine/spark |
b6960c07ccbf148c35d73dfe224d8186dce447d1 | generated/compile_protos.bat | generated/compile_protos.bat | @echo off
set PROTODIR=D:\GitHub\SteamKit\Resources\Protobufs
set PROTOBUFS=base_gcmessages gcsdk_gcmessages dota_gcmessages_client
for %%X in ( %PROTOBUFS% ) do (
protoc --descriptor_set_out=%%X.desc --include_imports --proto_path=%PROTODIR% --proto_path=%PROTODIR%\dota --proto_path=%PROTODIR%\steamclient %PROTODIR... | @echo off
set PROTODIR=D:\GitHub\SteamKit\Resources\Protobufs
set PROTOBUFS=base_gcmessages gcsdk_gcmessages cstrike15_gcmessages
for %%X in ( %PROTOBUFS% ) do (
protoc --descriptor_set_out=%%X.desc --include_imports %%X.proto
)
| Update windows proto generation script to resemble the linux script more closely | Update windows proto generation script to resemble the linux script more closely
| Batchfile | mit | TrueCarry/node-csgo,joshuaferrara/node-csgo,TrueCarry/node-csgo |
183b1da86ea185455a33914a2ce36b798a6e4a88 | popcorn.cmd | popcorn.cmd | @echo off
setlocal
set "output=nul"
set "times=1"
goto :parsePackage
:help
:: TODO: put something here.
goto :eof
:usage
call :help 1>&2
exit /b 1
:parsePackage
if "%~1" == "" goto usage
set "package=%~1"
shift
:parseArgs
if "%~1" == "" goto main
if /i "%~1" == "-?" goto help
if /i "%~1" == "-h" goto help
i... | @echo off
setlocal
set "output=nul"
set "times=1"
goto :parsePackage
:help
:: TODO: put something here.
goto :eof
:usage
call :help 1>&2
exit /b 1
:parsePackage
if "%~1" == "" goto usage
set "package=%~1"
shift
:parseArgs
if "%~1" == "" goto main
if /i %1 == "-?" goto help
if /i %1 == "-h" goto help
if /i %... | Remove unnecessary uses of "%~1" | Remove unnecessary uses of "%~1"
| Batchfile | mit | jamesqo/popcorn |
9c4b02096b1f8580f9ab8b192958dd8f35dd0e23 | scripts/test_native_code.bat | scripts/test_native_code.bat | @echo off
setlocal EnableDelayedExpansion
echo Test discovery started...
dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt
echo Testing (Google Test)...
set failures=0
FOR /F %%i IN (__tmp_gtest.txt) DO (
echo %%i
%%i --gtest_output="xml:%%i.xml"
powershell C:\projects\spectre\scripts\Up... | @echo off
setlocal EnableDelayedExpansion
echo Test discovery started...
dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt
echo Testing (Google Test)...
set failures=0
FOR /F %%i IN (__tmp_gtest.txt) DO (
echo %%i
%%i --gtest_output="xml:%%i.xml"
powershell C:\projects\spectre\scripts\Up... | Make native tests fail the build | Make native tests fail the build
| Batchfile | apache-2.0 | mg6/spectre,spectre-team/spectre,mg6/spectre,mg6/spectre,spectre-team/spectre,spectre-team/spectre |
8daaf743827b9706b8c01f7da8ab0b39a4b8135b | Source/BuildAllExes.bat | Source/BuildAllExes.bat | @echo off
REM Make sure to use 32 bit python for this so it runs on all machines
C:\Utils\Python\Python32-34\python ./BuildPrjExeSetup.py py2exe
C:\Utils\Python\Python32-34\python ./BuildEditorApiExeSetup.py py2exe
C:\Utils\Python\Python32-34\python ./BuildReleaseManifesterUpdaterExeSetup.py py2exe
C:\Utils\Python\Pyth... | @echo off
REM Make sure to use 32 bit python for this so it runs on all machines
%PYTHONHOME%\python ./BuildPrjExeSetup.py py2exe
%PYTHONHOME%\python ./BuildEditorApiExeSetup.py py2exe
%PYTHONHOME%\python ./BuildReleaseManifesterUpdaterExeSetup.py py2exe
%PYTHONHOME%\python ./BuildOpenInVisualStudio.py py2exe
| Replace absolute path to python with \%PYTHONHOME\%. | Replace absolute path to python with \%PYTHONHOME\%.
| Batchfile | mit | modesttree/Projeny,modesttree/Projeny |
b24b77fc69b989f5b1cf8a17d7442afb30d45f7e | Scripts/buildpackpush.bat | Scripts/buildpackpush.bat | SETLOCAL
SET VERSION=%1
CALL Scripts\buildpack %VERSION% || exit /B 1
ECHO this should not happen
exit /B 1
nuget push .\Artifacts\Mapsui.%VERSION%.nupkg -source nuget.org || exit /B 1
nuget push .\Artifacts\Mapsui.Forms.%VERSION%.nupkg -source nuget.org || exit /B 1
git commit -m %VERSION% -a || exit /B 1
git tag %VER... | SETLOCAL
SET VERSION=%1
CALL Scripts\buildpack %VERSION% || exit /B 1
nuget push .\Artifacts\Mapsui.%VERSION%.nupkg -source nuget.org || exit /B 1
nuget push .\Artifacts\Mapsui.Forms.%VERSION%.nupkg -source nuget.org || exit /B 1
git commit -m %VERSION% -a || exit /B 1
git tag %VERSION% || exit /B 1
git push origin %VE... | Revert test code in buidpackpush.bat | Revert test code in buidpackpush.bat
| Batchfile | mit | pauldendulk/Mapsui,charlenni/Mapsui,charlenni/Mapsui |
2a1b9d83177f9abbe4a71de43d62d37a603f7176 | src/application.bat | src/application.bat | ### application.bat - 2015 - HURTAUD ###
version ="2"
build_hour ="11H00"
echo "version${version}";
echo "Copyright company - 2015";
echo "Buil${build_hour";
pause; | ### application.bat - 2015 - HURTAUD - Pasquier Rodolphe ###
version ="2"
build_hour ="11H00"
echo "version${version}";
echo "Copyright company - 2015";
echo "Buil${build_hour";
pause;
| Update header for new member | Update header for new member
| Batchfile | apache-2.0 | HURTAUDClement/TP-git |
36a65ff43cd27d2581668375e763d332befe4e6c | webkit/build/JSConfig/prebuild.bat | webkit/build/JSConfig/prebuild.bat | @echo off
setlocal
set OUTDIR=%1
set JSENG=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files
set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32
:: Ensure that the cygwin mount points are defined
CALL %CYGWIN_ROOT%setup_mount.bat > NUL
bash -x ... | @echo off
setlocal
set OUTDIR=%1
set JSENG=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files
:: Fix cp.exe on vista: without this flag, the files that it creates are not accessible.
set CYGWIN=nontsec
set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\s... | Fix a build issue with Vista. Stop cp.exe from trying to emulate POSIX security on top of NTFS. | Fix a build issue with Vista. Stop cp.exe from trying to emulate POSIX security
on top of NTFS.
BUG=1157117
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@40 0039d316-1c4b-4281-b951-d872f2087c98
| Batchfile | bsd-3-clause | dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,Jonekee/chromium.src,markYoungH/chromium.src,jaruba/chromium.src,ltilve/chromium,pozdnyakov/ch... |
cb0894821bc5343fca8254d72a3098dd14b7d8d2 | PSX_EXPORT_OVERLAYS.bat | PSX_EXPORT_OVERLAYS.bat | rem slink /psx /c /p /rmips=GAME/SETUP.REL @GAME/SETUP.LNK,GAME/SETUP.BIN
rem slink /psx /c /p /rmips=GAME/ANDY3.REL @GAME/ANDY3.LNK,GAME/ANDY3.BIN
rem slink /psx /c /p /rmips=GAME/JOBY5.REL @GAME/JOBY5.LNK,GAME/JOBY5.BIN
psylink /c /p /q /rmips=GAME/SETUP.REL @GAME/SETUP.LNK,GAME/SETUP.BIN
psylink /c /p /q /rmips=GAME... | rem slink /psx /c /p /rmips=GAME/SETUP.REL @GAME/SETUP.LNK,GAME/SETUP.BIN
rem slink /psx /c /p /rmips=GAME/ANDY3.REL @GAME/ANDY3.LNK,GAME/ANDY3.BIN
rem slink /psx /c /p /rmips=GAME/JOBY5.REL @GAME/JOBY5.LNK,GAME/JOBY5.BIN
rem slink /psx /c /p /rmips=GAME/TITSEQ.REL @GAME/TITSEQ.LNK,GAME/TITSEQ.BIN
psylink /c /p /q /rmi... | Add TITSEQ to overlay exporting. | Add TITSEQ to overlay exporting.
| Batchfile | mit | TOMB5/TOMB5,TOMB5/TOMB5,TOMB5/TOMB5,TOMB5/TOMB5 |
74bb86ab6a75192dc4f3678924ca04735eb3e4b8 | install.bat | install.bat | ::
:: Create output (Cordova) directory
::
mkdir www
::
:: Install client libraries
::
bower install
::
:: Add target platform
::
:: Comment out the platform(s) your system supports
::
grunt platform:add:ios
:: grunt platform:add:android
::
:: Install cordova plugins
:: There quickest option is to ask from Ionic
:: ... | ::
:: Create output (Cordova) directory
::
mkdir www
::
:: Install client libraries
::
bower install
::
:: Add target platform
::
:: Comment out the platform(s) your system supports
::
grunt platform:add:ios
:: grunt platform:add:android
::
:: Install cordova plugins
:: There quickest option is to ask from Ionic
:: ... | Add email composer plugin in .bat file | Add email composer plugin in .bat file | Batchfile | mit | skounis/supermodular,skounis/supermodular,skounis/supermodular |
7f17a6a9be9da902bd072de388c84c6d9ffb793d | UIforETW/build_static.bat | UIforETW/build_static.bat | @rem Copyright 2015 Google Inc. All Rights Reserved.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unl... | @rem Copyright 2015 Google Inc. All Rights Reserved.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unl... | Clean the release directory after doing a static build. | Clean the release directory after doing a static build.
| Batchfile | apache-2.0 | ariccio/UIforETW,u-engine/UIforETW,OSVR/UIforETW,u-engine/UIforETW,MikeMarcin/UIforETW,mwinterb/UIforETW,google/UIforETW,mwinterb/UIforETW,ariccio/UIforETW,modulexcite/UIforETW,ariccio/UIforETW,mwinterb/UIforETW,OSVR/UIforETW,ariccio/UIforETW,u-engine/UIforETW,MikeMarcin/UIforETW,modulexcite/UIforETW,google/UIforETW,go... |
b72e9eb50fc336b05d9e2a1612ea98c8041755cf | doc/reference/Build.cmd | doc/reference/Build.cmd | @echo off
@echo ...
@echo Running reference documentation Build Script, capturing output to buildlog.txt ...
@echo Start Time: %time%
..\..\build-support\tools\nant\bin\nant %1 %2 %3 %4 %5 %6 %7 %8 %9 > buildlog.txt
@echo ...
@echo ************************
@echo Build Complete!
@echo ************************
@... | @echo off
@echo ...
@echo Running reference documentation Build Script, capturing output to buildlog.txt ...
@echo Start Time: %time%
..\..\build-support\tools\nant\bin\nant %1 %2 %3 %4 %5 %6 %7 %8 %9 > buildlog.txt
type buildlog.txt
@echo ...
@echo ************************
@echo Build Complete!
@echo *******... | Print out buildlog.txt to console | Print out buildlog.txt to console
| Batchfile | apache-2.0 | kvr000/spring-net,dreamofei/spring-net,yonglehou/spring-net,dreamofei/spring-net,zi1jing/spring-net,yonglehou/spring-net,likesea/spring-net,spring-projects/spring-net,yonglehou/spring-net,likesea/spring-net,spring-projects/spring-net,spring-projects/spring-net,djechelon/spring-net,likesea/spring-net,kvr000/spring-net,z... |
5b1f733c45628ee64dacb3086a7844cc15da4b8c | preview.bat | preview.bat | @echo off
py25 setup.py --long-description | py25 web\rst2html.py --link-stylesheet --stylesheet=http://www.python.org/styles/styles.css > ~pypi.html
start ~pypi.html
| @echo off
REM
REM Convert setup.py's long description to HTML and show it.
REM
py25 setup.py --long-description | py25 web\rst2html.py --link-stylesheet --stylesheet=http://www.python.org/styles/styles.css > ~pypi.html
start ~pypi.html
del ~pypi.html
| Add comment and delete temporary file after use. | Add comment and delete temporary file after use.
--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%40391
| Batchfile | mit | denfromufa/comtypes,denfromufa/comtypes,denfromufa/comtypes,denfromufa/comtypes,denfromufa/comtypes |
374c17b68800388ec4cb76f2326519721b9ee1e3 | src/genEpydoc.bat | src/genEpydoc.bat | xcopy /y .\sourceforge\svn\trunk\src\pyparsing.py .
c:\python27\python c:\python27\scripts\epydoc -v --name pyparsing -o htmldoc --inheritance listed --no-private pyparsing.py
| xcopy /y ..\sourceforge\svn\trunk\src\pyparsing.py .
c:\python27\python c:\python27\scripts\epydoc -v --name pyparsing -o htmldoc --inheritance listed --no-private pyparsing.py
| Fix relative dir typo in xcopy pyparsing.py command | Fix relative dir typo in xcopy pyparsing.py command | Batchfile | mit | pyparsing/pyparsing,pyparsing/pyparsing |
8e1a54a17c85e563a918954dc3f5996c48d97621 | scripts/verifyReleaseWindows.bat | scripts/verifyReleaseWindows.bat | # Verify release
SET CURRENT_DIRECTORY=%cd%
call scripts\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\cpp 32 STATIC || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\cpp 32 SHARED || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\cpp 64 STATIC |... | REM Verify release
SET CURRENT_DIRECTORY=%cd%
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 32 STATIC || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 32 SHARED || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 64 ... | Fix for release script error when there is space in directory path. | Fix for release script error when there is space in directory path.
| Batchfile | apache-2.0 | hazelcast/hazelcast-cpp-client,hazelcast/hazelcast-cpp-client,hazelcast/hazelcast-cpp-client,hazelcast/hazelcast-cpp-client |
89087bfe83499f4774c05a46be1fcbfc251b459c | buildAll.bat | buildAll.bat | cd VirtIO
call buildall.bat
cd ..
cd NetKVM
call buildall.bat
cd ..
cd viostor
call buildall.bat
cd ..
cd vioscsi
call buildall.bat
cd ..
cd Balloon
call buildall.bat
cd ..
cd vioserial
call buildall.bat
cd ..
cd viorng
call buildall.bat
cd ..
cd pvpanic
call buildall.bat
cd ..
| cd VirtIO
call buildall.bat
cd ..
cd NetKVM
call buildall.bat
cd ..
cd viostor
call buildall.bat
cd ..
cd vioscsi
call buildall.bat
cd ..
cd Balloon
call buildall.bat
cd ..
cd vioserial
call buildall.bat
cd ..
cd viorng
call buildall.bat
cd ..
cd vioinput
call buildall.bat
cd ..
cd pvpanic
call buildall.bat
cd ... | Add vioinput to the top-level build script | Add vioinput to the top-level build script
| Batchfile | bsd-3-clause | virtio-win/kvm-guest-drivers-windows,YanVugenfirer/kvm-guest-drivers-windows,gnif/kvm-guest-drivers-windows,daynix/kvm-guest-drivers-windows,daynix/kvm-guest-drivers-windows,gnif/kvm-guest-drivers-windows,vrozenfe/kvm-guest-drivers-windows,YanVugenfirer/virtio-win-arm,virtio-win/kvm-guest-drivers-windows,daynix/kvm-gue... |
4b759c6e4b6364dbae58d2e6b6db6ae384019f10 | test-recipes/metadata/entry_points/run_test.bat | test-recipes/metadata/entry_points/run_test.bat | rem Won't be found because there are no shebang lines on Windows
rem python test-script-setup.py
rem if errorlevel 1 exit 1
rem python test-script-setup.py | grep "Test script setup\.py"
rem if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 exit 1
test-script-manual | grep "Manual entry point"
if errorlevel 1... | rem We have to use the absolute path because there is no "shebang line" in Windows
python "%PREFIX%\Scripts\test-script-setup.py"
if errorlevel 1 exit 1
python "%PREFIX%\Scripts\test-script-setup.py" | grep "Test script setup\.py"
if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 exit 1
test-script-manual | gr... | Use absolute path to setup.py-installed entry point | Use absolute path to setup.py-installed entry point
| Batchfile | bsd-3-clause | mwcraig/conda-build,shastings517/conda-build,mwcraig/conda-build,frol/conda-build,takluyver/conda-build,sandhujasmine/conda-build,dan-blanchard/conda-build,sandhujasmine/conda-build,ilastik/conda-build,sandhujasmine/conda-build,frol/conda-build,ilastik/conda-build,frol/conda-build,shastings517/conda-build,takluyver/con... |
d1647ca2cb34f382de5e5289d1ee71f6befb9c88 | scripts/make-package.bat | scripts/make-package.bat | @echo off
set zipcmd=%~dp0\tools\7z\7z.exe
pushd %~dp0\..\..
%zipcmd% a -r -x!scripts -xr!.* -x!__pycache__ blenderseed-x.x.x-yyyy.zip blenderseed
popd
move ..\..\blenderseed-x.x.x-yyyy.zip .
pause
| @echo off
set zipcmd=%~dp0\tools\7z\7z.exe
pushd %~dp0\..\..
%zipcmd% a -r -x!scripts -xr!.* -x!__pycache__ -x!README.md blenderseed-x.x.x-yyyy.zip blenderseed
popd
move ..\..\blenderseed-x.x.x-yyyy.zip .
pause
| Exclude README.md file from package | Exclude README.md file from package
| Batchfile | mit | appleseedhq/blenderseed,appleseedhq/blenderseed,dictoon/blenderseed,dictoon/blenderseed |
d5467a7131711ab6dea706f9afebd9213c961ce2 | CreateTestresults.cmd | CreateTestresults.cmd | @pushd %~dp0
ECHO Remember to build the solution first!
REM pause
"%~dp0\TestHarness\packages\NUnit.Runners.2.6.3\tools\nunit-console.exe" "%~dp0\TestHarness\nunit\bin\Debug\nunitHarness.dll" /result=results-example-nunit.xml /nologo /nodots
pause
@popd | @pushd %~dp0
ECHO Remember to build the solution first!
REM pause
Cd "%~dp0\TestHarness\packages\NUnit.Runners.*\tools"
"nunit-console.exe" "%~dp0\TestHarness\nunit\bin\Debug\nunitHarness.dll" /result="%~dp0\results-example-nunit.xml" /nologo /nodots
pause
@popd | Make script independent of NUnit version | Make script independent of NUnit version
| Batchfile | apache-2.0 | dirkrombauts/pickles-testresults,dirkrombauts/pickles-testresults,picklesdoc/pickles-testresults,dirkrombauts/pickles-testresults,picklesdoc/pickles-testresults,picklesdoc/pickles-testresults |
dc282e548733632028335a0ed31fa6d43c2cbac2 | test-recipes/metadata/entry_points/run_test.bat | test-recipes/metadata/entry_points/run_test.bat | rem Won't be found because there are no shebang lines on Windows
rem python test-script-setup.py
rem if errorlevel 1 exit 1
rem python test-script-setup.py | grep "Test script setup\.py"
test-script-manual
if errorlevel 1 exit 1
test-script-manual | grep "Manual entry point"
| rem Won't be found because there are no shebang lines on Windows
rem python test-script-setup.py
rem if errorlevel 1 exit 1
rem python test-script-setup.py | grep "Test script setup\.py"
rem if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 exit 1
test-script-manual | grep "Manual entry point"
if errorlevel 1... | Add missing "if errorlevel 1 exit 1" lines | Add missing "if errorlevel 1 exit 1" lines
| Batchfile | bsd-3-clause | takluyver/conda-build,dan-blanchard/conda-build,mwcraig/conda-build,ilastik/conda-build,sandhujasmine/conda-build,frol/conda-build,rmcgibbo/conda-build,mwcraig/conda-build,sandhujasmine/conda-build,frol/conda-build,takluyver/conda-build,takluyver/conda-build,rmcgibbo/conda-build,shastings517/conda-build,mwcraig/conda-b... |
23376b27bf02e2b2a950c58d08643e733e799d8b | git/removeSubmodule.bat | git/removeSubmodule.bat | @rem This is a simple batch script to remove a submodule reference from a
@rem working directory
@rem Call the script by
@rem 1) cd path\to\your\workspace
@rem 2) path\to\removeSubmodule.bat submoduleName
@rem See https://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule for more details
@echo Remo... | Add batch script to remove a git submodule from a local workspace | Add batch script to remove a git submodule from a local workspace
| Batchfile | apache-2.0 | troxology/Scriptish,troxology/Scriptish | |
3e7976f0ac9594de0f502e03d81781a38e37e37c | oq-engine/oq-server.bat | oq-engine/oq-server.bat | @echo off
setlocal
set mypath=%~dp0
set PYTHONPATH=pkgs
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
set common="%COMMONPROGRAMFILES%"
) else (
set common="%COMMONPROGRAMFILES(x86)%"
)
REM Start the DbServer in background but within the same context
start "OpenQuake DB server" /B %common%\Python\2.7\pytho... | @echo off
setlocal
set mypath=%~dp0
set PYTHONPATH=pkgs
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
set common="%COMMONPROGRAMFILES%"
) else (
set common="%COMMONPROGRAMFILES(x86)%"
)
REM Start the DbServer in background but within the same context
start "OpenQuake DB server" /B %common%\Python\2.7\pytho... | Make sure DB exists and is aligned before running the server | Make sure DB exists and is aligned before running the server
| Batchfile | agpl-3.0 | gem/oq-installers,gem/oq-installers,gem/oq-nsis |
da4ad3c18d51e604452e509aabbc313db83c028e | src/condor_tests/job_filexfer_input-onegone_van.cmd | src/condor_tests/job_filexfer_input-onegone_van.cmd | universe = vanilla
executable = ./x_job_filexfer_testjob.pl
log = job_filexfer_input-onegone_van.log
output = job_filexfer_input-onegone_van.out
error = job_filexfer_input-onegone_van.err
input = job_14711_dir/submit_filetrans_input14711.txt
transfer_input_files = job_14711_dir/submit_filetrans_input14711a.txt,job_14... | Revert "Now processing a template to produce a valid submit file." | Revert "Now processing a template to produce a valid submit file."
This reverts commit 0a94e71ec6ca595e841c31497158a52f64c93444.
| Batchfile | apache-2.0 | htcondor/htcondor,htcondor/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,bbockelm/condor-network-accounting,djw8605/condor,bbockelm/condor-network-accounting,djw8605/htcondor,bbockelm/condor-network-accounting,djw8605/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,bbockelm/condor-n... | |
92367e8a623b75e2aac51980aa6ade1a6fc49874 | build.bat | build.bat | @echo off
set GOARCH=%1
IF "%1" == "" (set GOARCH=amd64)
set ORG_PATH=github.com\hashicorp
set REPO_PATH=%ORG_PATH%\consul
set GOPATH=%cd%\gopath
rmdir /s /q %GOPATH%\src\%REPO_PATH% 2>nul
mkdir %GOPATH%\src\%ORG_PATH% 2>nul
mklink /J "%GOPATH%\src\%REPO_PATH%" "%cd%" 2>nul
%GOROOT%\bin\go build -o bin\%GOARCH%\con... | @echo off
REM Download Mingw 64 on Windows from http://win-builds.org/download.html
set GOARCH=%1
IF "%1" == "" (set GOARCH=amd64)
set ORG_PATH=github.com\hashicorp
set REPO_PATH=%ORG_PATH%\consul
set GOPATH=%cd%\gopath
rmdir /s /q %GOPATH%\src\%REPO_PATH% 2>nul
mkdir %GOPATH%\src\%ORG_PATH% 2>nul
go get .\...
mkli... | Add Instructions on Downloading Mingw 64bit for Building memdb | Add Instructions on Downloading Mingw 64bit for Building memdb
| Batchfile | mpl-2.0 | zendesk/consul,sequenceiq/consul,yonglehou/consul,BWITS/consul,zendesk/consul,pmalmgren/consul,kylemcc/consul,mshean/consul,JioCloud/consul,ryotarai/consul,ryotarai/consul,tamsky/consul,sean-/consul,Test-Betta-Inc/upgraded-engine,marclop/consul,mfischer-zd/consul,bodepd/consul,bodepd/consul,sfncook/consul,marenzo/consu... |
06392649a3a8a54a83efce823c9e2de68c26fd27 | recipes/r-changeforest/bld.bat | recipes/r-changeforest/bld.bat | sed -i 's/gnu/msvc/' changeforest-r/src/Makevars.win
sed -i '1s/^/export CXX_STD=CXX11\n/' Makevars.win
sed -i '1s/^/export PKG_CXXFLAGS=$(CXX_VISIBILITY)\n/' Makevars.win
"%R%" CMD INSTALL --build changeforest-r
IF %ERRORLEVEL% NEQ 0 exit 1 | sed -i 's/gnu/msvc/' changeforest-r/src/Makevars.win
sed -i '1s/^/export CXX_STD=CXX11\n/' changeforest-r/src/Makevars.win
sed -i '1s/^/export PKG_CXXFLAGS=$(CXX_VISIBILITY)\n/' changeforest-r/src/Makevars.win
"%R%" CMD INSTALL --build changeforest-r
IF %ERRORLEVEL% NEQ 0 exit 1 | Use the correct path for makevars. | Use the correct path for makevars.
| Batchfile | bsd-3-clause | conda-forge/staged-recipes,goanpeca/staged-recipes,stuertz/staged-recipes,johanneskoester/staged-recipes,ReimarBauer/staged-recipes,kwilcox/staged-recipes,stuertz/staged-recipes,conda-forge/staged-recipes,johanneskoester/staged-recipes,ReimarBauer/staged-recipes,ocefpaf/staged-recipes,jakirkham/staged-recipes,jakirkham... |
518d2b44fc1b147dc7cc00694e1360cd994a530d | flyway-commandline/src/main/assembly/flyway.cmd | flyway-commandline/src/main/assembly/flyway.cmd | @REM
@REM Copyright 2010-2017 Boxfuse GmbH
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required b... | @REM
@REM Copyright 2010-2017 Boxfuse GmbH
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required b... | Use Windows CLASSPATH environment variable | Use Windows CLASSPATH environment variable
Added a check to see if CLASSPATH environment variable is set. If yes, then add the classpath variable to the java command classpath option | Batchfile | apache-2.0 | flyway/flyway,flyway/flyway |
6d05a95d6c9cc337fc73c13ab42af4f16a2cc6e8 | context-menu-disable/context-menu-disable-intel.bat | context-menu-disable/context-menu-disable-intel.bat | @echo off
setlocal EnableDelayedExpansion
set registryRoot=HKCU\Software\Classes
set key=igfxcui
reg add "%registryRoot%\Directory\Background\shellex\ContextMenuHandlers\%key%" /d "---" /f
set key=igfxDTCM
reg add "%registryRoot%\Directory\Background\shellex\ContextMenuHandlers\%key%" /d "---" /f
| Add script to disable intel context menu | Add script to disable intel context menu
| Batchfile | mit | ArloL/dotfiles,ArloL/dotfiles | |
12bc6dd8465760392d1a69f867abef8ef502c355 | build_from_source.bat | build_from_source.bat | #!/bin/bash
PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
EXEC_DIR="/usr/local/bin" # set to anywhere seen by $PATH
CONF_DIR="/etc/distributed-motion-s3" # default location to store config files (*.toml)
# build dms3 components
#
echo 'building dms3 components...'
g... | Add build script for installation | Add build script for installation
| Batchfile | mit | richbl/go-distributed-motion-s3,richbl/go-distributed-motion-s3 | |
d7ddd21d48969dc923659218b6a5ebaa3ddcd818 | imaginary.bat | imaginary.bat | @echo off
if not "%1" == "" goto continue
if not exist imaginary\obj mkdir imaginary\obj
for %%i in (imaginary\*.yca) do call %0 %%~ni
goto end
:continue
echo Processing %1
main imaginary\%1.yca -mshl -o imaginary\obj\%1 > imaginary\obj\%1.txt 2>&1
goto end
:end
| @echo off
if not "%1" == "" goto continue
if not exist imaginary\obj mkdir imaginary\obj
for %%i in (imaginary\*.yca) do call %0 %%~ni
goto end
:continue
echo Processing %1
firstify imaginary\%1.yca -mshl -o imaginary\obj\%1 > imaginary\obj\%1.txt 2>&1
goto end
:end
| Change the executable from main to firstify | Change the executable from main to firstify | Batchfile | bsd-3-clause | ndmitchell/firstify |
22189540b89844326abbcb85b9d28487cceb90ac | build.cmd | build.cmd | @echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\Build --nologo --verbosity quiet
if %errorlevel% equ 0 dotnet tools\bin\Build\Build.dll %*
popd
| @echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\Build --nologo --verbosity quiet
if %errorlevel% equ 0 dotnet tools\bin\Build\Build.dll %*
popd
exit /b %errorlevel%
| Return error level from batch file. | Return error level from batch file.
| Batchfile | mit | Faithlife/FaithlifeUtility,ejball/ArgsReading,ejball/XmlDocMarkdown,Faithlife/Parsing |
019b01cbfb921606e6d759dfcbb051966bf128e1 | build.cmd | build.cmd | @echo off
if "%~1"=="" (
call :Usage
goto :EOF
)
call bootstrap.cmd
pushd "%~dp0"
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
set ProgramFilesDir=%ProgramFiles%
if NOT "%ProgramFiles(x86)%"=="" set ProgramFilesDir=%ProgramFiles(x86)%
set VisualStudioCmd=%ProgramFilesDir%\Microsoft Visual Studio 12.0\VC\vcv... | @echo off
if "%~1"=="" (
call :Usage
goto :EOF
)
call bootstrap.cmd
pushd "%~dp0"
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
set ProgramFilesDir=%ProgramFiles%
if NOT "%ProgramFiles(x86)%"=="" set ProgramFilesDir=%ProgramFiles(x86)%
set VisualStudioCmd=%ProgramFilesDir%\Microsoft Visual Studio 14.0\VC\vcv... | Update to visual studio 2015 | [.net] Update to visual studio 2015
| Batchfile | mit | dblock/waffle,Waffle/waffle,hazendaz/waffle,Waffle/waffle,AriSuutariST/waffle,Waffle/waffle,AriSuutariST/waffle,dblock/waffle,AriSuutariST/waffle,dblock/waffle,hazendaz/waffle,AriSuutariST/waffle,hazendaz/waffle,dblock/waffle |
6764f47c1eff039c274b08869213a734e2e58eea | build.cmd | build.cmd | @echo off
cls
SET BUILD_DIR=%~dp0\build
SET TOOLS_DIR=%BUILD_DIR%\tools
SET NUGET_PATH=%TOOLS_DIR%\nuget.exe
IF NOT EXIST %TOOLS_DIR%\ (
mkdir %TOOLS_DIR%
)
IF NOT EXIST %NUGET_PATH% (
echo Downloading NuGet.exe ...
powershell -Command "Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/v4.3.0/nuget.... | @echo off
cls
SET BUILD_DIR=%~dp0\build
SET TOOLS_DIR=%BUILD_DIR%\tools
SET NUGET_PATH=%TOOLS_DIR%\nuget.exe
IF NOT EXIST %TOOLS_DIR%\ (
mkdir %TOOLS_DIR%
)
IF NOT EXIST %NUGET_PATH% (
echo Downloading NuGet.exe ...
powershell -Command "Start-BitsTransfer -Source https://dist.nuget.org/win-x86-commandline/v4.3... | Speed up NuGet binary download | Speed up NuGet binary download
| Batchfile | mit | AutoFixture/AutoFixture,sean-gilliam/AutoFixture,zvirja/AutoFixture |
eaccea5505496bbde409edcddd6382c4351dda1d | tools/windows/sign_msi.bat | tools/windows/sign_msi.bat | @echo off
set DIST_DIR=dist
set CERTIFICATE_STORE=Root
set CERTIFICATE_NAME="Nuxeo Drive SPC"
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /s %CERTIFICATE_STORE% /n %CERTIFICATE_NAME% /d %MSI_PROGRAM_NAME% /t %TIMESTAMP_URL%
set ... | @echo off
set DIST_DIR=dist
set CERTIFICATE_PATH=%HOMEPATH%\certificates\nuxeo.com.pfx
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /f %CERTIFICATE_PATH% /d %MSI_PROGRAM_NAME% /t %TIMESTAMP_URL%
set VERIFY_CMD=signtool verify /v ... | Use PFX certificate file when signing msi | NXP-12981: Use PFX certificate file when signing msi
| Batchfile | lgpl-2.1 | loopingz/nuxeo-drive,DirkHoffmann/nuxeo-drive,rsoumyassdi/nuxeo-drive,arameshkumar/base-nuxeo-drive,ssdi-drive/nuxeo-drive,IsaacYangSLA/nuxeo-drive,DirkHoffmann/nuxeo-drive,rsoumyassdi/nuxeo-drive,rsoumyassdi/nuxeo-drive,DirkHoffmann/nuxeo-drive,DirkHoffmann/nuxeo-drive,loopingz/nuxeo-drive,ssdi-drive/nuxeo-drive,Isaac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.