Skip to content

Instantly share code, notes, and snippets.

View file0
??API??PUGC API?????????????????10????????130????????{_index=logstash-sohutv-basic-api-2020.09.18, _type=_doc, _source={cluster_name=sohutv-basic-server, level=ERROR, appName=core.api-web-mobile.online, my_node_name=tc-196-40, message=getAlbumVideos err:I/O error on GET request for "http://ugc.api-web.online/v2/videos.do": timeout; nested exception is java.net.SocketTimeoutException: timeout url:http://ugc.api-web.online/v2/videos.do?playlistId=5301425&forceStart=false&customizeSizes=160*90,320*180,240*330&p=1&ps=30&videoId=55085675&src=sohuAppSyncData&_src=partner&_cn=mweb&shareType=1&_sig=a3a269d8782a9c8dddefa933def22928&_ts=1600463912285, @timestamp=2020-09-18T21:18:33.286Z, HOSTNAME=dmo-api-web-mobile-online-tc-zdxn1prl-deploy-7cc48bfbbb-n7vbs, thread_name=hystrix-ugc-68, level_value=40000, @version=1, logger_name=com.sohu.tv.api.logic.client.UgcApiClient, my_pod_namespace=sohutv-basic-api, my_pod_name=dmo-api-web-mobile-online-tc-zdxn1prl-deploy-7cc48bfbbb-n7vbs, my_pod_ip=10.11.197.64}, _id=zKgVo3QBoizw
@rupython
rupython / main.py
Created Sep 18, 2020
From: Евгений
View main.py
"""
Django settings for vetsite project.
Generated by 'django-admin startproject' using Django 3.0.5.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
View Selary.json
{
"latest": "1.5",
"updateurl": "http://212.109.223.189/salary.lua"
}
View model-evaluation-and-refinement.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Elshaman
Elshaman / ajax_XMLHttp_web_Promises_arrow.js
Created Sep 18, 2020
asynchronous api request(Chapter 11): Classic, stone-aged XMLHttpRequest object , in web browser.....Promises..... In arrow Syntax
View ajax_XMLHttp_web_Promises_arrow.js
/**
* Cristian Buitrago´s Weather API
* 9th Iteration
* Sample with Old School´s XMLHttpRequest, in web browser (Arrow Syntax this time)
* Execute: browser
* Architectural style: Promises
* method: GET
* Calls openweathermap's API(openweathermap.com/current for info)
*/
@rhenter
rhenter / form_paginate_by.html
Created Sep 18, 2020
Includes de Paginação e busca para Django usando Bootstrap
View form_paginate_by.html
{% load i18n %}
<div class="card-tools">
<form class="form-inline" action="." method="GET">
<div class="input-group input-group-sm" style="margin-left: 20px;">
<label for="id_paginate" style="margin-right: 5px;">{% trans "Show" %}</label>
<select class="form-control" name="paginate_by" id="id_paginate" onchange="this.form.submit()">
{% for pages in range_pagination %}
{% if paginate_by == pages %}
<option selected="selected">{{ pages }}</option>
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created Sep 18, 2020
libericajdklite v15.0.0 - Passed - Package Tests Results
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="Liberica JDK 15 Lite (64-bit)" displayVersion="15.0.0.36">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1A760DA4-A01D-44DB-9885-3B4B1C8A5452}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{1A760DA4-A01D-44DB-9885-3B4B1C8A5452}]]></UninstallString>
@Zhao-Cassie
Zhao-Cassie / PY0101EN-3-3-Functions.ipynb
Created Sep 18, 2020
Created on Skills Network Labs
View PY0101EN-3-3-Functions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DupeFile - 76561198068366899.json
{
"CharacterClass": "RexAdultS",
"DNA": "",
"Location_Isle_V3": "X=-344548.656 Y=-121534.883 Z=-56088.734",
"Rotation_Isle_V3": "P=0.000000 Y=-168.228683 R=0.000000",
"Growth": "1.0",
"Hunger": "1897",
"Thirst": "81",
"Stamina": "100",
"Health": "6500",
View SaveFile - 76561198068366899.json
{
"CharacterClass": "RexAdultS",
"DNA": "",
"Location_Isle_V3": "X=-344548.656 Y=-121534.883 Z=-56088.734",
"Rotation_Isle_V3": "P=0.000000 Y=-168.228729 R=0.000000",
"Growth": "1.0",
"Hunger": "1920",
"Thirst": "82",
"Stamina": "100",
"Health": "6500",
You can’t perform that action at this time.