Skip to content

Instantly share code, notes, and snippets.

View StefanYohansson's full-sized avatar
🖤
λ

snotr StefanYohansson

🖤
λ
  • Porto - Portugal
  • 16:39 (UTC +01:00)
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- copy/paste of flat-ui.css -->
<style>
[class^="fui-"],
[class*="fui-"] {
font-family: 'Flat-UI-Icons';
speak: none;
var $ = jQuery;
function removeEls() {
$('.reviewers').remove();
$('.count-column-value').remove();
$('.aui-iconfont-devtools-arrow-right').remove();
$('.pull-request-target-branch').remove();
$('.avatar-with-name').remove();
$('.build-status-pr-list-col-value').remove();
}
" set number " turn on line numbers and highlight colors
set ruler " Always show current positions along the bottom
set showcmd " show the command being typed
set autoindent " autoindent spaces
set cursorline
set nocursorcolumn
set nocursorline
set laststatus=2
syntax sync minlines=256
@StefanYohansson
StefanYohansson / cdr_extractor.py
Last active August 29, 2015 14:21
freeswitch-hep-logger.sh
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import sys
import json
class CdrExtractor:
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
@StefanYohansson
StefanYohansson / Csv2Arr
Last active December 16, 2017 15:39
uma classe para transformar csv em array
<?php
class Csv2arr
{
public $csv;
public $separador;
public $tamanho;