Skip to content

Instantly share code, notes, and snippets.

View juanarbol's full-sized avatar
🐢
🐢🐇

Juan José juanarbol

🐢
🐢🐇
View GitHub Profile
@juanarbol
juanarbol / loop.diff
Created February 8, 2024 01:37
V8 loop syntax diff
diff --git a/src/parsing/keywords.txt b/src/parsing/keywords.txt
index 5ed039459e2..9872a7bad09 100644
--- a/src/parsing/keywords.txt
+++ b/src/parsing/keywords.txt
@@ -43,6 +43,7 @@ in, Token::IN
instanceof, Token::INSTANCEOF
interface, Token::FUTURE_STRICT_RESERVED_WORD
let, Token::LET
+loop, Token::LOOP
new, Token::NEW
@juanarbol
juanarbol / index.md
Created May 17, 2019 23:40 — forked from ericandrewlewis/index.md
C++ Pointer Tutorial

C++ Pointer Tutorial

Because pointers can be ugh

"Regular" variables (not pointers)

To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".

When declaring a variable by identifier (or name), the variable is synonymous with its value.

@juanarbol
juanarbol / # gcc - 2018-09-08_03-06-27.txt
Created September 17, 2018 06:21
gcc on macOS 10.13.1 - Homebrew build logs
Homebrew build logs for gcc on macOS 10.13.1
Build date: 2018-09-08 03:06:27
@juanarbol
juanarbol / introrx.md
Created July 4, 2018 23:39 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@juanarbol
juanarbol / AirplanesController.rb
Created December 15, 2017 10:56
CRUD rails controller
class AirplanesController < ApplicationController
before_action :set_airplane, only: [:show, :edit, :update, :destroy]
# GET /airplanes
# GET /airplanes.json
def index
@airplanes = Airplane.all
end
# GET /airplanes/1
@juanarbol
juanarbol / chmodCheatSheet.md
Last active April 10, 2024 19:17
Chmod cheat sheet

Chmod codes cheat sheet

How to use chmod codes in UNIX:

  1. There are three types of permissions in files and folders in unix
    1. Read (r)
    2. Write (w)
    3. Execute (x)
  2. And, there is a classification of users called UGO (explained bellow):
  3. U ~> User (usually, you)