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
| Homebrew build logs for gconf on Ubuntu 18.04 LTS | |
| Build date: 2018-05-21 23:23:41 |
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
| const https = require('https'); | |
| exports.handler = async (event) => { | |
| console.log(event); | |
| const [res, body] = await new Promise((resolve, reject) => { | |
| const req = https.request(`https://example.com/${event.pathParameters.proxy}`, { | |
| method: event.httpMethod, | |
| headers: { 'authorization': event.headers.Authorization }, | |
| }, (res) => { | |
| let body = ''; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE KSysGuardWorkSheet> | |
| <WorkSheet title="GPU Load" columns="3" interval="0.5" rows="4" locked="0"> | |
| <host port="3112" shell="" command="" name="127.0.0.1"/> | |
| <display row="0" manualRange="0" fontSize="8" version="1" stacked="0" class="FancyPlotter" vScroll="0" labels="1" title="Bus" svgBackground="" vDistance="30" column="0" autoRange="1" hLines="1" columnSpan="1" vLines="0" unit="" showUnit="0" rowSpan="1" hScale="6"> | |
| <beam sensorName="AMD.04.bus" sensorType="integer" color="0xffae67ca" hostName="127.0.0.1"/> | |
| </display> | |
| <display row="1" manualRange="0" fontSize="8" version="1" stacked="0" class="FancyPlotter" vScroll="0" labels="1" title="Graphics pipe" svgBackground="" vDistance="30" column="0" autoRange="1" hLines="1" columnSpan="1" vLines="0" unit="" showUnit="0" rowSpan="1" hScale="6"> | |
| <beam sensorName="AMD.04.gpu.%" sensorType="integer" color="0xff53cfda" hostName="127.0.0.1"/> | |
| </display> |
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
| #!/bin/sh | |
| set -euo pipefail | |
| function report_init_error() { | |
| curl -X POST "http://${AWS_LAMBDA_RUNTIME_API}/2018-06-01/runtime/init/error" -d@- --header "Lambda-Runtime-Function-Error-Type: Unhandled" | |
| } | |
| function report_invocation_error() { | |
| curl -X POST "http://${AWS_LAMBDA_RUNTIME_API}/2018-06-01/runtime/invocation/$REQUEST_ID/error" -d@- --header "Lambda-Runtime-Function-Error-Type: Unhandled" | |
| } |
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
| type IsObject<T> = T extends object ? T extends any[] ? false : true : false; | |
| function isObject<T>(v: T): IsObject<T> { | |
| return (typeof v === 'object' && !Array.isArray(v)) as IsObject<T>; | |
| } | |
| type Merge2<T, U> = IsObject<T> & IsObject<U> extends true ? { | |
| [K in keyof T]: K extends keyof U ? Merge2<T[K], U[K]> : T[K]; | |
| } & U : U; |
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
| lua << EOF | |
| local function sort_by_key(fn) | |
| return function(a,b) | |
| local ka, kb = fn(a), fn(b) | |
| assert(#ka == #kb) | |
| for i = 1, #ka do | |
| if ka[i] ~= kb[i] then | |
| return ka[i] < kb[i] | |
| end | |
| end |
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
| const AWS = require('aws-sdk'); | |
| const s3Provider = require('strapi-provider-upload-aws-s3'); | |
| module.exports = { | |
| init(config) { | |
| const s3 = new AWS.S3({ | |
| apiVersion: '2006-03-01', | |
| ...config, | |
| }); |
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
| package xml_marshallable_map | |
| // XMLMarshallableMap contains nestable data and implements | |
| // XMLMarshaller. The actual type of interface{} part must be string or | |
| // map[string]interface{}. The fields are sorted in alphabetical | |
| // order and encoded. | |
| type XMLMarshallableMap map[string]interface{} | |
| func (m XMLMarshallableMap) MarshalXML(e *xml.Encoder, start xml.StartElement) error { | |
| if err := e.EncodeToken(start); err != nil { |
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
| const { Node, Construct } = require('constructs'); | |
| class RootConstruct extends Construct { | |
| onSynthesize() { | |
| console.log(this.synthesize()); | |
| } | |
| synthesize() { | |
| return Object.assign({}, | |
| ...Node.of(this).children.map(child => child.synthesize()), | |
| ); |
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
| <!DOCTYPE html> | |
| <body> | |
| <form method="POST" action="https://raraya:Qm3VMV7pgnAgNch2WzqWYN5kDVNLGmiNCk6nihwc8U4KwEKSmd@shop-stage.raraya.co.jp/external/ordermadeparts.php"> | |
| <input type="hidden" name="apiKey" value="ZWJcQYnhM9YNS4OiVcphyDmEtNGr8rKv4qgEUKdDxGZ1WEzBnc" /> | |
| <input type="hidden" name="a" value="1" /> | |
| <input type="hidden" name="b" value="1" /> | |
| <input type="hidden" name="c" value="1" /> | |
| <input type="hidden" name="d" value="1" /> | |
| <input type="hidden" name="e" value="1" /> | |
| <input type="hidden" name="f" value="1" /> |
OlderNewer