Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" plugins {{{ | |
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'davidhalter/jedi-vim' | |
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} | |
Plug 'derekwyatt/vim-scala' | |
Plug 'tpope/vim-surround' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-rhubarb' | |
Plug 'bling/vim-airline' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
from flask import Flask, jsonify | |
server = Flask("simplest server ever") | |
@server.route("/hello") | |
def hello_handler(): | |
return "hello again" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: new service | |
Plugin URI: garhdez.com | |
Description: new service | |
Author: Pepe | |
*/ | |
class MEXP_New_Template extends MEXP_Template { |
I hereby claim:
- I am pepegar on github.
- I am pepegar (https://keybase.io/pepegar) on keybase.
- I have a public key whose fingerprint is E94A FA72 3848 09F2 081D D1AF 3DD7 497C FE9B EFE3
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE GADTs #-} | |
import Control.Applicative.Free | |
import Control.Applicative | |
type Author = String | |
type Post = String | |
type Id = Int | |
-- A page of the blog, that will consist of a post and its author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function getExtremes($test) | |
{ | |
$sum = array_sum($test); | |
$average = $sum / count($test); | |
$deviations = array(); | |
$ret = array(); | |
for ($i = 0; $i < count($test); $i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/awk -f | |
# Convert the "svn log" output into a one liner format, which is easier to grep | |
# or use in scripts. Pipe "svn log" into this script | |
# When we get a line that starts with a revision number, put the data in variables | |
/^r[0-9]+/ { | |
rev=$1 | |
user=$3 | |
date=$5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('#menu-item-13 .menu-item>a').each( | |
function(index){ | |
if ($(this).html() == 'Ecológicos'){ | |
$(this).parent().addClass('current-menu-item') | |
} | |
} | |
); | |
}); |
NewerOlder