Skip to content

Instantly share code, notes, and snippets.

JoeBew42 joebew42

Block or report user

Report or block joebew42

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View learning-javascript.md

Before to start

In JavaScript there is NO concept of Class.

Everything is an Object.

Inheritance between objects is achieved with a mechanism known as Prototypal Inheritance.

We can create Objects and then link them together OLOO (Objects-Linked-to-Other-Objects).

View ffmpeg.md

How I edit my own video 🎥

Speed up the video and the audio of 10%, because I am bit slow:

ffmpeg -i 2019-02-17_19-01-22.flv -c:v libx264 -crf 20 -filter_complex "[0:v]setpts=0.9*PTS[v];[0:a]atempo=1.1111111111111112[a]" -map "[v]" -map "[a]" output.mp4

See How to speed up / slow down a video for more detailed information.

View vscode-elixir-tests.md
View rust-notes.md

Some info about Rust

RUST came out from Firefox to solve problem related to: performance and security.

Why Rust is "faster" compared to C++, C or other compiled language?

  • Similar to these languages
  • Strong Type System
  • Rust compiler uses LLVM suite: Rust compiles to LLVM bytecode and then to assembly language
  • You can write less code compared to other programming language
View notes-purple-cow.md

Notes from Purple Cow

Purple Cow: Transform Your Business by Being Remarkable

  • create remarkable products that people seek out.
  • no one is going to eagerly adapt to your product.
  • ideas that spread are more likely to succeed than those that don't.
  • services that are worth talking about get talked about.
  • it is useless to advertise to anyone (except interested sneezers with influence).
  • is not marketing done to a product. The marketing is the product, and vice versa.
View coding.md

Takeaways from TDD and Software Design

video

  • TDD by its own CANNOT leads to good design, obviously
  • TDD as a mechanism to help us to learn more about good design
  • Software is "Soft" just because it can be changed, it is not meant to be settled in the stone
  • Test-first programming can help the team to reduce defects but it will not lead to good design

Code qualities

@joebew42
joebew42 / arch-linux
Last active Sep 24, 2017 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
View arch-linux
# Installation on Dell XPS
# Please also consult official docu:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Disable the secure boot
# F2 to enter to UEFI setup, check `disable secure boot` under the `secure boot` section
# Save settings and exit
View about_electron.md

Setup:

apt-get update; apt-get install nodejs net-tools

Configuration:

export DISPLAY=:99
@joebew42
joebew42 / service-checklist.md
Created Dec 22, 2016 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist
View service-checklist.md

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
You can’t perform that action at this time.