generated from MisileLab/Base-repository
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: MisileLab <[email protected]>
- Loading branch information
Showing
12 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
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
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 | ||
|
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
26 changes: 26 additions & 0 deletions
26
projects/dsb/ebuild-patches/dev-cpp/sdbus-c++/0001-patch-for-hyprland.patch
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
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.
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
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") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print("WelcomeToSMUPC"[int(input()) % 14 - 1]) |
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
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") |
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
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}") |
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
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) |
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
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) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print(int(input())//11*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
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()]) |