Hipótese: sessão contínua com skills carregadas no momento de uso substitui 9 nós de planejamento fragmentado e 7 nós de review fragmentado. 29 nós (v1) → 12 nós (v2).
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
| const clean_pcp = (value) => { | |
| new_value = value.replace('%', '').replace(',','.').replace('+',''); | |
| return parseFloat(new_value); | |
| } | |
| const circle_icon_green = $('<span class="text-success"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-circle-fill" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="8"/></svg></span>'); | |
| const circle_icon_red = $('<span class="text-danger"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-circle-fill" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="8"/></svg></span>'); | |
| $('.pid-8839-pcp').on('DOMSubtreeModified', function(){ | |
| const $this = $(this); |
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
| .row{ margin: 10px; } | |
| .col{ padding: 5px; } | |
| .card{ | |
| border-radius: 4px; | |
| background: #fff; | |
| box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05); | |
| transition: 0.1s transform cubic-bezier(0.155, 1.105, 0.295, 1.12), 0.1s box-shadow, 0.1s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12); | |
| padding: 10px 80px 10px 10px; | |
| cursor: pointer; |
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
| def almost_equal(self, checked, correct, significant_digits=1): | |
| """ | |
| Função Quase Igual | |
| """ | |
| precision = 0.1 ** significant_digits | |
| return abs(checked - correct) < precision | |
| class PolygonAlmostEqualTestCase(TestCase): | |
| """ | |
| Testa a função "quase igual" |
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
| def point_in_polygon(point, polygon): | |
| inside=False | |
| j=len(polygon)-1 | |
| for i in range(len(polygon)): | |
| if ((polygon[i][1]>point[1])!=(polygon[j][1]>point[1]) and (point[0]<(polygon[j][0]-polygon[i][0])*(point[1]-polygon[i][1])/( polygon[j][1] - polygon[i][1] ) + polygon[i][0])): | |
| inside =not inside | |
| j=i | |
| return inside |
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
| class VideoSpeed { | |
| constructor(){ | |
| this.video = document.getElementsByTagName("video").video | |
| } | |
| speed = () => { | |
| return this.video.playbackRate | |
| } |
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 | |
| for FILE in $(ls *.bin); do | |
| LINHA=$(cat urls_to_download.txt | grep $FILE) | |
| NEW_NAME=$(echo "$LINHA" | cut -d ";" -f 2) | |
| mv -v $FILE $NEW_NAME | |
| done |
NewerOlder