Skip to content

Instantly share code, notes, and snippets.

View fizzvr's full-sized avatar
πŸ‡ͺπŸ‡¨
Programando I'm Happy

Vladimir RodrΓ­guez fizzvr

πŸ‡ͺπŸ‡¨
Programando I'm Happy
View GitHub Profile
// Load the TCP Library
net = require('net');
// Keep track of the chat clients
var clients = [];
// Start a TCP Server
net.createServer(function (socket) {
// Identify this client
@fizzvr
fizzvr / Default (Linux).sublime-keymap
Last active August 29, 2015 14:17
teclas rapidas SUBLIME3-emmet
[
{ "keys": ["ctrl+alt+x"], "command": "autoprefixer" },
{
"keys": [
"ctrl+alt+w"
],
"args": {
"action": "balance_inward"
},
"command": "run_emmet_action",
@fizzvr
fizzvr / keymap.json
Last active August 29, 2015 14:17
teclas rapidas BRACKETS-emmet
{
"expand_abbreviation_with_tab": "Tab",
"expand_abbreviation": "Ctrl-Alt-Enter",
"balance_outward": "Ctrl-Alt-Q",
"balance_inward": "Ctrl-Alt-W",
"matching_pair": "Shift-Ctrl-T",
"wrap_with_abbreviation": "Shift-Ctrl-A",
"next_edit_point": "Ctrl-Alt-2",
"prev_edit_point": "Ctrl-Alt-1",
@fizzvr
fizzvr / plantilla-principal.html.eco
Created September 16, 2014 20:01
AntiSpamEmail
<a href="&#0109;&#97;&#105;&#108;&#116;&#111;&#58;&#102;i&#00122;&#122;&#118;&#114;&#0064;&#103;&#00109;&#97;&#00105;&#00108;&#0046;&#0099;&#00111;&#109;">&#102;i&#00122;&#122;&#118;&#00114;&#64;&#00103;&#00109;&#0097;&#105;&#108;&#46;&#99;&#111;&#00109;</a>
@fizzvr
fizzvr / code 2
Last active August 29, 2015 14:06
analitycs code
<script>
(function(f,i,z,v,r,e,c){f['GoogleAnalyticsObject']=r;f[r]=f[r]||function(){
(f[r].q=f[r].q||[]).push(arguments)},f[r].l=1*new Date();e=i.createElement(z),
c=i.getElementsByTagName(z)[0];e.async=1;e.src=v;c.parentNode.insertBefore(e,c)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-<%- @site.anal %>', 'fizzvr.github.io');
ga('send', 'pageview');
</script>
@fizzvr
fizzvr / ID
Created August 27, 2014 20:32
Steam
| steamname: FizzVR
| steamID32: STEAM_0:1:50351163
| steamID64: http://steamcommunity.com/profiles/76561198060968055
| customURL: http://steamcommunity.com/id/fizzvr
| steamrep: http://steamrep.com/profiles/76561198060968055

DocPad: Sitemap Genereation

Generates a sitemap.txt file your website. To use add the contents of the docpad.coffee file of this gist into your docpad configuration file.

Note: There is now the Sitemap Plugin which generates a proper sitemap.xml file for you automatically instead of the basic sitemap.txt file this gist creates.

# Define our Configuration
docpadConfig =
# Define our own Collections
collections:
# Posts
# Anything outputted to the posts directory can be considered a post
# Sort the posts by newest first
# And set their layout to `post` automatically if it isn't already set

DocPad: Absolute URL Helper

Uses a docpad configuration file to specify template data that we can use in our document to generate absolute urls.