Skip to content

Commit

Permalink
a patch for hyprland
Browse files Browse the repository at this point in the history
Signed-off-by: MisileLab <[email protected]>
  • Loading branch information
MisileLab committed Nov 19, 2023
1 parent 3a68f40 commit 988a18d
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 1 deletion.
4 changes: 4 additions & 0 deletions projects/dsb/README-for-ebuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# A need to do for specified patches

- sdbus-c++ - link /usr/include/elogind -> /usr/include/libelogind

2 changes: 1 addition & 1 deletion projects/dsb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ a small projects folder
All version needs latest release version

- Python && Jupyter
- Clang/LLVM, GCC(Not tested, not fix)
- Clang/LLVM, GCC(Not tested)
- And many other things
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From ac96c145ef8df13d7d52bf8e6cc46c8d0aa6a8fc Mon Sep 17 00:00:00 2001
From: MisileLab <[email protected]>
Date: Mon, 20 Nov 2023 01:46:50 +0900
Subject: [PATCH] patch for hyprland

Signed-off-by: MisileLab <[email protected]>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2803722..43ca7f3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,7 @@ if(NOT BUILD_LIBSYSTEMD)
message(WARNING "libsystemd not found, checking for libelogind instead")
pkg_check_modules(Systemd IMPORTED_TARGET GLOBAL libelogind>=236)
if(TARGET PkgConfig::Systemd)
- set(LIBSYSTEMD "elogind")
+ set(LIBSYSTEMD "libelogind")
string(REPLACE "." ";" VERSION_LIST ${Systemd_VERSION})
list(GET VERSION_LIST 0 Systemd_VERSION)
else()
--
2.42.1

File renamed without changes.
12 changes: 12 additions & 0 deletions projects/xobusy/bojs/problems/29163.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
input()
a = 0
b = 0
for i in list(map(int, input().split(" "))):
if i % 2 == 0:
a += 1
else:
b += 1
if a > b:
print("Happy")
else:
print("Sad")
1 change: 1 addition & 0 deletions projects/xobusy/bojs/problems/29699.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("WelcomeToSMUPC"[int(input()) % 14 - 1])
16 changes: 16 additions & 0 deletions projects/xobusy/bojs/problems/29731.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
a = [
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"Never gonna stop"
]

for _ in range(int(input())):
if input() not in a:
print("Yes")
break
else:
print("No")
2 changes: 2 additions & 0 deletions projects/xobusy/bojs/problems/29751.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a, b = map(int, input().split())
print(f"{a * b / 2:.1f}")
6 changes: 6 additions & 0 deletions projects/xobusy/bojs/problems/29863.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
a = int(input())
b = int(input())
if a >= b:
print((24 - a) + b)
else:
print(b - a)
3 changes: 3 additions & 0 deletions projects/xobusy/bojs/problems/30007.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
for _ in range(int(input())):
a, b, x = map(int, input().split(" "))
print(a*(x-1)+b)
1 change: 1 addition & 0 deletions projects/xobusy/bojs/problems/30030.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print(int(input())//11*10)
3 changes: 3 additions & 0 deletions projects/xobusy/bojs/problems/30087.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a = {"Algorithm":"204","DataAnalysis":"207","ArtificialIntelligence":"302","CyberSecurity":"B101","Network":"303","Startup":"501","TestStrategy":"105"}
for _ in range(int(input())):
print(a[input()])

0 comments on commit 988a18d

Please sign in to comment.