This file contains hidden or 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 d0e733cd14c5939ec9f21e2c5093b5a2eb56cabb Mon Sep 17 00:00:00 2001 | |
From: Adrian Freund <[email protected]> | |
Date: Thu, 8 Dec 2022 10:22:09 +0100 | |
Subject: [PATCH] HID: amd_sfh: Add support for tablet-mode-switch sensor | |
This patch adds support for the tablet mode switch sensors on | |
convertible devices where that sensor is managed by AMD SFH. | |
Co-developed-by: Ivan Dovgal <[email protected]> | |
Signed-off-by: Ivan Dovgal <[email protected]> |
This file contains hidden or 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 | |
import random | |
def main(): | |
text = sys.argv | |
output = [shuffle(x) for x in text[1:]] | |
print(" ".join(output)) |
This file contains hidden or 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
skinparam usecase { | |
BackgroundColor #009682 | |
BorderColor #006d5e | |
ArrowColor #000000 | |
FontColor #ffffff | |
} | |
skinparam actor{ | |
BackgroundColor #ffffff |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from enum import Enum | |
from queue import Queue | |
from copy import deepcopy | |
NUM_FACES = 6 | |
class Axis(Enum): | |
U = 1 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from collections import OrderedDict | |
from xml.etree import ElementTree as ET | |
import sys | |
import re | |
import json | |
from urllib.request import Request, urlopen | |
from urllib.parse import urlencode |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import sys | |
import os | |
import gtk | |
import gobject | |
import webkit | |
import Queue | |
import threading | |
from time import sleep | |
import re |
This file contains hidden or 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
# Maintainer: Adrian Freund <[email protected]> | |
pkgname=('python2-javascriptcore-git') | |
_pkgname='pyjavascriptcore' | |
pkgver=v1.0.r2.gdb9d8e9 | |
pkgrel=1 | |
pkgdesc="Javascript Core for Python (When using WebKit2Gtk)" | |
url="https://github.com/freundTech/pyjavascriptcore" | |
license=('GPL2') | |
arch=('i686' 'x86_64') |
This file contains hidden or 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
#include <stdio.h> | |
#include <jpeglib.h> | |
#include <iostream> | |
#include <iomanip> | |
#include <sstream> | |
using namespace std; | |
JBLOCKARRAY rowPtrs[MAX_COMPONENTS]; |
This file contains hidden or 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 asyncio, logging, re, string | |
from pushbullet import PushBullet | |
import plugins | |
from utils import remove_accents | |
logger = logging.getLogger(__name__) |
NewerOlder