Skip to content

Instantly share code, notes, and snippets.

View fmoliveira's full-sized avatar

Filipe Oliveira fmoliveira

  • Level Access
  • Toronto
  • 10:34 (UTC -05:00)
View GitHub Profile
@dhh
dhh / linux-setup.sh
Last active November 15, 2024 19:55
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active November 18, 2024 08:57
Some notes, tools, and techniques for reverse engineering macOS binaries
@ChristopherBiscardi
ChristopherBiscardi / .yabairc
Created September 11, 2022 21:08
What VSCode theme is that? youtube video
# the scripting-addition must be loaded manually if
# you are running yabai on macOS Big Sur. Uncomment
# the following line to have the injection performed
# when the config is executed during startup.
#
# for this to work you must configure sudo such that
# it will be able to run the command without password
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
@GentlemanRevvnar
GentlemanRevvnar / 1.18.2-custom_structures_with_jigsaws.md
Last active October 20, 2024 20:21
Simple guide for using jigsaws in custom structures in 1.18.2

Custom data pack structures with jigsaws in 1.18.2

(Last updated: 1.18.2)

This is technically a shameless rip/edit of misode's guide that shows the traditional use of newly implemented custom structure system. I myself want to tackle the jigsaw aspect a bit, hence i'm making my own guice based on his. I will show how to create a data pack that adds custom structures to the world that also utilize jigsaw blocks. So treat this as a basic jigsaw guide in world generation. There is also a data pack download of this first example.

Always leave the world and rejoin to apply the new changes! Because traditional /reload or /datapack disable & enable do not refresh changes in worldgen files!

EXAMPLE 1 - Creating a structure that uses jigsaws

Let's make a simple house with a basement and a road that will lead away from the h

@DerFrZocker
DerFrZocker / CustomDimension.java
Created February 5, 2022 12:34
A simple class to change the dimension type of a world. For Spigot and Minecraft version 1.18.1.
/*
* MIT License
*
* Copyright (c) 2022 Marvin (DerFrZocker)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@razor-x
razor-x / functions.yaml
Last active May 3, 2024 12:39
Sentry.io CloudFront Lambda@Edge tunnel
# TODO: Setup https://github.com/silvermine/serverless-plugin-cloudfront-lambda-edge
sentryOriginReq:
handler: handlers/handler.default
lambdaAtEdge:
distribution: AppDistribution
eventType: origin-request
includeBody: true
pathPattern: /_tunnel # TODO: Choose tunnel path.
@HimDek
HimDek / Kali Linux GUI on Termux Android.md
Last active November 18, 2024 03:40
This Guide will help you install Kali Linux in Android, that too with a GUI Desktop Environment within Android. It uses Termux to run Kali Linux in Android with XFCE4 Desktop Environment and a Tight VNC Server, which we connect to using a VNC Viewer app in Android.

How to install Kali Linux GUI Desktop in Android using Termux:

This Guide will help you install Kali Linux in Android, that too with a GUI Desktop Environment within Android. It uses Termux to run Kali Linux in Android with XFCE4 Desktop Environment and a Tight VNC Server, which we connect to using a VNC Viewer app in Android.

Just Follow these steps to install Kali Linux with XFCE4 Desktop GUI in Android using Termux:

  • Download and install Termux in Android. (Play Store release is no more updated, so is not recommended.)
  • Open Termux and run the following commands:
    apt update && apt install python python2 openssh -y
    
@ChuckJonas
ChuckJonas / readme.md
Last active July 30, 2024 13:12
Karabiner Elements for OSX keybindings in RDP

setup

  1. Install & run Karabiner-Elements
  2. Navigate to misc-> open config folder
  3. Copy the above rules.json file to the complex_modifications folder
  4. Navigate to Complex Modifications -> Enable Rules
  5. Enable all of the above rules
  6. Under devices enable your keyboard
@BomBardyGamer
BomBardyGamer / dimension_codec.snbt
Created June 10, 2021 10:07
The default dimension codec, as of 1.17, as SNBT
{
"minecraft:dimension_type": {
type: "minecraft:dimension_type",
value: [
{
name: "minecraft:overworld",
id: 0,
element: {
piglin_safe: 0b,
natural: 1b,

09.04.2021 — 8h

  • Setup blitz project
  • Add Github and Gmail auth
  • Send emails with link to reset password
  • Create an email template
  • Setup CI for tests and builds
  • Send confirmation email after creating an account with login and password
  • Handle account confirmation on the frontend
  • Update DB models to contain info about origin and confirmed account