Prerequisites

The following packages are needed to run bocker.

  • btrfs-progs
  • curl
  • iproute2
  • iptables
  • libcgroup-tools
  • util-linux >= 2.25.2
  • coreutils >= 7.5

Additionally your system will need to be configured with the following:

  • A btrfs filesystem mounted under /var/bocker
  • A network bridge called bridge0 and an IP of 10.0.0.1/24
  • IP forwarding enabled in /proc/sys/net/ipv4/ip_forward
  • A firewall routing traffic from bridge0 to a physical interface.

This is not an official API support and etc. This is just a scraper that is using TikTok Web API to scrape media and related meta information.

Installation

tiktok-scraper requires Node.js v10+ to run.

Install from NPM

npm i -g tiktok-scraper
yarn global add tiktok-scraper

In Terminal

$ tiktok-scraper --helpUsage: tiktok-scraper <command> [options]Commands:
tiktok-scraper user [id] Scrape videos from username. Enter only username
tiktok-scraper hashtag [id] Scrape videos from hashtag. Enter hashtag without #
tiktok-scraper trend Scrape posts from current trends…

Depix is a tool for recovering passwords from pixelized screenshots.

This implementation works on pixelized images that were created with a linear box filter.

Usage

  • Cut out the pixelated blocks from the screenshot as a single rectangle.
  • Paste a De Bruijn sequence with expected characters in an editor with the same font settings (text size, font, color, hsl).
  • Make a screenshot of the sequence. If possible, use the same screenshot tool that was used to create the pixelized image.
  • Run python depix.py -p [pixelated rectangle image] -s [search sequence image] -o output.png

Algorithm

The algorithm uses the fact that the linear box…


Mimic is an API-compatible mock service for Openstack Compute and Rackspace’s implementation of Identity and Cloud Load balancers. It is backed by in-memory data structure rather than a potentially expensive database.

Mimic helps with:

  • fast set-up
  • instant response
  • cost efficient
  • enables offline development
  • enables ability to test unusual behaviors/errors of an api
  • acts as a central repository for mocked responses from services

Quick start

The fastest way to install and start Mimic is:

pip install mimic
twistd -n mimic
curl http://localhost:8900
>> To get started with…


Top-like interface for container metrics

ctop provides a concise and condensed overview of real-time metrics for multiple containers

as well as a single container view for inspecting a specific container.

Install

Fetch the latest release for your platform:

Linux

sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.3/ctop-0.7.3-linux-amd64 -O /usr/local/bin/ctop
sudo chmod +x /usr/local/bin/ctop

OS X

brew install ctop
sudo curl -Lo /usr/local/bin/ctop https://github.com/bcicen/ctop/releases/download/v0.7.3/ctop-0.7.3-darwin-amd64
sudo chmod +x /usr/local/bin/ctop


Img2css is a tool that can convert any image into a pure css image. This tool creates a single one pixel shadow per pixel in the source images.

How does it work?

  • Looking for a programmatic way to do this? Look at base64-image-utils.
  • I also made a per-pixel animation experiment, see morphin.


Don’t remember a function’s name? Use pyinspect to look for it.
Don't remember what a function does? Use pyinspect to print its source code directly to your terminal.
Can't figure out why you keep getting an error? Use pyinspect's fancy tracebacks to figure it out
Still can't figure it out, but too lazy to google it? Use pyinspect to print Stack Overflow's top answer for your error message directly to your terminal!

… and a bunch of other features to make your life easier when coding.

An example of how `pyinspect` can be used to find and inspect functions lazily.

Example

# import pyinspect
import pyinspect as pi

# Find the functions you're looking for
pi.search(pi, name='what')


Features

  • Only CSS. No JavaScript!
  • ~1KB minified and gzipped!
  • Supports all modern browsers
  • Built with SCSS.
  • Hover support.

Installation

1. Download form npm

npm install filters.css
<link href="https://unpkg.com/filters.css" rel="stylesheet">
<link href="css/filters.min.css" rel="stylesheet">

Usage

filters.css can be used with any css framework.

<img src="..." class="blur-3" />


Features

  • URL based imports.
  • No fs, net access unless specified.
  • Compliant to web standards.
  • Supports TypeScript.
  • Module caching.
  • Bundle your script into a single file.
  • Create a standalone executable for your bundles.

Getting Started

Try running a simple program:

// hello.ts
import { hello } from "https://x.nest.land/arweave-hello@0.0.2/mod.ts";
hello("Elsa");> elsa run hello.ts
Hello, Elsa


High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. Detox tests your mobile app while it’s running in a real device/simulator, interacting with it just like a real user.

The most difficult part of automated testing on mobile is the tip of the testing pyramid — E2E. The core problem with E2E tests is flakiness — tests are usually not deterministic. We believe the only way to tackle flakiness head on is by moving from black box testing to gray box testing. …

Kalinin Dmitry

Full-stack developer and Open Source contributor — https://github.com/null-none · https://www.linkedin.com/in/kal1sha/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store