Skip to content

Instantly share code, notes, and snippets.

Avatar

alex-eri alex-eri

View GitHub Profile
@alex-eri
alex-eri / password.txt
Created Oct 20, 2020 — forked from gabonator/password.txt
HiSilicon IP camera root passwords
View password.txt
Login Password
root xmhdipc
root klv123
root xc3511
root 123456
root jvbzd
default OxhlwSG8
defaul tlJwpbo6
defaul S2fGqNFs
root hi3518
View serversidesignals.py
class Data:
def __init__(self):
self.state = {}
self.cond = asyncio.Condition()
async def clock_waiter(m, cb):
while True:
try:
View NetworkManager.py
# NetworkManager - a library to make interacting with the NetworkManager daemon
# easier.
#
# (C)2011-2017 Dennis Kaarsemaker
# License: zlib
import copy
import dbus
import dbus.service
import os
View NetworkManager.py
# NetworkManager - a library to make interacting with the NetworkManager daemon
# easier.
#
# (C)2011-2017 Dennis Kaarsemaker
# License: zlib
import copy
import dbus
import dbus.service
import os
View menu.js
var loc = window.location.href;
var url_segments = loc.split('/');
url_segments.pop();
vat url_segment = url_segments.pop();
$('.menu li').each(function () {
var link = $(this).find('a').attr('href');
var link_segments = link.split('/');
link_segments.pop()
View qtchat.py
from asyncqt import QEventLoop, asyncSlot, asyncClose
import sys
import asyncio
from PySide2.QtWidgets import (
QApplication, QWidget, QLabel, QLineEdit, QTextEdit, QPushButton,
QVBoxLayout)
from PySide2.QtCore import Signal
View sb.dump
]0;eri@eri-macro:~/Projects/2020/jsterm/python[eri@eri-macro python]$ cd ../../pinpad/sb_pilot/
]0;eri@eri-macro:~/Projects/2020/pinpad/sb_pilot[eri@eri-macro sb_pilot]$ export LANG=ru_RU.KOI*8-R
]0;eri@eri-macro:~/Projects/2020/pinpad/sb_pilot[eri@eri-macro sb_pilot]$ sb_[1@.[1@/sb_pilot
[?1049h(B[?7h[?25l[?1h=(0lqk(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B(0x(B(B[40
View sema.py
import asyncio
loop = asyncio.get_event_loop()
sema = asyncio.Semaphore(value=10)
async def send(msg):
print(msg)
async def income(msg):
if not sema.locked():
View main.py
from PySide2.QtWidgets import QApplication
from PySide2.QtCore import QUrl
import os
import sys
from PySide2.QtQml import QQmlApplicationEngine
# sys.argv += ['--style', 'material']
app = QApplication(sys.argv)
You can’t perform that action at this time.