title | subtitle | author | date | source |
---|---|---|---|---|
Docker Compose Cheatsheet |
Quick reference for Docker Compose commands and config files |
Jon LaBelle |
April 7, 2019 |
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create first wallet | |
$ wallet-tool --wallet=first --net=REGTEST create --seed="7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f" | |
# Create second wallet | |
$ wallet-tool --wallet=second --net=REGTEST create --seed="7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f00" | |
# Get xpub of the second wallet | |
$ wallet-tool --wallet=second --net=REGTEST dump | |
...omitted... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ao digitar os códigos, digite os caracteres sem usar espaço. | |
* # * # 4636 # * # * – Informações sobre o smartphone (permite que você altere o número do centro de serviço SMS e muito mais). | |
* 2767 * 3855 # – Hard Reset (USE COM CUIDADO, pois apaga todos os dados e restaura o firmware). | |
* # * # 34971539 # * # * Mostra informações completas sobre a câmera. | |
* # * # 7594 # * # * Mudando o comportamento do botão de energia. | |
* # * # 273283 * 255 * 663282 * # * # * Para um backup rápido de todos os seus arquivos de mídia. | |
* # * # 197328640 # * # * Ativar modo de teste para a atividade de serviço | |
* # * # 232339 # * # * OU * # * # 526 # * # * OU * # * # 528 # * # * Testes Wireless Lan | |
* # * # 232338 # * # * Apresenta Wi-Fi Mac-address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Expand ALL layer groups/sets | |
openAllLayerSets(app.activeDocument); | |
function openAllLayerSets(parent) { | |
// https://forums.adobe.com/message/5764024#5764024 | |
for (var setIndex = 0; setIndex < parent.layerSets.length; setIndex++) { | |
app.activeDocument.activeLayer = parent.layerSets[setIndex].layers[0]; | |
openAllLayerSets(parent.layerSets[setIndex]); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG UBUNTU_VERSION=20.04 | |
ARG CUDA_VERSION=11.3.1 | |
ARG CUDA=11.3 | |
ARG CUDNN_VERSION=8 | |
FROM nvidia/cuda:${CUDA_VERSION}-cudnn${CUDNN_VERSION}-devel-ubuntu${UBUNTU_VERSION} | |
LABEL maintainer "http://gzupark.dev" | |
ARG CUDA_VERSION | |
ARG CUDA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001 | |
From: Christian Hesse <mail@eworm.de> | |
Date: Tue, 10 Apr 2018 16:21:46 +0200 | |
Subject: [PATCH 1/1] fix option string | |
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c. | |
Signed-off-by: Christian Hesse <mail@eworm.de> | |
--- | |
htop.c | 2 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -z $DISPLAY ]; then | |
if [ $(notify-send -u normal -a hdrprobe -t 3000 -v | sed -e 's| |\n|g' | head -1 | grep -c 'notify-send') -gt 0 ]; then | |
NOTIFY="1" | |
else | |
NOTIFY="0" | |
fi | |
else | |
NOTIFY="0" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5.1) | |
project(matrix_demo) | |
find_package(catkin REQUIRED | |
rospy | |
roscpp | |
std_msgs | |
) | |
include_directories( |
source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
- Ctrl + a – go to the start of the command line
- Ctrl + e – go to the end of the command line
- Ctrl + k – delete from cursor to the end of the command line
- Ctrl + u – delete from cursor to the start of the command line
- Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
- Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
NewerOlder