Skip to content

Instantly share code, notes, and snippets.

View asdrubalivan's full-sized avatar

Asdrúbal Iván Suárez Rivera asdrubalivan

View GitHub Profile
rgoncalves-95 /
Created April 4, 2018 20:45
Script que descarga las transacciones realizadas en Bolívares en Localbitcoins
import json
import urllib.request
import datetime
import time
import pandas as pd
comienzo = time.time()
def hacer_request(tid):
url = ""
lukechampine / monads.c
Last active November 14, 2023 18:22
Maybe and Either Monads in C
View monads.c
#include <stdio.h>
#include <stdbool.h>
// Maybe
typedef struct MaybeInt {
int just;
bool nothing;
} MaybeInt;
carl0zen / styled-components-mixin-example.jsx
Last active December 8, 2021 05:51
Styled Components Mixin example
View styled-components-mixin-example.jsx
// Mixin like functionality
const textInput = props => `
color: ${props.error ? color.white : color.base};
background-color: ${props.error ? color.alert : color.white};
export const Input = styled.input`
lotterfriends / platform-service.js
Created September 21, 2016 12:43
ionic view issue 29
View platform-service.js
'use strict';
(function() {
angular.module('').service('platformService', [
function() {
var IONIC_APP_ID = 'xxx00xxx';
this.isIonicWebView = function() {
return window.location.href.indexOf('com.ionic.viewapp') > -1 || window.location.href.indexOf(IONIC_APP_ID) > -1;
View gist:8c25ed4abb36372bc6fe
" quick replace occurences
let g:should_inject_replace_occurences = 0
function! MoveToNext()
if g:should_inject_replace_occurences
call feedkeys("n")
call repeat#set("\<Plug>ReplaceOccurences")
let g:should_inject_replace_occurences = 0
TylerFisher / LICENSE
Last active March 22, 2020 11:26
A basic library and example usage for JavaScript-based Chromecast apps, developed by NPR Visuals for
The MIT License (MIT)
Copyright (c) 2014 NPR
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
perusio / gist:1154002
Created August 18, 2011 12:54
My ~/.config/lxterminal/lxterminal.conf with solarized colors
View gist:1154002
fontname=Terminus 9
zerohours / gist:1079615
Created July 13, 2011 02:41
Quicksort on Python
View gist:1079615
def quicksort(datos, primero, ultimo):
i = primero
j = ultimo
pivote = (datos[primero] + datos[ultimo]) / 2
while i < j:
while datos[i] < pivote:
while datos[j] > pivote: