Skip to content

Instantly share code, notes, and snippets.

View eljefedelrodeodeljefe's full-sized avatar
💭
👍

Robert Jefe Lindstädt eljefedelrodeodeljefe

💭
👍
View GitHub Profile
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / left.png
Created March 4, 2020 11:16 — forked from morkro/left.png
Welcome to my GitHub dot com profile page!
left.png
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / harden.sh
Created September 19, 2016 22:03 — forked from kost/harden.sh
hardening script for an alpine docker container
#!/bin/sh
set -x
set -e
#
# Docker build calls this script to harden the image during build.
#
# NOTE: To build on CircleCI, you must take care to keep the `find`
# command out of the /proc filesystem to avoid errors like:
#
# find: /proc/tty/driver: Permission denied
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / start_docker_registry.bash
Created August 20, 2016 21:41 — forked from PieterScheffers/start_docker_registry.bash
Start docker registry with letsencrypt certificates (Linux Ubuntu)
#!/usr/bin/env bash
# install docker
# https://docs.docker.com/engine/installation/linux/ubuntulinux/
# install docker-compose
# https://docs.docker.com/compose/install/
# install letsencrypt
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / steps-lldb-jit-on-osx.md
Created March 6, 2016 14:28 — forked from thlorenz/steps-lldb-jit-on-osx.md
lldb JIT on OSX (showing no useful info at this point)

Installation

Ninja

  • needed for faster Node.js builds
brew install ninja
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / v8.md
Created March 6, 2016 00:02 — forked from kevincennis/v8.md
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)

Build V8

What are we trying to observe? Raw object data.

// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
 
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];