Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details> tag!
<details>
Summary Goes Here| // for frank | |
| fn main() { | |
| let bar = [1,2,3]; | |
| let mut foo: [u8; 2] = [0, 0]; | |
| foo.clone_from_slice(&bar[0..2]); | |
| println!("{:?}", foo); | |
| println!("{:?}", bar); | |
| } |
| FROM ubuntu:16.04 | |
| RUN apt update | |
| RUN apt install build-essential curl -y | |
| RUN apt install file -y | |
| RUN apt install asciinema -y | |
| RUN apt install unzip -y | |
| RUN apt install emacs24-nox -y | |
| RUN apt install vim -y | |
| RUN apt install nano -y |
Tested working on:
| /* Created by Chris Figueroa - @Kinifi | |
| * Create a script called AutoSave.cs | |
| */ | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections; | |
| public class AutoSave : EditorWindow { |
| #!/usr/bin/env python | |
| """ | |
| Example Usage: | |
| $ ansible -i machine.py machinename -m ping | |
| """ | |
| import argparse | |
| import subprocess |
| #!/bin/bash | |
| set -e | |
| # Create this many swarm workers | |
| export N_WORKERS=1 | |
| # Coloring info | |
| export bold=$(tput bold) | |
| export normal=$(tput sgr0) |
git clone https://gist.github.com/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200
Initializing a vault:
vault init
| Screen resolutions | |
| ------------------ | |
| PICO-8 supports different undocumented videomodes that can be activated at runtime, | |
| using poke(0x5F2C, X) where X is one of the following mode numbers: | |
| 0: 128x128, 0 pages | |
| 1: 64x128, 1 page | |
| 2: 128x64, 1 page | |
| 3: 64x64, 3 pages |
| #! /bin/sh | |
| # $Id$ | |
| # This script should be run as a cron job on a regular interval. It will | |
| # perform several system checks such as available disk space, free physical | |
| # RAM check, and check logical drives' status/state. | |
| MEGACLI="/opt/sbin/MegaCli64" | |
| ARCCONF="/opt/sbin/arcconf" |