sweetie 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +30 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +16 -0
- data/Gemfile +3 -2
- data/README.md +224 -28
- data/Rakefile +3 -2
- data/lib/sweetie/bitbucket.rb +22 -197
- data/lib/sweetie/bitbucket_stati_helper.rb +247 -0
- data/lib/sweetie/conversion.rb +91 -62
- data/lib/sweetie/helper.rb +60 -51
- data/lib/sweetie/version.rb +2 -1
- data/lib/sweetie.rb +2 -2
- data/spec/fixtures/bitbucket/expected_repositories.txt +1 -0
- data/spec/fixtures/bitbucket/repositories.json +1 -0
- data/spec/fixtures/jekyll/_config.yml +4 -0
- data/spec/fixtures/jekyll/_config_repositories.yml +7 -0
- data/spec/fixtures/jekyll/_expected_config.yml +4 -0
- data/spec/{source → fixtures/jekyll}/site/404.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/about.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/archiv.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/atom.xml +0 -0
- data/spec/{source → fixtures/jekyll}/site/colophon.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/contact.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/follow.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/2_avatars.gif +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/favicon.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther.jpg +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther_thumbnail_normal.jpg +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther_thumbnail_small.jpg +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/closebox.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-fill.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-l.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-r.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow1.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow2.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow3.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow4.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow5.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow6.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow7.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow8.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-1.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-10.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-11.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-12.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-2.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-3.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-4.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-5.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-6.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-7.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-8.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-9.png +0 -0
- data/spec/{source → fixtures/jekyll}/site/images/rails3.jpg +0 -0
- data/spec/{source → fixtures/jekyll}/site/index.html +0 -0
- data/spec/{source → fixtures/jekyll}/site/robots.txt +0 -0
- data/spec/{source → fixtures/jekyll}/site/sitemap.xml +0 -0
- data/spec/{source → fixtures/jekyll}/site/why-i-use-jekyll-for-blogging.html +0 -0
- data/spec/fixtures/middleman/build/2012-01-meetup/index.html +238 -0
- data/spec/fixtures/middleman/build/2012-03-meetup/index.html +217 -0
- data/spec/fixtures/middleman/build/2012-05-meetup/index.html +214 -0
- data/spec/fixtures/middleman/build/2012-07-meetup/index.html +210 -0
- data/spec/fixtures/middleman/build/2012-08-workshop/index.html +228 -0
- data/spec/fixtures/middleman/build/2012-09-meetup/index.html +231 -0
- data/spec/fixtures/middleman/build/2012-10-workshop/index.html +227 -0
- data/spec/fixtures/middleman/build/2012-11-meetup/index.html +229 -0
- data/spec/fixtures/middleman/build/2012-unusual-december-meetup/index.html +186 -0
- data/spec/fixtures/middleman/build/2013-01-meetup/index.html +226 -0
- data/spec/fixtures/middleman/build/404/index.html +157 -0
- data/spec/fixtures/middleman/build/CNAME +1 -0
- data/spec/fixtures/middleman/build/april-2014-meetup/index.html +221 -0
- data/spec/fixtures/middleman/build/april-2015-meetup/index.html +204 -0
- data/spec/fixtures/middleman/build/april-2017-meetup/index.html +210 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-144x144.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-192x192.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-36x36.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-48x48.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-72x72.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/android-chrome-96x96.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-114x114.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-120x120.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-144x144.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-152x152.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-180x180.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-57x57.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-60x60.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-72x72.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-76x76.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-precomposed.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/browserconfig.xml +12 -0
- data/spec/fixtures/middleman/build/assets/favicons/favicon-16x16.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/favicon-32x32.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/favicon-96x96.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/favicon.ico +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/manifest.json +41 -0
- data/spec/fixtures/middleman/build/assets/favicons/mstile-144x144.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/mstile-150x150.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/mstile-310x150.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/mstile-310x310.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/mstile-70x70.png +0 -0
- data/spec/fixtures/middleman/build/assets/favicons/safari-pinned-tab.svg +450 -0
- data/spec/fixtures/middleman/build/assets/images/launch_co_logo.png +0 -0
- data/spec/fixtures/middleman/build/assets/images/vimfest.png +0 -0
- data/spec/fixtures/middleman/build/assets/javascripts/application.js +12 -0
- data/spec/fixtures/middleman/build/assets/javascripts/jquery.utils.js +12 -0
- data/spec/fixtures/middleman/build/assets/javascripts/lib/validate.js +1 -0
- data/spec/fixtures/middleman/build/assets/stylesheets/application.css +5 -0
- data/spec/fixtures/middleman/build/assets/stylesheets/vendor/bootstrap.css +5 -0
- data/spec/fixtures/middleman/build/august-2013-meetup/index.html +208 -0
- data/spec/fixtures/middleman/build/blog/index.html +500 -0
- data/spec/fixtures/middleman/build/book-club-about-the-viml-primer/index.html +182 -0
- data/spec/fixtures/middleman/build/contact/index.html +155 -0
- data/spec/fixtures/middleman/build/data/vimberlin-2013-09_ctags/index.html +98 -0
- data/spec/fixtures/middleman/build/data/vimberlin-2013-09_vimprofiling/index.html +157 -0
- data/spec/fixtures/middleman/build/data/vimberlin-2014-01_vim_writing/index.html +70 -0
- data/spec/fixtures/middleman/build/december-2015-meetup/index.html +199 -0
- data/spec/fixtures/middleman/build/december-2016-meetup/index.html +224 -0
- data/spec/fixtures/middleman/build/february-2013-vim-beer-lin/index.html +190 -0
- data/spec/fixtures/middleman/build/february-2015-meetup/index.html +233 -0
- data/spec/fixtures/middleman/build/february-2016-meetup/index.html +271 -0
- data/spec/fixtures/middleman/build/feed.xml +2106 -0
- data/spec/fixtures/middleman/build/fonts/FontAwesome.otf +0 -0
- data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.eot +0 -0
- data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.svg +655 -0
- data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.ttf +0 -0
- data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.woff +0 -0
- data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.woff2 +0 -0
- data/spec/fixtures/middleman/build/humans.txt +12 -0
- data/spec/fixtures/middleman/build/imprint/index.html +177 -0
- data/spec/fixtures/middleman/build/index.html +157 -0
- data/spec/fixtures/middleman/build/january-2014-meetup/index.html +257 -0
- data/spec/fixtures/middleman/build/january-2015-meetup/index.html +243 -0
- data/spec/fixtures/middleman/build/january-2016-meetup/index.html +202 -0
- data/spec/fixtures/middleman/build/january-2017-meetup/index.html +228 -0
- data/spec/fixtures/middleman/build/july-2015-meetup/index.html +207 -0
- data/spec/fixtures/middleman/build/june-2016-meetup/index.html +260 -0
- data/spec/fixtures/middleman/build/march-2-2017-meetup/index.html +201 -0
- data/spec/fixtures/middleman/build/march-2014-meetup/index.html +219 -0
- data/spec/fixtures/middleman/build/march-2016-meetup/index.html +221 -0
- data/spec/fixtures/middleman/build/march-2017-meetup/index.html +222 -0
- data/spec/fixtures/middleman/build/may-2013-meetup/index.html +234 -0
- data/spec/fixtures/middleman/build/may-2014-meetup/index.html +198 -0
- data/spec/fixtures/middleman/build/may-2015-meetup/index.html +202 -0
- data/spec/fixtures/middleman/build/may-2016-meetup/index.html +245 -0
- data/spec/fixtures/middleman/build/newsletter/index.html +171 -0
- data/spec/fixtures/middleman/build/november-2013-meetup/index.html +199 -0
- data/spec/fixtures/middleman/build/november-2015-meetup/index.html +402 -0
- data/spec/fixtures/middleman/build/november-2016-meetup/index.html +224 -0
- data/spec/fixtures/middleman/build/october-2013-meetup/index.html +210 -0
- data/spec/fixtures/middleman/build/october-2014-meetup/index.html +196 -0
- data/spec/fixtures/middleman/build/october-2016-meetup/index.html +222 -0
- data/spec/fixtures/middleman/build/robots.txt +6 -0
- data/spec/fixtures/middleman/build/september-2013-meetup/index.html +225 -0
- data/spec/fixtures/middleman/build/september-2014-meetup/index.html +211 -0
- data/spec/fixtures/middleman/build/sitemap.xml +297 -0
- data/spec/fixtures/middleman/build/vimfest-october-2015/index.html +303 -0
- data/spec/fixtures/middleman/config.rb +4 -0
- data/spec/fixtures/middleman/config_repositories.rb +7 -0
- data/spec/fixtures/middleman/expected_config.rb +4 -0
- data/spec/spec_helper.rb +2 -2
- data/spec/sweetie_bitbucket_spec.rb +26 -51
- data/spec/sweetie_bitbucket_stati_helper_spec.rb +124 -0
- data/spec/sweetie_conversion_spec.rb +105 -17
- data/spec/sweetie_helper_spec.rb +140 -0
- data/sweetie.gemspec +10 -9
- metadata +163 -56
- data/.travis.yml +0 -7
- data/spec/source/_config.yml +0 -18
- data/spec/source/bitbucket/user_repositories.json +0 -161
- data/spec/source/bitbucket/user_repositories_expectation.txt +0 -1
@@ -0,0 +1,190 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html itemscope itemtype="http://schema.org/BlogPosting">
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
7
|
+
<title>February 2013 Vim-beer-lin - Vimberlin</title>
|
8
|
+
<meta name="description" content="February 2013 Vim-beer-lin - Vimberlin">
|
9
|
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
10
|
+
<link href="/assets/stylesheets/application.css" rel="stylesheet" type="text/css" />
|
11
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
12
|
+
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
13
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon-57x57.png">
|
14
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon-60x60.png">
|
15
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon-72x72.png">
|
16
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon-76x76.png">
|
17
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon-114x114.png">
|
18
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon-120x120.png">
|
19
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon-144x144.png">
|
20
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon-152x152.png">
|
21
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon-180x180.png">
|
22
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-32x32.png" sizes="32x32">
|
23
|
+
<link rel="icon" type="image/png" href="/assets/favicons/android-chrome-192x192.png" sizes="192x192">
|
24
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-96x96.png" sizes="96x96">
|
25
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-16x16.png" sizes="16x16">
|
26
|
+
<link rel="manifest" href="/assets/favicons/manifest.json">
|
27
|
+
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg">
|
28
|
+
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
|
29
|
+
<meta name="apple-mobile-web-app-title" content="vimberlin">
|
30
|
+
<meta name="application-name" content="vimberlin">
|
31
|
+
<meta name="msapplication-TileColor" content="#da532c">
|
32
|
+
<meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
|
33
|
+
<meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
|
34
|
+
<meta name="theme-color" content="#ffffff">
|
35
|
+
|
36
|
+
</head>
|
37
|
+
|
38
|
+
<body>
|
39
|
+
|
40
|
+
<header>
|
41
|
+
<div class="container">
|
42
|
+
<div class="row">
|
43
|
+
<div class="col-md-2 col-md-offset-1 hidden-xs">
|
44
|
+
<a href="/"><img class="headline-image" alt="Vimberlin headline image" src="https://pbs.twimg.com/profile_images/1761428936/vim10_200x200.JPG" /></a>
|
45
|
+
</div>
|
46
|
+
<div class="col-md-7 hidden-xs">
|
47
|
+
<h1 class="headline-link"> <a href="/">Vimberlin</a></h1><br>
|
48
|
+
<span class="headline"><a href="/">the gathering for Vim-enthusiasts in Berlin</a></span>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
<div class="row">
|
52
|
+
<div class="col-md-10 col-md-offset-1">
|
53
|
+
<nav class="navbar navbar-default navbar-primary">
|
54
|
+
<!-- Brand and toggle get grouped for better mobile display -->
|
55
|
+
<div class="navbar-header">
|
56
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-primary">
|
57
|
+
<span class="sr-only">Toggle navigation</span>
|
58
|
+
<i class="fa fa-navicon"></i>
|
59
|
+
</button>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<!-- Collect the nav links, forms, and other content for toggling -->
|
63
|
+
<div class="collapse navbar-collapse nav-primary">
|
64
|
+
<ul class="nav navbar-nav navbar-right">
|
65
|
+
<li class="active"><a href="/blog">Blog</a></li>
|
66
|
+
<li class=""><a href="/newsletter">Newsletter</a></li>
|
67
|
+
<li><a target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a></li>
|
68
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
|
69
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
|
70
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
|
71
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a></li>
|
72
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a></li>
|
73
|
+
</ul>
|
74
|
+
</div><!-- /.navbar-collapse -->
|
75
|
+
</nav>
|
76
|
+
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</header>
|
81
|
+
|
82
|
+
<main>
|
83
|
+
<div class="container" itemprop="articleBody">
|
84
|
+
<div class="row">
|
85
|
+
<div class="col-md-10 col-md-offset-1">
|
86
|
+
<h2>February 2013 Vim-beer-lin</h2>
|
87
|
+
<br>
|
88
|
+
<strong class="show-for-medium-up">Time: </strong><span itemprop="startDate">Starts 28 February 8:00 pm</span>
|
89
|
+
<br>
|
90
|
+
<strong class="show-for-medium-up">Location: </strong>
|
91
|
+
<span itemtype="http://schema.org/PostalAddress" itemscope="" itemprop="location">
|
92
|
+
<span><span itemprop="name">the bar Intimes</span>
|
93
|
+
|
94
|
+
</span>
|
95
|
+
<span itemprop="streetAddress">, Boxhagener Str. 107</span>
|
96
|
+
<span>
|
97
|
+
<span itemprop="postalCode">, 10245</span>
|
98
|
+
<span itemprop="addressLocality">Berlin</span>
|
99
|
+
</span>
|
100
|
+
<meta content="Germany" itemprop="addressCountry">
|
101
|
+
(<a href="http://goo.gl/maps/a4oqk">map</a>)
|
102
|
+
</span>
|
103
|
+
<br>
|
104
|
+
<br>
|
105
|
+
|
106
|
+
|
107
|
+
<div class="pull-right">
|
108
|
+
<a href="#comments">Comments</a>
|
109
|
+
</div>
|
110
|
+
<p>This month we'll skip the workshop part and move directly to the after-show party part. Berlin's Vim users and everybody interested is invited to join us on.</p>
|
111
|
+
|
112
|
+
<p>We'll have some beer and vim chit-chat.</p>
|
113
|
+
|
114
|
+
<p>I hope to see you there.</p>
|
115
|
+
|
116
|
+
<p><strong><a title="Gregor Schmidt" href="http://www.nach-vorne.eu/">Gregor Schmidt</a></strong></p>
|
117
|
+
|
118
|
+
<p>P.S: We will continue with our regular meetup schedule on March, 28th.</p>
|
119
|
+
|
120
|
+
|
121
|
+
<a class="prev" href="/2013-01-meetup/" rel="prev" title="Previous article: January 2013 Meetup">« January 2013 Meetup</a>
|
122
|
+
<a class="next" href="/may-2013-meetup/" rel="next" title="Next article: May 2013 Meetup">May 2013 Meetup » </a>
|
123
|
+
<div style="clear: both;"></div>
|
124
|
+
<a href="#comments"><span id="cmtcount"></span> Comments</a>
|
125
|
+
<div id="hashover"></div>
|
126
|
+
<script type="text/javascript" src="/hashover.php" defer="defer"></script>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
</div >
|
130
|
+
</main>
|
131
|
+
|
132
|
+
<div class="footer--colophon hidden-xs">
|
133
|
+
<div class="container">
|
134
|
+
<div class="row">
|
135
|
+
<div class="col-md-6 col-md-offset-1">
|
136
|
+
<p class="footer--colophon__copyright">
|
137
|
+
<a href="/imprint"> Imprint</a>
|
138
|
+
<a style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;" href="/contact">Contact</a>
|
139
|
+
<a target="_blank" rel="noopener noreferrer" href="http://vimfest.org" style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;">Vimfest</a>
|
140
|
+
<a class="footer-link" style="border-left: #d5dbde 1px solid;margin-left: 8px" target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a>
|
141
|
+
|
142
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
143
|
+
|
144
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
|
145
|
+
|
146
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
|
147
|
+
|
148
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a>
|
149
|
+
|
150
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a>
|
151
|
+
</p>
|
152
|
+
</div>
|
153
|
+
<div class="col-md-2 col-md-offset-3 hidden-xs">
|
154
|
+
<p class="footer--colophon__poweredby">Powered by <a href="https://github.com/timknight/middleman-ethos" target="_blank">Ethos</a></p>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
|
160
|
+
<script type="text/javascript">
|
161
|
+
var _paq = _paq || [];
|
162
|
+
_paq.push(['trackPageView']);
|
163
|
+
_paq.push(['enableLinkTracking']);
|
164
|
+
(function() {
|
165
|
+
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://vimberlin.de/piwik/";
|
166
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
167
|
+
_paq.push(['setSiteId', 1]);
|
168
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
169
|
+
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
170
|
+
})();
|
171
|
+
</script>
|
172
|
+
<noscript><p><img src="https://vimberlin.de/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<script src="/assets/javascripts/application.js" type="text/javascript"></script>
|
177
|
+
<!-- Hotjar Tracking Code for http://vimberlin.de -->
|
178
|
+
<script>
|
179
|
+
(function(h,o,t,j,a,r){
|
180
|
+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
181
|
+
h._hjSettings={hjid:370627,hjsv:5};
|
182
|
+
a=o.getElementsByTagName('head')[0];
|
183
|
+
r=o.createElement('script');r.async=1;
|
184
|
+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
185
|
+
a.appendChild(r);
|
186
|
+
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
|
187
|
+
</script>
|
188
|
+
|
189
|
+
</body>
|
190
|
+
</html>
|
@@ -0,0 +1,233 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html itemscope itemtype="http://schema.org/BlogPosting">
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
7
|
+
<title>February 2015 Meetup - Vimberlin</title>
|
8
|
+
<meta name="description" content="February 2015 Meetup - Vimberlin">
|
9
|
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
10
|
+
<link href="/assets/stylesheets/application.css" rel="stylesheet" type="text/css" />
|
11
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
12
|
+
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
13
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon-57x57.png">
|
14
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon-60x60.png">
|
15
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon-72x72.png">
|
16
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon-76x76.png">
|
17
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon-114x114.png">
|
18
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon-120x120.png">
|
19
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon-144x144.png">
|
20
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon-152x152.png">
|
21
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon-180x180.png">
|
22
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-32x32.png" sizes="32x32">
|
23
|
+
<link rel="icon" type="image/png" href="/assets/favicons/android-chrome-192x192.png" sizes="192x192">
|
24
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-96x96.png" sizes="96x96">
|
25
|
+
<link rel="icon" type="image/png" href="/assets/favicons/favicon-16x16.png" sizes="16x16">
|
26
|
+
<link rel="manifest" href="/assets/favicons/manifest.json">
|
27
|
+
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg">
|
28
|
+
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
|
29
|
+
<meta name="apple-mobile-web-app-title" content="vimberlin">
|
30
|
+
<meta name="application-name" content="vimberlin">
|
31
|
+
<meta name="msapplication-TileColor" content="#da532c">
|
32
|
+
<meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
|
33
|
+
<meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
|
34
|
+
<meta name="theme-color" content="#ffffff">
|
35
|
+
|
36
|
+
</head>
|
37
|
+
|
38
|
+
<body>
|
39
|
+
|
40
|
+
<header>
|
41
|
+
<div class="container">
|
42
|
+
<div class="row">
|
43
|
+
<div class="col-md-2 col-md-offset-1 hidden-xs">
|
44
|
+
<a href="/"><img class="headline-image" alt="Vimberlin headline image" src="https://pbs.twimg.com/profile_images/1761428936/vim10_200x200.JPG" /></a>
|
45
|
+
</div>
|
46
|
+
<div class="col-md-7 hidden-xs">
|
47
|
+
<h1 class="headline-link"> <a href="/">Vimberlin</a></h1><br>
|
48
|
+
<span class="headline"><a href="/">the gathering for Vim-enthusiasts in Berlin</a></span>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
<div class="row">
|
52
|
+
<div class="col-md-10 col-md-offset-1">
|
53
|
+
<nav class="navbar navbar-default navbar-primary">
|
54
|
+
<!-- Brand and toggle get grouped for better mobile display -->
|
55
|
+
<div class="navbar-header">
|
56
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-primary">
|
57
|
+
<span class="sr-only">Toggle navigation</span>
|
58
|
+
<i class="fa fa-navicon"></i>
|
59
|
+
</button>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<!-- Collect the nav links, forms, and other content for toggling -->
|
63
|
+
<div class="collapse navbar-collapse nav-primary">
|
64
|
+
<ul class="nav navbar-nav navbar-right">
|
65
|
+
<li class="active"><a href="/blog">Blog</a></li>
|
66
|
+
<li class=""><a href="/newsletter">Newsletter</a></li>
|
67
|
+
<li><a target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a></li>
|
68
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
|
69
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
|
70
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
|
71
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a></li>
|
72
|
+
<li><a target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a></li>
|
73
|
+
</ul>
|
74
|
+
</div><!-- /.navbar-collapse -->
|
75
|
+
</nav>
|
76
|
+
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</header>
|
81
|
+
|
82
|
+
<main>
|
83
|
+
<div class="container" itemprop="articleBody">
|
84
|
+
<div class="row">
|
85
|
+
<div class="col-md-10 col-md-offset-1">
|
86
|
+
<h2>February 2015 Meetup</h2>
|
87
|
+
<br>
|
88
|
+
<strong class="show-for-medium-up">Time: </strong><span itemprop="startDate">Starts 19 February 7:00 pm</span>
|
89
|
+
<br>
|
90
|
+
<strong class="show-for-medium-up">Location: </strong>
|
91
|
+
<span itemtype="http://schema.org/PostalAddress" itemscope="" itemprop="location">
|
92
|
+
<span>
|
93
|
+
<a href="https://launchco.com/etc/#coworking">
|
94
|
+
<span itemprop="name">LAUNCH/CO</span>
|
95
|
+
</a>
|
96
|
+
|
97
|
+
</span>
|
98
|
+
<span itemprop="streetAddress">, Rudolfstraße 14</span>
|
99
|
+
<span>
|
100
|
+
<span itemprop="postalCode">, 10245</span>
|
101
|
+
<span itemprop="addressLocality">Berlin</span>
|
102
|
+
</span>
|
103
|
+
<meta content="Germany" itemprop="addressCountry">
|
104
|
+
(<a href="http://bit.ly/1wbCYmD">map</a>)
|
105
|
+
</span>
|
106
|
+
<br>
|
107
|
+
<br>
|
108
|
+
|
109
|
+
|
110
|
+
<div class="pull-right">
|
111
|
+
<a href="#comments">Comments</a>
|
112
|
+
</div>
|
113
|
+
<h2>Talks</h2>
|
114
|
+
|
115
|
+
<ul>
|
116
|
+
<li><strong>"Vim Plug - my favorite plugin manager"</strong> by <a href="https://twitter.com/wikimatze">Matthias Günther</a><br>
|
117
|
+
In our <a title="January 2015 Meetup" href="/january-2015-meetup/">January 2015 Meetup</a> we talked about the way to use
|
118
|
+
plugin managers for Vim. I will go through <a title="vim-plug" href="https://github.com/junegunn/vim-plug">vim-plug</a>
|
119
|
+
and tell you why it's the best plugin manager for vim in the world.</li>
|
120
|
+
<li><strong>"Configure Vim with Nix"</strong> by <a title="Rok Garbas" href="https://twitter.com/garbas">Rok Garbas</a></li>
|
121
|
+
</ul>
|
122
|
+
|
123
|
+
<h2>Open Topics</h2>
|
124
|
+
|
125
|
+
<p>We are going to take time to answer questions related to vim - feel free to prepare them.</p>
|
126
|
+
|
127
|
+
<p>Beside we will have an open discussions about tools for <a title="Ruby" href="https://www.ruby-lang.org/en/">Ruby</a> and
|
128
|
+
<a title="Rails development" href="http://rubyonrails.org/">Rails development</a>.</p>
|
129
|
+
|
130
|
+
<h2>Recap</h2>
|
131
|
+
|
132
|
+
<h3>Vim Plug - my favorite plugin manager</h3>
|
133
|
+
|
134
|
+
<p>The slides of the talk:</p>
|
135
|
+
|
136
|
+
<script async class="speakerdeck-embed" data-id="67dd407073d948f09b34918aafc24c3d" data-ratio="1.33159947984395" src="//speakerdeck.com/assets/embed.js"></script>
|
137
|
+
|
138
|
+
<h3>Highlighting SQL in heredoc parts in Ruby</h3>
|
139
|
+
|
140
|
+
<p>All credit for this goes to <a title="AndrewRadev" href="https://github.com/AndrewRadev/Vimfiles/blob/master/after/syntax/ruby.vim">AndrewRadev</a>:</p>
|
141
|
+
<pre class="highlight viml"><code><span class="k">let</span> <span class="nv">s:bcs</span> <span class="p">=</span> <span class="nv">b:current_syntax</span>
|
142
|
+
unlet <span class="nv">b:current_syntax</span>
|
143
|
+
syntax include @SQL syntax/sql<span class="p">.</span><span class="k">vim</span>
|
144
|
+
<span class="k">let</span> <span class="nv">b:current_syntax</span> <span class="p">=</span> <span class="nv">s:bcs</span>
|
145
|
+
|
146
|
+
<span class="c">" match optional, surrounding single or double quote and any whitespace in the heredoc name</span>
|
147
|
+
syntax region rubyHereDocSQL matchgroup<span class="p">=</span>rubyOperator <span class="k">start</span><span class="p">=+<<-</span>\?\<span class="p">([</span>'"<span class="p">]</span>\?\<span class="p">)</span>\z<span class="p">(</span>\s*SQL\s*\<span class="p">)</span>\<span class="m">1</span><span class="p">+</span> <span class="k">end</span><span class="p">=+</span>^\s*\z1$<span class="p">+</span> contains<span class="p">=</span>@SQL
|
148
|
+
</code></pre>
|
149
|
+
<p>It's the best to put this in <code>after/syntax/ruby.vim</code></p>
|
150
|
+
|
151
|
+
<h3>smapclear</h3>
|
152
|
+
|
153
|
+
<p>This removes all mapping when you are in <code>Select</code> mode (used for) - very handy for snippet completion. Put this option in <code>after/plugin/smapclear.vim</code>. Thanks <a title="AndrewRadev" href="https://github.com/AndrewRadev/">AndrewRadev</a> for this tip.</p>
|
154
|
+
|
155
|
+
<h2>Sponsor</h2>
|
156
|
+
|
157
|
+
<p><img class="title" alt="LAUNCH/CO" src="/assets/images/launch_co_logo.png" /></p>
|
158
|
+
|
159
|
+
<p>Thanks to <a title="LAUNCH/CO" href="https://launchco.com/etc/#coworking">LAUNCH/CO</a> for hosting the event.</p>
|
160
|
+
|
161
|
+
<p><strong><a title="Matthias Günther" href="http://wikimatze.de/about">Matthias Günther</a></strong></p>
|
162
|
+
|
163
|
+
|
164
|
+
<a class="prev" href="/january-2015-meetup/" rel="prev" title="Previous article: January 2015 Meetup">« January 2015 Meetup</a>
|
165
|
+
<a class="next" href="/book-club-about-the-viml-primer/" rel="next" title="Next article: Book Club About "The VimL Primer"">Book Club About "The VimL Primer" » </a>
|
166
|
+
<div style="clear: both;"></div>
|
167
|
+
<a href="#comments"><span id="cmtcount"></span> Comments</a>
|
168
|
+
<div id="hashover"></div>
|
169
|
+
<script type="text/javascript" src="/hashover.php" defer="defer"></script>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
</div >
|
173
|
+
</main>
|
174
|
+
|
175
|
+
<div class="footer--colophon hidden-xs">
|
176
|
+
<div class="container">
|
177
|
+
<div class="row">
|
178
|
+
<div class="col-md-6 col-md-offset-1">
|
179
|
+
<p class="footer--colophon__copyright">
|
180
|
+
<a href="/imprint"> Imprint</a>
|
181
|
+
<a style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;" href="/contact">Contact</a>
|
182
|
+
<a target="_blank" rel="noopener noreferrer" href="http://vimfest.org" style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;">Vimfest</a>
|
183
|
+
<a class="footer-link" style="border-left: #d5dbde 1px solid;margin-left: 8px" target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a>
|
184
|
+
|
185
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
186
|
+
|
187
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
|
188
|
+
|
189
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
|
190
|
+
|
191
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a>
|
192
|
+
|
193
|
+
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a>
|
194
|
+
</p>
|
195
|
+
</div>
|
196
|
+
<div class="col-md-2 col-md-offset-3 hidden-xs">
|
197
|
+
<p class="footer--colophon__poweredby">Powered by <a href="https://github.com/timknight/middleman-ethos" target="_blank">Ethos</a></p>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<script type="text/javascript">
|
204
|
+
var _paq = _paq || [];
|
205
|
+
_paq.push(['trackPageView']);
|
206
|
+
_paq.push(['enableLinkTracking']);
|
207
|
+
(function() {
|
208
|
+
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://vimberlin.de/piwik/";
|
209
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
210
|
+
_paq.push(['setSiteId', 1]);
|
211
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
212
|
+
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
213
|
+
})();
|
214
|
+
</script>
|
215
|
+
<noscript><p><img src="https://vimberlin.de/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
<script src="/assets/javascripts/application.js" type="text/javascript"></script>
|
220
|
+
<!-- Hotjar Tracking Code for http://vimberlin.de -->
|
221
|
+
<script>
|
222
|
+
(function(h,o,t,j,a,r){
|
223
|
+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
224
|
+
h._hjSettings={hjid:370627,hjsv:5};
|
225
|
+
a=o.getElementsByTagName('head')[0];
|
226
|
+
r=o.createElement('script');r.async=1;
|
227
|
+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
228
|
+
a.appendChild(r);
|
229
|
+
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
|
230
|
+
</script>
|
231
|
+
|
232
|
+
</body>
|
233
|
+
</html>
|