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
| use futures_lite::stream::StreamExt; | |
| use zbus::names::InterfaceName; | |
| use zbus::zvariant::Str; | |
| use zbus::zvariant::Value; | |
| #[tokio::main] | |
| async fn main() -> Result<(), Box<dyn std::error::Error>> { | |
| const INTERFACE_NAME: InterfaceName = | |
| InterfaceName::from_static_str_unchecked("org.freedesktop.UPower.PowerProfiles"); | |
| const PROPERTY_NAME: &str = "ActiveProfile"; |
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
| delegate int MyFunc (); | |
| class MyNotifier { | |
| public MyNotifier () { | |
| print ("Created\n"); | |
| } | |
| ~MyNotifier () { | |
| print ("Destroyed\n"); | |
| } |
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
| -- Code used for generation | |
| local freqTab = { | |
| [0] = 60, | |
| -74, | |
| 6, | |
| 55, | |
| 35, | |
| 74, | |
| 6, | |
| -58, |
This file has been truncated, but you can view the full file.
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
| L M E | |
| p b aO dL p lee C u Uint LY pm atu e oi ((YorUt ) psher -oe y aUvsUhlre Uerde, hyab b yboemn b bh Uenab;d | |
| b U.rhb e -S mh,v; bimhew) bd noasuo d b imar aaniranG s dird oosd wanheng e,avar eee er bith a eiao rUrr e,lrahalla l the gidw.dcor,nws af ahe kin l He wener bh austiais old laammars, Inhhela eonaond d fa blg gis nl tim oicl,rlsh | |
| T esdxw fshhlnrwt cindkgh dohiwl)tfhe ; w d go so rhoaoe ior aienisatmhinqiatl t n ean oh tyliole tn hf aho slseioxcen uhfrh aoee t ean dwtmdh aor weahha te thasooi l r n lvs lore teahe lcnnon shl onsof hhe worl wou tudlted doeninhach an tawhwh | |
| Wtfte o as.h | |
| "WheCUT | |
| ..Hch Hld t ld He LE H | |
| es ondf rltn nome tl uebem d d oldtoud vg iru ts oan. HVAL.htn nnsh wf reneehr --HH. whB Tta KhCG L'T | |
| "WHALE.... S hts nortmwn ad sn di woom rhe wae, Hnd Dr HHLEE.A fL HALLA-tL; wh bolli th rhsl n --WYATALYa.NAS DICTIONARY |
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
| set(_GLSLang_Include_Path "") | |
| set(_GLSLang_Library_Path "") | |
| set(_GLSLang_Components_Found "") | |
| function(_GLSLang_Add_Component COMPONENT) | |
| list(APPEND _GLSLang_Components_Found ${COMPONENT}) | |
| endfunction() | |
| if(WIN32) |
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
| // Show image using dots and spaces in terminal | |
| #define STB_IMAGE_IMPLEMENTATION | |
| #include "stb_image.h" | |
| #include <iostream> | |
| int main(int argc, char *argv[]) { | |
| if (argc != 2) { std::cerr << "Only one argument should be image file" << std::endl; return 1; }; | |
| int x, y, n; | |
| unsigned char *data = stbi_load(argv[1], &x, &y, &n, 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
| #0 0x000000000097e469 in std::pair<irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > >::pair<irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, true>(irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > const&, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > const&) () | |
| #1 0x000000000097e2c8 in void std::vector<std::pair<irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > >, std::allocator<std::pair<irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > > >::_M_realloc_insert<irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > const&, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > const&>(__gnu_cxx::__normal_iterator<std::pair<irr::core::string<wchar_t, irr::core::irrAllo |
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
| #0 0x0000000000a3cbf4 in OnlineProfileFriends::compareFriends(int, int) () | |
| #1 0x0000000000a3e1fe in void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(int, int)> >(__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(int, int)>) () | |
| #2 0x0000000000a3b971 in OnlineProfileFriends::displayResults() () | |
| #3 0x00000000007fee88 in GUIEngine::render(float) () | |
| #4 0x0000000000758bb4 in IrrDriver::update(float) () | |
| #5 0x00000000008f115b in MainLoop::run() () | |
| #6 0x00000000008ed691 in main () |
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
| #!/bin/bash | |
| assetstriger=false | |
| codetriger=false | |
| compiler=g++ | |
| . /etc/stk-update | |
| startupdate(){ | |
| if zenity --question --title=SuperTuxKart --text='Есть обновления SuperTuxKart. Поставить?' --icon-name=supertuxkart --ok-label=Поставить --cancel-label=Потом --modal | |
| then | |
| BUILD_DIR="$BASEDIR"/stk-code/cmake_build |
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
| v@v-xubuntu:~/compile/tld_calc$ valgrind glade | |
| ==9781== Memcheck, a memory error detector | |
| ==9781== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
| ==9781== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
| ==9781== Command: glade | |
| ==9781== | |
| GladeUI-Message: 18:51:45.168: 1 missing displayable value for GtkWidget::events | |
| GladeUI-Message: 18:51:45.205: 1 missing displayable value for GtkWidget::AtkObject::accessible-role | |
| GladeUI-Message: 18:51:47.372: 2 missing displayable value for GtkEntry::input-hints | |
| GladeUI-Message: 18:51:51.143: No displayable values for property GtkMenu::anchor-hints |
NewerOlder