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
- "ABB_BUILD_DATE=`date -u +%Y%m%d`" |
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
async function singleRequest(url, method, payload = null) | |
{ | |
let headers = await client.getRequestHeaders(url); | |
let options = {url, method, headers, json: true}; | |
let requestFnc = (...opts) => request(...opts); | |
if (payload) | |
{ | |
let packageReadStream = fs.createReadStream(path.resolve(args.package)); | |
requestFnc = (...opts) => packageReadStream.pipe(request(...opts)); |
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
async function singleRequest(url, method, payload = null) | |
{ | |
let headers = await client.getRequestHeaders(url); | |
let options = {url, method, headers, json: true}; | |
let requestFnc = (...opts) => request(...opts); | |
if (payload) | |
{ async function singleRequest(url, method, payload = null) | |
{ | |
let headers = await client.getRequestHeaders(url); |
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
stages: | |
- install | |
- test | |
- build | |
- deploy | |
prepare-dependencies: | |
stage: install | |
script: | |
# Fix for ensure_dependencies.py; failed on multirunner while trying to manually exlucde files |
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
// FILE A adblockpluschrome/etc/foo.js: | |
require('./lib/baz.js'); | |
// FILE B adblockpluschrome/adblockpluscore/etc/bar.js: | |
require('./lib/baz.js'); | |
// we want to use adblockpluschrome/etc/lib/foobar.js and adblockpluschrome/adblockpluscore/etc/lib/foobar.js instead of the baz, so we configure | |
[module_alias] | |
./lib/baz.js = ./lib/foobar.js |
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
from urllib import urlencode | |
import urllib2 | |
import json | |
import os | |
import sys | |
config { | |
'refresh_token': 'YOURREFRESHTOKEN', | |
'client_id': 'YOURCLIENTID', | |
'client_secret': 'YOURCLIENTSECRET', |
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
If lesbar: | |
print "lesbar" | |
else: | |
print "nicht lesbar" | |
teste_stuff() |
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
{# | |
This file is part of Adblock Plus <https://adblockplus.org/>, | |
Copyright (C) 2006-present eyeo GmbH | |
Adblock Plus is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License version 3 as | |
published by the Free Software Foundation. | |
Adblock Plus is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |