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>Summary Goes Here</summary>
Launch_Alpine_Linux_3.3.x_on_AWS.md
Create a local VM of Alpine Linux, eg: https://gist.github.com/kennwhite/959d47a77070d365ad60
On your workstation open a terminal and create a new ssh keypair:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
alpine-test
# Thanks to this post: | |
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x | |
$ brew install cabextract | |
$ cd ~/Downloads | |
$ mkdir consolas | |
$ cd consolas | |
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
$ cabextract PowerPointViewer.exe | |
$ cabextract ppviewer.cab |
// NOT WORKING AS AT 14-JAN-14 DUE TO API CHANGES | |
// | |
// written for the Go London User Group meeting of 21st November 2013 by Elliott Stoneham | |
// uses code.google.com/p/go.tools/ssa/interp which warns “It is not, and will never be, a production-quality Go interpreter.” | |
// main() code adapted from the example given in code.google.com/p/go.tools/ssa | |
// requires go version 1.2 | |
// | |
package main | |
import ( |
diff -r 8c8cdda36022 src/popupmnu.c | |
--- a/src/popupmnu.c Wed Aug 14 14:18:41 2013 +0200 | |
+++ b/src/popupmnu.c Thu Aug 15 22:06:10 2013 +0900 | |
@@ -639,7 +639,7 @@ | |
{ | |
/* Return cursor to where we were */ | |
validate_cursor(); | |
- redraw_later(SOME_VALID); | |
+ redraw_win_later(curwin, REDRAW_TOP); | |
diff --git a/src/edit.c b/src/edit.c | |
index abe26fb..b1536fc 100644 | |
--- a/src/edit.c | |
+++ b/src/edit.c | |
@@ -2826,7 +2826,6 @@ ins_compl_upd_pum(void) | |
if (compl_match_array != NULL) | |
{ | |
h = curwin->w_cline_height; | |
- update_screen(0); | |
if (h != curwin->w_cline_height) |
#ifndef __FINK_ENDIANDEV_PKG_ENDIAN_H__ | |
#define __FINK_ENDIANDEV_PKG_ENDIAN_H__ 1 | |
/** compatibility header for endian.h | |
* This is a simple compatibility shim to convert | |
* BSD/Linux endian macros to the Mac OS X equivalents. | |
* It is public domain. | |
* */ | |
#ifndef __APPLE__ |
ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compilations and detecting when the same compilation is being done again. This often results in a significant speedup in common compilations, especially when switching between branches. This page is about using ccache on Mac with clang and ninja build system. If you want to use Xcode, please refer to the old CCacheMac page.
In order to use ccache with clang, you need to use the current git HEAD, since the most recent version (3.1.9) doesn't contain the patch needed for using chromium style plugin.
To install ccache with [homebrew](http://mxcl.
facepunch
_base_
in the download URL to _test_
as the base image does not have developer tools enabledfunction vid2Gif { | |
if [[ $# != 3 ]]; then | |
print "too many or too less arguments" | |
return | |
fi | |
ffmpeg -y -i $1.mov -vf fps=10,scale=${2}:${3}:flags=lanczos,palettegen palette_$1.png | |
ffmpeg -i $1.mov -i palette_$1.png -filter_complex "fps=10,scale=${2}:${3}:flags=lanczos[x];[x][1:v]paletteuse" -f gif - | gifsicle --optimize=3 > $1.gif | |
} |