Skip to content

Instantly share code, notes, and snippets.

View leeopop's full-sized avatar

Keunhong Lee leeopop

  • KAIST
  • Daejoen, Korea
View GitHub Profile
@adelmofilho
adelmofilho / docker-compose.jenkins-dind.yml
Created June 21, 2020 00:17
Docker-in-Docker approach to run Jenkins as a Docker container
# This docker-compose file intent to create a multi-container application
# that runs a Jenkins container connected via TLS to a Docker-in-Docker (dind) container as Docker daemon.
#
# Advice about this approach can be found at:
# http://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
#
# As well discussion about another alternatives on this setup can be found at:
# https://forums.docker.com/t/using-docker-in-a-dockerized-jenkins-container/322/11
#
# Quick reference about Docker-in-Docker can be fount at:
@Pulimet
Pulimet / AdbCommands
Last active July 4, 2024 02:27
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
#![feature(if_let)]
use nomove::{freeze, freeze_box, FreezeSlice, NoMoveGuard};
use std::cell::Cell;
mod nomove {
pub struct NoMoveGuard<T> {
pub data: T,
no_copy: ::std::kinds::marker::NoCopy,
}