#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
To be ran with:
claude-3-opus-20240229
0.0
Context: https://twitter.com/VictorTaelin/status/1776677635491344744
#include <iostream> | |
#include <fstream> | |
#include <cstdlib> // For rand() and srand() | |
#include <ctime> // For time() | |
#include <string> | |
#include <vector> | |
const int MAX_WIDTH = 50; | |
const int MAX_HEIGHT = 40; | |
const int MAX_FIRE_DISTANCE = 10; |
import { useEffect, useRef, useState } from 'react'; | |
import { useFrame, useThree } from '@react-three/fiber'; | |
import { MapControls, OrthographicCamera, PerspectiveCamera } from '@react-three/drei'; | |
import type { OrbitControls as OrbitControlsImpl } from 'three-stdlib'; | |
export function Camera() { | |
const [oldType, setOldType] = useState('PerspectiveCamera'); | |
const [coords, setCoords] = useState({ x: 0, y: 0 }); | |
const gl = useThree((state) => state.gl); |
# | |
# Montador ridiculamente simples para Assembly de Sagui Vetorial. | |
# Escreve arquivos no formato hex do Logisim Evolution. | |
# (Informações sobre a licença abaixo) | |
# (Licensing information below) | |
# | |
# DÚVIDAS: | |
# | |
# - Como eu uso essa desgraça? | |
# |
#!/usr/bin/env python | |
import math | |
import matplotlib.pyplot as plt | |
import torch | |
import torch.nn as nn | |
from sklearn.datasets import make_moons | |
from torch import Tensor | |
from tqdm import tqdm |
import { useEffect, useRef } from 'react' | |
// playground: https://stackblitz.com/edit/react-ts-nv5fxe?file=App.tsx | |
export default function App() { | |
// create a ref and declare an instance for each countUp animation | |
const countupRef = useRef(null); | |
let countUpAnim; | |