Skip to content

Instantly share code, notes, and snippets.

View jkbecker's full-sized avatar
🦀
getting rusty

Johannes Becker jkbecker

🦀
getting rusty
View GitHub Profile
@jkbecker
jkbecker / bigTech.py
Created June 6, 2018 21:57 — forked from jmduke/bigTech.py
Grab data from various organizations from Github.
import requests
import operator
companies = ["facebook", "aws", "google", "yahoo", "dropbox", "twitter", "paypal", "linkedin", "mozilla", "adobe"]
api_url = "https://api.github.com/orgs/{}/repos"
data = {}
for company in companies:
data[company] = {'forks': 0, 'stars': 0, 'repos': 0, 'languages': {}}
r = requests.get(api_url.format(company))
@jkbecker
jkbecker / make log
Created February 5, 2019 15:27
instant-gnuradio make fails at pybombs/src/bladeRF/host/misc/udev/88-nuand.rules.in
jkbecker@nislab-jkbecker ~/Code/gnuradio/instant-gnuradio $ make
packer build --force gnuradio.json
virtualbox-ovf output will be in this color.
==> virtualbox-ovf: Downloading or copying OVF/OVA
virtualbox-ovf: Downloading or copying: file:///home/jkbecker/Code/gnuradio/instant-gnuradio/vms/base/instant-gnuradio-base.ova
==> virtualbox-ovf: Importing VM: /home/jkbecker/Code/gnuradio/instant-gnuradio/vms/base/instant-gnuradio-base.ova
==> virtualbox-ovf: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 2583)
==> virtualbox-ovf: Starting the virtual machine...
virtualbox-ovf: The VM will be run headless, without a GUI. If you want to

Keybase proof

I hereby claim:

  • I am jkbecker on github.
  • I am jkbecker (https://keybase.io/jkbecker) on keybase.
  • I have a public key ASBHcn6WGOh8QUZQsBduJU_LVYQKyLPxghGOdaoCcIl6Owo

To claim this, I am signing this object:

# coding=utf-8
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import datetime
import sys
import time
import threading
import traceback
import SocketServer
@jkbecker
jkbecker / obsidian-web-clipper.js
Last active February 23, 2023 06:19 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */