Skip to content

Instantly share code, notes, and snippets.

View fullbeats's full-sized avatar

Phillip Püttmann fullbeats

  • PureEconomy UG
  • Paderborn
View GitHub Profile
@ziplokk1
ziplokk1 / incap.py
Last active August 31, 2018 11:21
"""
For use with python3.
Usage: Download and save this script in your project folder.
In the script:
from incap import IncapSession as Session
session = Session()
response = session.get('https://www.url.com')
@windymelt
windymelt / Pub.scala
Created June 6, 2015 10:10
Akka ZeroMQ Extension Example
package momijikawa.exercisezmq
import scala.concurrent.ExecutionContext
object Main extends App {
import akka.actor._
import akka.zeromq._
import akka.util.ByteString
import concurrent.duration._
import collection.immutable.Seq
@lebedov
lebedov / mp_pool_zmq_demo.py
Last active May 24, 2023 01:40
Farm out processing to multiple processes via zmq.
#!/usr/bin/env python
"""
Farm out processing to multiple processes via zmq.
"""
import re, pickle, time, threading
import multiprocessing as mp
import zmq
from zmq.eventloop.ioloop import IOLoop