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
#!/usr/bin/env node | |
var utils = require('./utils'); | |
/** | |
* @param {Object} - the configuration object | |
*/ | |
var addUser = (opts) => { | |
utils._addToGithub(opts.user); | |
utils._addToSlack(opts.user, opts.channel); | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function mandatoryTrainings() { | |
var data = SpreadsheetApp.getActiveSheet().getDataRange().getValues(); | |
for (i in data) { | |
// Here, each row is d | |
// Skip the header row | |
if (i === "0") { | |
continue; | |
} |
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
var fs = require('fs'); | |
// Read file passed in command line args | |
var f = fs.readFileSync(process.argv[2],'utf8'); | |
// Replace markdown img regex with <img> with base64 data uri & pipe to stdout | |
var re =/!\[\]\(([^]*?)\)/g; | |
process.stdout.write(f.replace(re, replaceImagesWithBase64)); | |
/** |
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
{"results":[{"type":"Proposed Rule","document_number":"2015-26581","title":"Federal Acquisition Regulation: Revision to Standard Forms for Bonds","excerpts":"DoD, GSA, and NASA are proposing to revise Standard Forms prescribed by the Federal Acquisition Regulation (FAR) for contracts involving bonds and other financial protections. The revisions are aimed at clarifying liability limitations and expanding the … ","abstract":"DoD, GSA, and NASA are proposing to revise Standard Forms prescribed by the Federal Acquisition Regulation (FAR) for contracts involving bonds and other financial protections. The revisions are aimed at clarifying liability limitations and expanding the options for organization types.","publication_date":"2015-10-20","html_url":"https://www.federalregister.gov/articles/2015/10/20/2015-26581/federal-acquisition-regulation-revision-to-standard-forms-for-bonds","pdf_url":"http://www.gpo.gov/fdsys/pkg/FR-2015-10-20/pdf/2015-26581.pdf","public_inspection_pdf_url":"https://s3.amazonaws.co |
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
function githubPost() { | |
var ss = SpreadsheetApp.openById(ssID) // replace the ssID with the Spreadsheet ID | |
var sheet = ss.getSheetByName("Form Responses 1"); | |
var formResponses = FormApp.getActiveForm().getResponses(); | |
var res = formResponses[formResponses.length-1].getItemResponses(); | |
var amt = res[0].getResponse(); | |
var title = "Load Schedule 70 data into CALC. >>> Current bid: " + amt + " <<<" | |
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
<</MCID 2 >>BDC 10.9428 0 0 10.9615 171.1056 618.8265 Tm [(P)18(etiti)-27(oners )-86(nonetheless )-86(contend )-86(that )-86(respondents\\222 )-86(clai)-18(m )-86(is )]TJ -1 -1.182 Td [(l)-18(ike )-114(the )-114(pre-empted )-114(war)-27(ni)-18(ng )-104(neutra)-27(l)-18(i)-18(zati)-27(on )-114(clai)-18(m )-114(because )-114(it )]TJ 0 -1.182 TD [(is )-14(based )-23(on )-14(st)-18(atements )-23(that )-14(\\223might )-23(create )-14(a )-23(fa)-27(lse )-14(i)-18(mpressi)-27(on\\224 )]TJ T* [(rather )-250(than )-241(st)-18(atements )-250(that )-250(are )-241(\\223)-36(i)-18(nherently )-250(fa)-27(lse)27(.)-54(\\224 )-750(Br)-27(ief )]TJ T* [(for )-141(P)18(etiti)-27(oners )-132(39. )-750(But )-141(the )-141(extent )-132(of )-141(the )-132(fa)-27(lsehood )-141(a)-27(l)-18(leged )]TJ T* [(does )-4(not )-4(a)-27(lter )-4(the )-4(nature )-14(of )-4(the )-4(clai)-18(m. )-750(N)36(oth)-27(i)-18(ng )-4(i)-18(n )-4(the )-4(Label\\255)]TJ T* [(i)-18(ng )-50(A)55(c)-18(t\\222)55(s )-41(text )-50(or )-41(pur)-18(pose )-50(or |
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
term | definition | url | |
---|---|---|---|
ATO | Authority to Operate | ||
18F | a team of top-notch designers, developers, and product specialists inside the General Services Administration, headquartered at 18 and F streets in Washington, D.C. | https://18f.gsa.gov | |
GSA | General Services Administration | http://gsa.gov | |
d3 | Data-Driven Documents | http://d3js.org |
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
#/usr/bin/env python3 | |
import time | |
from subprocess import call | |
while(true): | |
dt = list(time.localtime()) | |
hour = dt[3] | |
minute = dt[4] | |
if hour == 8 and minute == 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
#!/usr/bin/env python3 | |
from time import sleep | |
import requests | |
try: | |
import RPi.GPIO as GPIO | |
except RuntimeError: | |
print("Error importing RPi.GPIO! This is probably because you need superuser privileges. You can achieve this by using 'sudo' to run your script") | |
GPIO.setmode(GPIO.BCM) |