Call example:
bash gcv.sh a_cv_main_file.c img1 img2 vid1You can rename "gcv.sh" to "gcv" add it to the path and use like native compiler:
gcv a_cv_main_file.c img1 img2 vid1Here you can see my atom's config files.
| @echo off | |
| SET st3_path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| SET st3_label=Open with SublimeText3 ! | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "%st3_label%" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3_path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3_path% \"%%1\"" /f | |
| rem add it for folders |
| --enable-dom-distiller --flag-switches-begin --enable-new-bookmark-apps --enable-canvas-2d-dynamic-rendering-mode-switching --enable-embedded-extension-options --enable-es3-apis --enable-fast-unload --enable-google-branded-context-menu --google-profile-info --enable-grouped-history --enable-nacl --new-profile-management --disable-password-generation --enable-site-settings --enable-tab-audio-muting --ignore-gpu-blacklist --enable-lcd-text --enable-overlay-scrollbar --save-page-as-mhtml --saveas-menu-label --secondary-ui-md --show-saved-copy=primary --enable-smooth-scrolling --enable-features=AutomaticTabDiscarding,ExpensiveBackgroundTimerThrottling,MaterialDesignExtensions,MaterialDesignHistory,MaterialDesignSettings,MaterialDesignUserMenu,PreferHtmlOverPlugins,ScrollAnchoring,WebRTC-H264WithOpenH264FFmpeg --disable-features=RunAllFlashInAllowMode,SafeSearchUrlReporting,enable-manual-password-generation,enable-password-force-saving --flag-switches-end |
| loadkeys es # Cambiamos el teclado a español. | |
| efivar -l # Si esto devuelve algo, estamos corriendo bien sobre UEFI ;) | |
| timedatectl set-ntp true # Habilita el cambio del horario de verano. | |
| timedatectl set-timezone Europe/Madrid # Estable la hora de tu zona. | |
| # Particiones a gusto del consumidor, via Ncurses. | |
| cgdisk | |
| # Damos formato a las particiones antes creadas, definiendo tambíen su LABEL. | |
| mkswap -L AL_SWAP /dev/sdaW |
| #! /usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| from collections import deque | |
| if __name__ == '__main__': | |
| ''' Creamos las deques con las que trabajaremos. ''' | |
| # DobleCola que queremos pasar como argumento. | |
| a = deque() | |
| # DobleCola que recibira 'a' como 'puntero'. |
| # Lambda way... | |
| L_Collatz = lambda n : [] if n == 1 else \ | |
| [n / 2] + L_Collatz(n / 2) if n % 2 == 0 else \ | |
| [3 * n + 1] + L_Collatz(3 * n + 1) | |
| # Function way... | |
| def F_Collatz(n): | |
| if n == 1: | |
| return [] | |
| elif n % 2 == 0: |
| On Windows, | |
| Install mingw-w64 from Mingw-builds | |
| - Version: latest (at time of writing 6.3.0) | |
| - Architecture: x86_64 | |
| - Threads: win32 | |
| - Exception: seh | |
| - Build revision: 1 | |
| - Destination Folder: Select a folder that your Windows user owns |
| 2gua.rainbow-brackets | |
| bbenoist.Doxygen | |
| CADENAS.vscode-glsllint | |
| christian-kohler.path-intellisense | |
| cschlosser.doxdocgen | |
| dbaeumer.vscode-eslint | |
| Gimly81.matlab | |
| James-Yu.latex-workshop | |
| kevinehmry.heatscript | |
| kriegalex.vscode-cudacpp |
| #include <stdio.h> // <--- printf() | |
| #include <string> | |
| #include <vector> | |
| // using namespace std; // <--- Never ! | |
| /* EMOJI CLASS */ | |
| class emoji | |
| { | |
| public: |