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
.bg { | |
background: url("https://media.discordapp.net/attachments/486338069331443716/1359323328656965703/Design_sem_nome_4.png?ex=67f71000&is=67f5be80&hm=b5be4c387068726ba96a0cddc7f777d771ceca49b49829a89416f40d874c841a&=&format=webp&quality=lossless&width=1172&height=659"); | |
} | |
.thing { | |
background: url("https://media.discordapp.net/attachments/486338069331443716/1359330063686041713/611dddac-3cfc-4d0f-bb3a-0eb385f1a429_removalai_preview.png?ex=67f71646&is=67f5c4c6&hm=b08f6d9ab399e58b05491c48acf4ede5b57a885ee05679da7b25097ce8e8a7a4&=&format=webp&quality=lossless") | |
repeat 0 0; | |
height: 1000px; | |
width: 1000px; | |
animation: slide 1000s linear infinite; |
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
[ | |
{ | |
address_components: [ | |
{ | |
long_name: "Atlanta", | |
short_name: "Atlanta", | |
types: [ | |
"locality", | |
"political", | |
], |
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
//https://www.chartjs.org/docs/latest/getting-started/ | |
ChartJS.register( | |
CategoryScale, | |
LinearScale, | |
PointElement, | |
LineElement, | |
Tooltip, | |
Filler, | |
Legend, | |
); |
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
# I'm using a wrapped mkNodeModules for pnpm support | |
# mkYarnModules and importNpmLock are avaible for yarn/npm in nixpkgs | |
# also using chaoky/gradle-dot-nix fork for the local-repos option | |
{ pkgs, utils, gradle-dot-nix }: | |
let | |
nodejs = pkgs.nodejs_21; | |
pnpm = pkgs.nodePackages.pnpm; | |
java = pkgs.jdk17; | |
androidPkgs = pkgs.androidenv.composeAndroidPackages { |
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
//from: https://github.com/GenezysDigitalAssets/clashofcars-node-service/blob/main/src/routes/get_player_data.ts | |
use actix_web::{ | |
get, | |
web::{Data, Json}, | |
App, HttpServer, Result, | |
}; | |
use serde::{Deserialize, Serialize}; | |
use solana_account_decoder::parse_token::UiTokenAmount; | |
use solana_client::nonblocking::rpc_client::RpcClient; | |
use solana_program::pubkey::Pubkey; |
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
[ | |
'Grande', | |
'Bom', | |
'Novo', | |
'Pequeno', | |
'Próprio', | |
'Velho', | |
'Cheio', | |
'Branco', | |
'Longo', |
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
given emptyStringToNull[A](using d: Decoder[A]): Decoder[Option[A]] = | |
Decoder.decodeOption.prepare(cursor => | |
cursor.withFocus(json => if json.toString == "\"\"" then Json.Null else 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 quicksilver::{ | |
geom::{Rectangle, Vector}, | |
graphics::{Color, Graphics}, | |
lifecycle::{run, EventStream, Settings, Window}, | |
Result, | |
}; | |
use iced::{button, Align, Button, Column, Element, Sandbox, Text}; | |
use iced::Settings as IcedS; | |
fn main() { |
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
e() { | |
#return a list of all frames on $DISPLAY | |
emacsclient -e "(frames-on-display-list \"$DISPLAY\")" &>/dev/null | |
if [ $? -eq 0 ]; then | |
emacsclient -n "$@" | |
else | |
emacsclient -nc "$@" | |
fi |
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
# Config that is very close to a i3 window manager's keybinding. | |
set -s escape-time 0 | |
setw -g aggressive-resize on | |
# First remove *all* keybindings | |
unbind-key -a | |
# List keys | |
bind-key ? list-keys |
NewerOlder