curl 'https://api.buskita.com/get-buses?first=1' \
--data-raw '{"siteId":1}' \
--compressed
{
"siteId": 1,
import pprint | |
import re | |
def optimod_to_dict(input_string): | |
lines = input_string.strip().split('\n') | |
data_dict = {} | |
current_key = None | |
for line in lines: |
#include "20.aboot.h" | |
void thunk_FUN_8f600020(void) | |
{ | |
int iVar1; | |
undefined *puVar2; | |
undefined *puVar3; |
#include "emmc_appsboot.h" | |
void thunk_FUN_8f600020(void) | |
{ | |
int iVar1; | |
undefined *puVar2; | |
undefined *puVar3; |
#!/bin/bash | |
# SOAP endpoint URL | |
URL="http://www.soapclient.com/xml/soapresponder.wsdl" | |
# Create the SOAP request message | |
SOAP_REQUEST=$(cat <<EOF | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.SoapClient.com/xml/SoapResponder.wsdl"> | |
<soapenv:Header/> | |
<soapenv:Body> |
/* | |
画像をアップロードする機能 | |
sectokに入っているトークンとcallparameterでアップロードを行うと指定してアップロード | |
*/ | |
document.getElementById('uploadButton').addEventListener('click', function() { | |
const fileInput = document.getElementById('fileInput'); | |
const files = fileInput.files; | |
// 必要なパラメーターを追加 | |
const sectok = document.querySelector('input[name="sectok"]').value; |
{ | |
"0":{ | |
"day":{ | |
"description":"Sunny", | |
"image":"http://openweathermap.org/img/wn/[email protected]" | |
}, | |
"night":{ | |
"description":"Clear", | |
"image":"http://openweathermap.org/img/wn/[email protected]" | |
} |
{ | |
"manifest_version": 3, | |
"name": "Twitterスパム通報", | |
"version": "1.0", | |
"permissions": [ | |
"browsingData", | |
"declarativeNetRequest" | |
], | |
"description": "スパム自動通報Chrome拡張", | |
"background": { |
// Mutation Observerの設定 | |
const targetNode = document.body; // 監視対象の要素 | |
const config = { childList: true, subtree: true }; | |
// 新しいtweet要素が追加された時に行う処理 | |
const tweetObserverCallback = function(mutationsList, observer) { | |
for(const mutation of mutationsList) { | |
if (mutation.type === 'childList') { | |
// [data-testid="tweet"]要素が追加された場合に実行する処理 | |
const newTweets = document.querySelectorAll('[data-testid="tweet"]'); |