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 <stdlib.h> | |
| #include <iostream> | |
| using namespace std; | |
| class Matriz { | |
| private: | |
| double *data; | |
| size_t cols; | |
| size_t lins; |
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 <iostream> | |
| #include <math.h> | |
| #include "circulo.h" | |
| using namespace::std; | |
| ostream& operator<<(ostream &saida, const Cilindro& cl) { | |
| saida << "Cilindro:" << endl << "\t(" << cl.getX() << ", " << cl.getY() << ")" << endl << "\tAltura: " << cl.getAltura() | |
| << endl << "\tVolume: " << cl.getVolume() << endl; | |
| return saida; | |
| } |
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 <iostream> | |
| using namespace::std; | |
| class Ponto{ | |
| public: | |
| Ponto(int _x=1, int _y=1); | |
| void setX(int _x); | |
| int getX() const; |
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
| _pkgname=hostapd | |
| pkgname="${_pkgname}-wpe" | |
| pkgver=2.8 | |
| pkgrel=0 | |
| pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator (with hostapd-wpe patch)" | |
| arch=('x86_64' 'aarch64') | |
| url="https://w1.fi/hostapd/" | |
| license=(GPL) | |
| depends=('openssl' 'libnl') | |
| options=(emptydirs) |
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
| # Original author: Alexey Pavlov <alexpux@gmail.com> | |
| MINGW_PACKAGE_PREFIX="mingw-w64" | |
| _realname=gc | |
| pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" | |
| pkgver=7.4.2 | |
| pkgrel=1 | |
| pkgdesc="A garbage collector for C and C++ (mingw-w64)" | |
| arch=('any') | |
| url="http://www.hboehm.info/gc" |
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
| #!/usr/bin/ruby | |
| # [INCOMPLETE] | |
| # PixelCanvas.io Multi-threaded BOT | |
| require 'free-image' | |
| require 'socket' | |
| require 'net/http' | |
| require 'json' |
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 std::fmt; | |
| use std::any::Any; | |
| // Implements Binary Trees | |
| #[derive(Clone)] | |
| struct BruteBinaryTree<T> { | |
| info: T, | |
| left: BinaryTree<T>, | |
| right: BinaryTree<T>, | |
| } |
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
| module FontAwesome.Helper exposing (..) | |
| import Css exposing (Style, Snippet, fontFamilies, before) | |
| type alias UnicodeTag = | |
| String | |
| fontAwesome : Style |
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
| module Gradients exposing (..) | |
| import Css exposing (Style, backgroundImage, linearGradient2, stop, stop2, hex, pct) | |
| -- AUTO Generated from: https://raw.githubusercontent.com/ghosh/uiGradients/master/gradients.json | |
| -- replaced "name": "([\w ]*) with "name": "\E$1 | |
| -- replaced "(\w*) (\w) with ""$1\U$2 | |
| -- used regex: /^\s*{\s*"name": "([\' \w0-9]*)",\s*"colors": \["#([a-f0-9]*)", "#([a-f0-9]*)", "#([a-f0-9]*)"\]\s*},?/g | |
| -- and with fewer color samples |
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
| (?) : Bool -> ( a, a ) -> a | |
| (?) cond ( ifTrue, ifFalse ) = | |
| if cond then | |
| ifTrue | |
| else | |
| ifFalse | |
| (?) : a -> a -> ( a, a ) | |
| (?) ifTrue ifFalse = |