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 psutil | |
| import os, inspect | |
| def close_others(file=None): | |
| if file is None: | |
| this_path = os.path.abspath(inspect.stack()[-1].filename) | |
| else: | |
| this_path = os.path.realpath(file) | |
| processes = [] |
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 'dart:io'; | |
| String readLineSync() { | |
| String? s = stdin.readLineSync(); | |
| return s == null ? '' : s; | |
| } | |
| class Change with Comparable<Change> { | |
| int line; | |
| int column; |
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
| interface Change { | |
| line: number, | |
| column: number, | |
| str: string, | |
| } | |
| class InsertManager { | |
| changes: Change[] = [] | |
| constructor(public str: string) { } |
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
| building the system configuration... | |
| error: infinite recursion encountered | |
| at /nix/store/a885zpv9ys2p2x7qnzqvxlsy321mclip-source/lib/modules.nix:283:21: | |
| 282| (regularModules ++ [ internalModule ]) | |
| 283| ({ inherit lib options config specialArgs; } // specialArgs); | |
| | ^ | |
| 284| in mergeModules prefix (reverseList collected); |
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
| input=$1 | |
| dmesg | grep "\[.*\] usb [^:]*: .*$input" | grep -o -P "usb .*?:" | grep -o "[0-9][^:]*" | uniq | while read device; do echo enabled >/sys/bus/usb/devices/$device/power/wakeup; done |
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 'package:epub_reader/providers/book_downloader/zlibrary_book_downloader.dart'; | |
| import 'package:http/http.dart'; | |
| import '../../models/book.dart'; | |
| abstract class BookDownloader { | |
| Client httpClient; | |
| BookDownloader({required this.httpClient}); | |
| Future<Uri?> getEpubDownload(BookIdentifier bookIdentifier); |
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
| [ | |
| { | |
| "name":"Airi Sakura", | |
| "image":"https://static.wikia.nocookie.net/youkoso-jitsuryoku-shijou-shugi-no-kyoushitsu-e/images/b/b8/Airi_Sakura_LN_visual.png", | |
| "descriptionMarkdown":"" | |
| }, | |
| { | |
| "name":"Akane Tachibana", | |
| "image":"https://static.wikia.nocookie.net/youkoso-jitsuryoku-shijou-shugi-no-kyoushitsu-e/images/8/88/Akane_Tachibana_Anime_Appearance.png", | |
| "descriptionMarkdown":"" |