Skip to content

Instantly share code, notes, and snippets.

View dfischer's full-sized avatar

0x44 0x46 dfischer

View GitHub Profile
This is so fucking gay.
This sucks too.
@dfischer
dfischer / gist:15998d9532cdf2904804
Created May 2, 2014 00:07
Happy hacker keyboard cheat sheet
ctrl + a = beginning of line
ctrl + e = end of line
ctrl + b = one character left in line
ctrl + f = one character forward in line
ctrl + k = kill everything in like (goes into yank)
ctrl + y = output yanked
ctrl + p = previous line
ctrl + n = next line
ctrl + o = split line
control + j = join line
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis)
# Check our Studio: https://gentlenode.com/
# Iron Router > Configuration
Router.configure
layoutTemplate: 'Main'
loadingTemplate: 'Loading'
--- /dev/null
+++ b/client/views/application/disqus.html
@@ -0,0 +1,7 @@
+<template name="disqus">
+ <div id="my-disqus">
+ <div id="disqus_thread"></div>
+ <noscript>Por favor, habilite JavaScript para ver os <a href="http://disqus.com/?ref_noscript">comentários hospeda
+ <a href="http://disqus.com" class="dsq-brlink"><h2>Carregando postagens...</h2><br /><small>comentários hospedados
+ </div>
+</template>
@dfischer
dfischer / WIP
Created September 12, 2014 08:04
Meteor folder structure
client
views
posts
posts_index.html
posts_index.less
lib
collections
private
public
server
** Invoke db:bootstrap:load (first_time)
** Invoke environment
** Execute db:bootstrap:load
** Execute db:bootstrap
>> Started executing bootstrap for development
>> Started executing bootstrap for static_content
>> Finished executing bootstrap for static_content
>> Started executing bootstrap for users
>> Finished executing bootstrap for users
>> Started executing bootstrap for challenges
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by s3backer FUSE filesystem backed by Amazon S3 configure 1.3.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/s3-backer/1.3.1
## --------- ##
## Platform. ##
<script>var layout_width = 'small'; var layout_color='12EBF6'; var layout_rows=8;</script><script src="http://localhost:3000/dispensaries/medco-organics/widget.js"></script>
<script>var layout_width = 'medium'; var layout_color='12EBF6'; var layout_rows=8;</script><script src="http://localhost:3000/dispensaries/medco-organics/widget.js"></script>
<script>var layout_width = 'large'; var layout_color='12EBF6'; var layout_rows=8;</script><script src="http://localhost:3000/dispensaries/medco-organics/widget.js"></script>