Skip to content

Instantly share code, notes, and snippets.

View megarubber's full-sized avatar

Guilherme Samuel dos Santos megarubber

View GitHub Profile
<style>
body { margin: 0; }
.vimeo-container {
padding: 0;
width: 100%;
height: 100vh;
overflow: hidden;
position: relative;
}
iframe {
@syntaxhacker
syntaxhacker / Flutterinstallwithoutandroidstudio.md
Last active April 25, 2025 21:17
setup flutter without android studio

Flutter install without android studio

set flutter

Download flutter

tar xvf flutter_linux_1.17.5-stable.tar.xz

@bradtraversy
bradtraversy / eslint_prettier_airbnb.md
Created July 19, 2019 17:54
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
@royalPanic
royalPanic / ARD_RIO.md
Last active November 7, 2022 09:32
A Brief Introduction of How to Interface Arduino Controllers and the RoboRIO.

Arduino to RoboRIO I2C Communication for Pixy Camera

Edited by royal_Panic, forked from this blog post by Ethan Hansen.

If you're here you've probably looked up something like, "i2c Arduino to RoboRIO," on Google, then become frustrated with the lack of helpful responses. This is a step by step guide on how to wire together your Arduino and RoboRIO, then how to program it. This will not be an explanation of how the technology works. There are plenty of those out there. That being said, it is my opinion that if you copy someone else you should at least understand what is going on, so there will be broad, general explanations of why things are wired or programmed the way they are. I hope this saves you some tears.

Necessary Equipment

  • 1 Computer with the Arduino IDE.
  • 1 Male to Female PWM (also called 3-wire) cable.
  • 1 Arduino UNO (That's the one I'm using. I'm sure others will work, but this is the easies
@Try-Parser
Try-Parser / AndroidEmulator.md
Last active August 26, 2025 19:08
Running emulator without Android Studio in Windows With Flutter

Android Emulator Setup without Android Studio in Windows with Flutter

First Download the Android SDK Commandline Tool only.

https://developer.android.com/studio/

Goto Download Options

Find Commandline tools only Section

@mrk-han
mrk-han / emulator-install-using-avdmanager.md
Last active August 29, 2025 02:51
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"

@clucle
clucle / save.js
Last active January 10, 2025 10:02
pure js save text and json object to file
function saveTextToFile() {
const saveText = "tmp";
// file setting
const text = saveText;
const name = "sample.json";
const type = "text/plain";
// create file
const a = document.createElement("a");
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active September 16, 2025 23:37
Conventional Commits Cheatsheet
@armicron
armicron / hello_world_into_file.asm
Created October 10, 2016 12:35
NASM x86_64 open file and write 'Hello world'
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry point
mov rdi, filename
mov rsi, 0102o ;O_CREAT, man open
mov rdx, 0666o ;umode_t
mov rax, 2
syscall
@subfuzion
subfuzion / curl.md
Last active September 1, 2025 16:24
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.