written by atjsh
- chatgpt can understand code
- chatgpt can generate json
- swagger documentations are written in json and spec are publicly accessable
written by atjsh
// ==UserScript== | |
// @name Medium Paywall Bypass | |
// @namespace Violentmonkey Scripts | |
// @run-at document-start | |
// @match *://*.medium.com/* | |
// @match *://medium.com/* | |
// @match *://*/* | |
// @grant none | |
// @version 2.4 | |
// @inject-into content |
This document describes the HTTP communication of LibreLinkUp which functions as follower app to receive cgm data. Some data in the responses were masked.
This dump was created on an android device with LibreLinkUp app. Capturing was done with HttpToolkit over adb.
new Promise((resolve, reject) => { | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", `https://endic.naver.com/searchAssistDict.nhn?query=${text}`, true); | |
xhr.onreadystatechange = function() { | |
if (xhr.readyState == 4) { | |
const content_word = /<div class="box_a">((.|\n)*?)<\/div>/g | |
const filter_word = /<span class="fnt_k20"><strong>(.+)<\/strong><\/span>/g | |
const body = xhr.responseText; | |
let words = []; |
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
AWS 학습 링크집 시리즈
import 'dart:io'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( |
class MyWindow(QMainWindow, form_class): | |
def __init__(self): | |
self.calltime=[] | |
self.count=0 | |
... #생략 | |
def timeout(self): | |
... #생략 | |
self.stime = 1000*(current_time.hour() * 3600 + current_time.minute() * 60 + current_time.second())+current_time.msec() | |
self.tcalltime=self.calltime #임시저장 |
from bs4 import BeautifulSoup | |
import requests | |
import urllib | |
import datetime, time | |
from prettytable import PrettyTable | |
## resilience 주식의 회복 탄력성을 계산해주는 로직 | |
class Resilience : |