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
| cmake_minimum_required(VERSION 2.8) | |
| project(adaptors) | |
| find_package(OpenCV REQUIRED) | |
| include_directories(${OpenCV_INCLUDE_DIRS}) | |
| add_executable(adaptors main.cpp) | |
| target_compile_features(adaptors PUBLIC cxx_std_17) | |
| target_link_libraries(adaptors ${OpenCV_LIBS}) |
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
| sudo pacman -Rsun deepin deepin-desktop-base deepin-wm deepin-extra lightdm deepin-manjaro | |
| sudo pacman -S plasma kio-extras kde-applications manjaro-kde-settings sddm-breath-theme manjaro-settings-manager-knotifier manjaro-settings-manager-kcm | |
| sudo systemctl enable sddm.service --force | |
| /usr/bin/cp -rf /etc/skel/. ~ |
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
| sudo pacman -Scc | |
| sudo pacman -S deepin deepin-extra lightdm deepin-manjaro mesa xf86-video-intel nvidia bumblebee | |
| sudo systemctl enable lightdm.service --force | |
| sudo systemctl enable bumblebeed.service | |
| /usr/bin/cp -rf /etc/skel/. ~ |
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
| /** @file any.hpp | |
| * This class implement a generic placeholder for any type. | |
| * Inspired by the awesome article "Valued Convertions" by | |
| * Kevlin Henney. | |
| * http://www.two-sdg.demon.co.uk/curbralan/papers/ValuedConversions.pdf | |
| */ | |
| #pragma once | |
| #include <cstdlib> | |
| #include <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
| import skimage.feature | |
| import skimage.data | |
| import skimage.color | |
| import skimage as sk | |
| import matplotlib.pyplot as plt | |
| img_astronaut = sk.color.rgb2gray(sk.data.astronaut()) | |
| img_photographer = sk.data.camera() | |
| parameters = [ |
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
| menu_parent Left | |
| menu_child Right | |
| menu_down Down | |
| menu_up Up | |
| scroll_left h | |
| scroll_right l | |
| scroll_up k | |
| scroll_down j |
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> | |
| typedef void* (*f)(void); | |
| int n = 0; | |
| void* func(void){ | |
| printf("%d\n", n++); | |
| return &func; | |
| } |
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> | |
| int main(){int n=12237514;/*imprime algo sobre você*/printf("%02x\n",*((int*)(&main+(n-12237503))));return 0;} |
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> | |
| int print_0_99(int n){ | |
| printf("%d\n",n); | |
| ((n<99) && print_0_99(n+1)); | |
| return 0; | |
| } | |
| int main(){ | |
| print_0_99(0); |
NewerOlder