Feature Name: (fill me in with a unique identity, myawesomefeature)
Type: (feature, enhancement)
Start Date: (fill me in with today's date, YYYY-MM-DD)
Author: (your names)
| // With async/await support | |
| const fs = require('fs') | |
| const jwt = require('jwt-simple') | |
| const pem_file = '/path/to/github.pem' // the absolute path to your Application Pem Certificate issued by GitHub | |
| const integration_id = 0 // GitHub Application Integration ID | |
| const installation_id = 0 // once installed on an organization. The Organization Integration ID | |
| const expire_seconds = 60 // number of seconds the jwt token expires (max ~600 but not designated by GitHub) | |
| const slug = 'owner/repo' // name of repo for demo purposes | |
| const privateKey = fs.readFileSync(pem_file) |
I hereby claim:
To claim this, I am signing this object:
| FROM ubuntu | |
| MAINTAINER Owen Trueblood | |
| # general dependencies | |
| RUN apt-get install -y curl | |
| # install target toolchain | |
| RUN apt-get update --fix-missing | |
| RUN apt-get install -y build-essential gcc-arm-linux-gnueabihf |
| { | |
| "variables": [], | |
| "info": { | |
| "name": "ArmaditoAV REST API", | |
| "_postman_id": "df112ab6-1ff5-dbf4-81e9-e19e2822ffe8", | |
| "description": "This POSTMAN collection documents the first version of the Armadito antivirus\nAPI that can be used by any client application to query antivirus status,\nlaunch a scan, get events....\n\n## User agent\n\nAll API paths require a 'User-Agent' HTTP header. If no 'User-Agent' is present,\na HTTP error `403` (request forbidden) will be returned.\n\nNo check is performed on the User-Agent string, so any non-empty string can\nbe used.\n\n## Session token\n\nAll API paths (except of course the '/api/register') require a session token\nthat is generated by Armadito API.\n\nThe session token must be passed in HTTP header 'X-Armadito-Token'.\n\nTo get a session token, you must first make a GET request to path '/api/register'.\nIf request is valid, it will return a JSON object containing a valid token:\n```json\n{\n \"token\": \"485994620463561099\"\n}\n```\n\nThe token is a string |
| /* | |
| * i2c_test.c | |
| */ | |
| #include <linux/slab.h> /* kzalloc */ | |
| #include <linux/module.h> /* Needed by all modules */ | |
| #include <linux/kernel.h> /* KERN_INFO */ | |
| #include <linux/timer.h> /* timer_list */ | |
| #include <linux/workqueue.h> /* schedule_work */ |
| { | |
| "recenttracks": { | |
| "track": [ | |
| { | |
| "artist": { | |
| "#text": "Aaron Gardea", | |
| "mbid": "" | |
| }, | |
| "name": "Daft Punk - Instant Crush", | |
| "streamable": "0", |
| var funcArray_1 = []; | |
| var funcArray_2 = []; | |
| //IIFE of type 1 | |
| for (var i = 0; i < 10; i++) { | |
| funcArray_1.push(function(val){ | |
| return function() { console.log(val); } | |
| }(i)); | |
| } | |
| console.log(i); // 10 |
| { | |
| "body": "project=odms-website\u0026resource=en-usproperties\u0026language=es\u0026reviewed=100", | |
| "files": [ | |
| ], | |
| "form": { | |
| "language": [ | |
| "es" | |
| ], | |
| "project": [ |
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |