This Gist contains code we used at Causal to import our old Markdown documentation content into Sanity. See more on our blog!
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
rumpctrl (tcp://192.168.2.106:12345)$ sysctl -r kern.msgbuf | |
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | |
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 | |
The NetBSD Foundation, Inc. All rights reserved. | |
Copyright (c) 1982, 1986, 1989, 1991, 1993 | |
The Regents of the University of California. All rights reserved. | |
NetBSD 7.99.17 (RUMP-ROAST) | |
total memory = 1004 MB | |
timecounter: Timecounters tick every 10.000 msec |
Warning This is SEVERELY outdated, the current jupyter version is > 6.X, please refer to your current jupyter notebook installation!
Disclaimer : I just copied those shortcuts from Jupyter Menú
> Help
> Keyboard Shortcuts
, I didn't wrote them myself.
Check your current shortcuts in your Help, shortcuts coule have been modified by extensions or your past self.
Or what the hell do #![no_start]
, #![no_main]
, #[lang = "start"]
, #[start]
, and #[main]
do?
Disable automatically linking in the native crate and thus the default start lang item.
Which means you'll probably need one of: #![no_main]
, #![lang = “start”]
or #[start]
instead
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
It is possible to compile Go programs for a different OS, even though go build
says otherwise.
You'll need:
- a valid toolchain for the platform/os you're targetting
- Go Tip (works on 1.1 and 1.2rc1 but you might as well be on tip)
golang-crosscompile
helper script https://github.com/davecheney/golang-crosscompile- the patch provided
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
#!/usr/bin/env ruby | |
require 'redcarpet' | |
class MoinMoin < Redcarpet::Render::Base | |
def header(text, level) | |
prefix = "=" * level | |
"\n\n#{prefix} #{text} #{prefix}\n" |