Skip to content

Instantly share code, notes, and snippets.

View metehus's full-sized avatar
Trying to do something

Matheus Dias metehus

Trying to do something
View GitHub Profile
Testing started at 11:29 ...
HTTP/1.1 200 OK
Date: Tue, 30 Jun 2020 14:29:57 GMT
Content-Type: image/svg+xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d7cc6d93257e62a747f0eef13ab78d1b71593527391; expires=Thu, 30-Jul-20 14:29:51 GMT; path=/; domain=.switchblade.xyz; HttpOnly; SameSite=Lax; Secure
X-Powered-By: Express
ETag: W/"96f6-mexKwpnZ9YZz4OK5ogp5hcXXB/g"
@metehus
metehus / charts.json
Last active November 26, 2020 03:25
Musicorum app / Framer content example
{
"recent_tracks_week": [
{
"name": "Sin Miedo (del Amor y Otros Demonios) ∞",
"image_small": "https://lastfm.freetls.fastly.net/i/u/34s/a2aa0354e06545fb4736694ee8639b89.jpg",
"image_medium": "https://lastfm.freetls.fastly.net/i/u/64s/a2aa0354e06545fb4736694ee8639b89.jpg",
"image_large": "https://lastfm.freetls.fastly.net/i/u/174s/a2aa0354e06545fb4736694ee8639b89.jpg",
"image_extralarge": "https://lastfm.freetls.fastly.net/i/u/300x300/a2aa0354e06545fb4736694ee8639b89.jpg",
"artist": "Kali Uchis"
},
// import { Plugin, PrestionProject, Slide } from ".";
class PrestionProject {
public config: PrestionProjectConfig
public slides: Slide<this>[]
constructor(config: PrestionProjectConfigOptionals = {}) {
this.config = config as PrestionProjectConfig
this.slides = this.config.slides.map(Slide => new Slide(this))
@metehus
metehus / theme.css
Created February 19, 2022 18:48
JSONVue extension theme
body {
white-space: pre-wrap;
word-break: break-word;
font-family: 'Jetbrains Mono', monospace;
}
.property {
font-weight: bold;
}
@metehus
metehus / Scheme.md
Created July 1, 2022 04:46
Netlify theme color scheme for windows terminal
@metehus
metehus / elevador.lua
Created July 2, 2022 01:53
Elevador no computercraft
local GuiH = require('GuiH')
local hatch = colors.red
local parada = colors.pink
local andar = 0
local andarSolicitado = 0
local ignorePulse = false
local function loop()
while true do
@metehus
metehus / docker_compose.yml
Created July 7, 2022 04:15
Docker compose of content managet
version: '3.3'
services:
database:
image: postgres:13
environment:
POSTGRES_PASSWORD: password
volumes:
- resources_database:/var/lib/postgresql/data
networks:
- default
@metehus
metehus / ex_py_exceptions.py
Last active August 19, 2024 23:55
Exercicio python exceptions
def calc(a, b, operation):
if operation == "+":
return a + b
elif operation == '-':
return a - b
elif operation == '*':
return a * b
elif operation == '/':
# TODO: Jogar erro se for dividir por 0
return a / b
@metehus
metehus / round_capped_arc.slint
Last active September 3, 2024 20:17
Capped rounded arc
import { AboutSlint, Button, VerticalBox, Palette, Slider } from "std-widgets.slint";
export component CircularPath inherits Path {
in property <float> thickness;
in property <float> inner-radius;
in property <float> progress;
in property <float> start : 0;
private property <float> progressClamped: clamp(progress, 0, 0.9999);
text target
So there is no way for me to plug it in here in the US unless I go by a converter. 0
Good case, Excellent value. 1
Great for the jawbone. 1
Tied to charger for conversations lasting more than 45 minutes.MAJOR PROBLEMS!! 0
The mic is great. 1
I have to jiggle the plug to get it to line up right to get decent volume. 0
If you have several dozen or several hundred contacts, then imagine the fun of sending each of them one by one. 0
If you are Razr owner...you must have this! 1
Needless to say, I wasted my money. 0