npm i
npm run build -- --entry ./index.js
HTML emitted with `` and css chunk that inserted to html head.
| // ==UserScript== | |
| // @name GuruShots end time | |
| // @description Show ending time in GuruShots next to countdown timer | |
| // @namespace http://karmalakas.lt/ | |
| // @version 1.14.2 | |
| // @author Karmalakas | |
| // @updateURL https://github.com/Karmalakas/gurushots-user-scripts/raw/refs/heads/main/script/end-time/script.user.js | |
| // @downloadURL https://github.com/Karmalakas/gurushots-user-scripts/raw/refs/heads/main/script/end-time/script.user.js | |
| // @supportURL https://github.com/Karmalakas/gurushots-user-scripts/issues | |
| // @match https://gurushots.com/* |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| func main() { | |
| b := []byte(`{"key":"value"}`) |
| module.exports = { | |
| “extends”: “../src/.eslintrc.js”, | |
| “rules”: { | |
| “import/no-extraneous-dependencies”: “error” | |
| } | |
| }; |
| <?php | |
| use Psr\Log\LoggerInterface; | |
| /** | |
| * Assembles and dispatches the SOAP request body XML and returns the | |
| * Response body XML from the vendor API. | |
| */ | |
| class Request | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| namespace PlaynomicsPlugin | |
| { | |
| internal class ConcurrentQueue<T>{ | |
| private readonly object syncLock = new object(); | |
| private Queue<T> queue; |
| <?php | |
| // cURL obeys the RFCs as it should. Meaning that for a HTTP/1.1 backend if the POST size is above 1024 bytes | |
| // cURL sends a 'Expect: 100-continue' header. The server acknowledges and sends back the '100' status code. | |
| // cuRL then sends the request body. This is proper behaviour. Nginx supports this header. | |
| // This allows to work around servers that do not support that header. | |
| curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); | |
| // We're emptying the 'Expect' header, saying to the server: please accept the body right now. | |
| // Read here: http://pilif.github.com/2007/02/the-return-of-except-100-continue/ |