-
Find the smallest positive integer that does not occur in a given sequence
- https://stackoverflow.com/a/71017932/2332965
- Se houver usar estruturas de dados que impeçam dados duplicados
- Se possível usar estruturas de dados que já se ordenem
- http://ruby-doc.org/stdlib-1.9.3/libdoc/set/rdoc/Set.html
- [1,2,3,4,5,5,5,6].to_set => [1,2,3,4,5,6]
-
Exercício dois
Discover gists
This file contains 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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
const { Ci } = require("chrome"); | |
const Services = require("Services"); | |
loader.lazyRequireGetter( | |
this, |
This file contains 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
https://github.com/VadimDez/ng2-pdf-viewer | |
https://vadimdez.github.io/ng2-pdf-viewer/ | |
https://www.npmjs.com/package/xng-breadcrumb | |
https://github.com/udayvunnam/xng-breadcrumb | |
https://udayvunnam.github.io/xng-breadcrumb/#/ | |
https://github.com/auth0/angular2-jwt | |
https://github.com/valor-software/ng2-file-upload |
This file contains 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
/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */ | |
/* vim: set sts=2 sw=2 et tw=80: */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
/** | |
* This module contains utilities and base classes for logic which is | |
* common between the parent and child process, and in particular |
This file has been truncated, but you can view the full file.
This file contains 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
This file has been truncated, but you can view the full file.
This file contains 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
Here is a way to do a robust install of Ubuntu (+ optional Windows 11 dual boot and LUKS encryption) on an Asus laptop, with minimal usable hardware support, without a significant amount of tinkering that may break in future or require frequent technical attention.
In summary, the key thing is to have an up to date kernel, which usually means disabling secure-boot and installing the latest stable (6.0+) using mainline or xanmod, and as well as making sure the latest nvidia driver and dkms is installed.
- Model Asus G14 2021 (GA401QC)
- AMD R7 5800 8 core 16 thread (onboard Radeon graphics)
- NVIDIA RTX 3050 4GB (60W +15W boost)
This file contains 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
2022-10-18 15:45:40 upgrade skypeforlinux amd64 8.89.76.401 8.90.76.300 | |
2022-10-18 15:45:40 upgrade nvidia-detect amd64 510.73.08-2~mx19+1 510.85.02-1~mx19+1 | |
2022-10-18 15:45:39 upgrade mx-tweak amd64 22.10.01mx21 22.10.03mx21 | |
2022-10-18 15:45:38 upgrade mx-packageinstaller-pkglist all 22.09.03mx21 22.10.02mx21 | |
2022-10-18 15:45:38 upgrade lo-main-helper all 22.09.03mx21 22.10.02mx21 | |
2022-10-18 15:45:37 upgrade libksba8 amd64 1.3.5-2 1.3.5-2+deb10u1 | |
2022-10-18 15:45:35 upgrade icu-doc all 67.1-2~mx19+1 |
This file contains 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.0.0.0 | |
105.0.0.0 | |
106.0.0.0 | |
138.204.25.127 | |
138.204.25.153 | |
138.204.25.158 | |
138.204.25.173 | |
138.204.27.241 | |
138.204.27.254 | |
148.153.85.4 |
This file contains 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
+55 7186332013 | |
+55 6484570385 | |
+55 988585432 | |
+55 992323297 | |
+55 54 96027557 | |
+55 79 99839621 | |
+55 99916842 | |
+55 21 991121758 | |
+55 28 999759629 | |
+55 31 998086999 |
NewerOlder