This is a vimscript for creating gists (http://gist.github.com).
For the latest version please see https://github.com/mattn/gist-vim.
- Post current buffer to gist, using default privacy option.
This is a vimscript for creating gists (http://gist.github.com).
For the latest version please see https://github.com/mattn/gist-vim.
| EDITOR="VIM" | |
| mongo_hacker_config = { | |
| verbose_shell: true, // additional verbosity | |
| index_paranoia: false, // querytime explain | |
| enhance_api: true, // additonal api extensions | |
| indent: 2, // number of spaces for indent | |
| sort_keys: false, // sort the keys in documents when displayed | |
| uuid_type: 'default', // 'java', 'c#', 'python' or 'default' | |
| banner_message: 'Mongo-Hacker ', // banner message |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Title</title> | |
| <meta charset="utf-8"> | |
| <style> | |
| @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); | |
| @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); | |
| @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); |
| #pagelet_bookmark_nav, /* Left column: Bookmarks */ | |
| a[href*="lists"], /* Left column: Lists like 'Close Friends' */ | |
| div[id*="ticker"], /* Right column / Chat sidebar: news ticker */ | |
| div[id*="pagelet_reminders"], /* Fødselsdagstingen */ | |
| div[id*="appsNav"], /* Gamesnav */ | |
| div[id*="pagelet_trending_tags_and_topics"] /* Right column: Trending tags and topics */ | |
| { | |
| display: none !important; | |
| } |
| (function () { | |
| 'use strict'; | |
| var init = function () { | |
| // For at skjule tokens til twitter og facebook fra Github | |
| return require('./config.json'); | |
| }; | |
| module.exports = init(); | |
| }()); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Kort</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta charset="utf-8"> | |
| <style> | |
| html, body { | |
| height: 100%; | |
| margin: 0; |
| { | |
| "_id": ObjectId("57f6bca8db17a743faf9e248"), | |
| "username": "Mike Jakobsen", | |
| "picture": "https://scontent.xx.fbcdn.net/v/t1.0-1/c13.0.50.50/p50x50/312809_2005127862915_182821112_n.jpg?oh=9571576a98c9983a914fed90faf837f1&oe=58AA3242", | |
| "socialId": "10205546897186862", | |
| "password": null, | |
| "__v": 0 | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta charset="utf-8"> | |
| <title>Info window with <code>maxWidth</code></title> | |
| <style> | |
| html, body { | |
| height: 100%; | |
| margin: 0; |
| describe('test suite', function () { | |
| beforeEach(function() { /*...*/ }); | |
| afterEach(function() { /*...*/ }); | |
| before(function() { /*...*/ }); | |
| after(function() { /*...*/ }); | |
| it('a basic test', function() { | |
| /*...*/ }); |
| #!/bin/bash | |
| #Do we have git? | |
| if test ! $(which git); then | |
| echo "Must have git installed for this to work!" | |
| exit 0 | |
| fi | |
| #Download the repo and cd to fonts folder | |
| git clone https://github.com/google/fonts fonts |