Skip to content

Instantly share code, notes, and snippets.

View rdlmda's full-sized avatar

Rudá Almeida rdlmda

  • Federal University of Rio de Janeiro
  • Rio de Janeiro, Brazil
  • 05:19 (UTC -03:00)
View GitHub Profile
@matti
matti / add.sh
Created July 29, 2017 11:12
alpine docker add package from edge testing
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
x11vnc
@hi-hi-ray
hi-hi-ray / dojo-rio-formato.md
Last active December 11, 2022 01:17
Explicar o formato o Dojo Rio

Formato do dojo é muito simples, vamos explicar...

São utilizados 3 conceitos no dojo:

  1. Pair Programming: duas pessoas agindo em conjunto para programar. No caso do dojo, usamos um modelo no qual um é responsável por editar o código (piloto) e o outro ajuda dando palpites apenas (copiloto).
  2. TDD (Test Driven Development): como o nome diz, desenvolvimento orientado por testes. Isso significa que primeiro fazemos o teste automatizado com a expectativa de como a funcionalidade deve funcionar. Como a funcionalidade não está implementada, o teste falha (Red 🔴). Depois implementamos a funcionalidade, e rodamos o teste novamente. Se a funcionalidade foi implementada corretamente, os testes passam (Green ✅). Então podemos refatorar o código existente (Refactor 🛠) ou fazer um novo teste para continuar incrementando a funcionalidade até resolver o problema.
  3. Baby steps: ao implementar a funcionalidade, só implementamos o mínimo necessário para que os testes existentes passem. É como "dividir para
@Siva-Charan
Siva-Charan / Docker-find-dependent-child-image.md
Last active October 9, 2022 11:18
Docker: How to find the dependent child images?

Find the dependent child images on Docker

When you try to remove the docker image with the following command

docker rmi 6795374be8c1

Sometimes you might be facing below error:

Error response from daemon: conflict: unable to delete 6795374be8c1 (cannot be forced) - image has dependent child images

Below is the Docker command line used to find the dependent child images

@cs8425
cs8425 / README.md
Last active September 18, 2025 20:18
How to REAL install Remix OS on VirtualBox

How to REAL install Remix OS on VirtualBox

This is how to REAL install Remix OS on VirtualBox. rootfs could be writable!!!

Needs:

  • any linux liveCD iso file (Xubuntu here)
  • Remix OS iso file ("Remix_OS_for_PC_Android_M_32bit_B2016092201.iso" here)
  • VirtualBox
1375421247 | So, you want to work in security? – Free Code Camp | https://medium.freecodecamp.com/so-you-want-to-work-in-security-bc6c10157d23?gi=3319f2f9d171
1392467994 | HackedThat: Breaking in to a hardened server via the back door | http://polynome.co/infosec/inversoft/elasticsearch/linode/penetration-testing/2016/08/16/hack-that-inversoft.html
1394166342 | So you want to work in security (but are too lazy to read Parisa's excellent essay) | https://lcamtuf.blogspot.ch/2016/08/so-you-want-to-work-in-security-but-are.html?m=1
1386106165 | Reverse Engineering x86 101 | http://howto.hackallthethings.com/2016/08/reverse-engineering-x86-101.html
1387765922 | | http://darksim905.com/~sim/reverse-engineering-notes.txt
1390056017 | | https://theitgeekchronicles.files.wordpress.com/2012/05/scapyguide1.pdf
112767402 | Security News | http://www.morningstarsecurity.com/news
1390252630 | "A small summary about the @SpamAndHex @defcon CTF adventure. Man vs. machine in security. https | https://twitter.com/defcon/sta
@danielbachhuber
danielbachhuber / correct-cookie-domain.php
Last active August 31, 2020 16:45
Correct the cookie domain when a custom domain is mapped to the site.
@subfuzion
subfuzion / curl.md
Last active November 6, 2025 06: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.

@mattclements
mattclements / function.php
Last active September 30, 2025 07:50
Wordpress Disable Comments (add to function.php)
<?php
add_action('admin_init', function () {
// Redirect any user trying to access comments page
global $pagenow;
if ($pagenow === 'edit-comments.php') {
wp_redirect(admin_url());
exit;
}
@sevein
sevein / README.md
Last active October 9, 2022 00:24
mbox extractor

mboxext

mboxext is a Mbox mailbox message extractor.

Example

$ python mboxext.py -v /home/vagrant/Sent.mbox /home/vagrant/output/

2015-10-01 17:54:46,060 [mboxext] INFO - Target directory already exists and it's not empty

2015-10-01 17:54:46,061 [mboxext] INFO - Opening Mbox mailbox: /home/vagrant/Sent.mbox