Skip to content

Instantly share code, notes, and snippets.

View igponce's full-sized avatar
🤣
Yo me río de janeiro

Iñigo igponce

🤣
Yo me río de janeiro
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package main
import (
"fmt"
tg_botapi "github.com/go-telegram-bot-api/telegram-bot-api"
)
func main() {
secret := "Pregunta al @botfather para esto"
# Somewhere at start
# for instance,
if __name__ == "__main__"
self.regex = re.compile(row['keywords'],re.I|re.M)
self.matches = re.finditer(regex, x)
# Later on...
def get_iso2(x, regex, matches):
@igponce
igponce / kanban_board.svg
Created December 19, 2019 15:41
Kanban board (svg export) - look at the source! It has the original plantuml code
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@igponce
igponce / kanban_board.plantuml
Created December 19, 2019 15:33
Kanban (trello-like) board in PlantUML
@startuml Kanban Board
caption "Kanban board for 2019.12.19"
rectangle stack_TODO as "To-do" {
node Task3 [
** Task Name **
====
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce
sudo systemctl enable docker.service
sudo systemctl start docker.service
@igponce
igponce / docker-install-ubuntu.sh
Last active April 8, 2019 14:30
Install Docker on Ubuntu
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get -y install docker-ce
# Starting up

Keybase proof

I hereby claim:

  • I am igponce on github.
  • I am eb0la (https://keybase.io/eb0la) on keybase.
  • I have a public key ASDaBshcgc9DcnF45fcO9Dtcr79CcWHLVJtXB7TtwLGFWAo

To claim this, I am signing this object:

@igponce
igponce / FindRecipes.md
Created September 27, 2017 14:45
Find recipes

File Sizes

Find empty files: find . -size 0

Files greater than 700M: (does not fit CDROM) find . -size +700M

Permissions

echo << EOF
Script de provision
--------------------
Componentes
- Open JDK 8
- SCALA 2.9
- Cassandra
[pend: zookeper]