This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5 import QtWidgets, QtGui, QtCore | |
from PyQt5.QtCore import pyqtSignal | |
from http.client import HTTPSConnection | |
from bs4 import BeautifulSoup | |
import time | |
font_but = QtGui.QFont() | |
font_but.setFamily("Segoe UI Symbol") | |
font_but.setPointSize(10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This is free and unencumbered software released into the public domain. | |
-- The software is provided "as is", without warranty of any kind. | |
-- Anyone is free to copy, modify, publish, use, compile, sell, or | |
-- distribute this software, either in source code form or as a compiled | |
-- binary, for any purpose, commercial or non-commercial, and by any means. | |
-- For more information, please refer to <http://unlicense.org/> | |
-- | |
-- Use KDE KDialog to add files to playlist, subtitles to playing video or open URLs. | |
-- Based on 'mpv-open-file-dialog' <https://github.com/rossy/mpv-open-file-dialog>. | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys,os | |
import curses | |
def draw_menu(stdscr): | |
k = 0 | |
cursor_x = 0 | |
cursor_y = 0 | |
# Clear and refresh the screen for a blank canvas | |
stdscr.clear() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import curses | |
import sys | |
import random | |
import hackchat | |
import threading | |
class HackClient: | |
def __init__(self, nick, channel): | |
self.nick = nick | |
self.channel = channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* example C code using libcurl and json-c | |
* to post and return a payload using | |
* http://jsonplaceholder.typicode.com | |
* | |
* License: | |
* | |
* This code is licensed under MIT license | |
* https://opensource.org/licenses/MIT | |
* |