Skip to content

Instantly share code, notes, and snippets.

@dlime
dlime / burgerbot.rb
Last active September 17, 2015 13:03 — forked from daxadax/burgerbot.rb
burgerbot
#!/usr/bin/env ruby
# modified from https://gist.github.com/pbock/3ab260f3862c350e6b5f #
# Requires Firefox and Windows
require 'rubygems'
require 'watir-webdriver'
require 'win32/sound'
include Win32
@dlime
dlime / create_opencv_deb.sh
Last active November 15, 2024 11:27 — forked from dapperfu/opencv320.sh
Build .deb package for OpenCV 4 with Python3 bindings. Optimized for Raspberry PI deep learning purposes (NEON, VFPV3, Eigen3, TBB turned on).
#!/usr/bin/env bash
MAINTAINER="Dario Limongi"
VERSION=4.1.0
# Adapted from https://www.pyimagesearch.com/2018/09/26/install-opencv-4-on-your-raspberry-pi/
sudo apt update && sudo apt upgrade -y
sudo apt-get install -y \
build-essential ccache cmake unzip pkg-config curl \
libjpeg-dev libpng-dev libtiff-dev \
@dlime
dlime / simple_scrollbar_hover_effect.css
Created May 24, 2020 11:37 — forked from howar31/simple_scrollbar_hover_effect.css
Neat and clean scrollbar with hover transition effect CSS
// Scrollbar with Hover Transition Effect
.container::-webkit-scrollbar {
width: 14px;
}
.container::-webkit-scrollbar-thumb {
background-clip: content-box;
border: 4px solid transparent;
border-radius: 7px;
box-shadow: inset 0 0 0 10px;
}
@dlime
dlime / ubuntu_focal_dev_setup.sh
Created May 25, 2020 08:35 — forked from chillipeper/ubuntu_focal_dev_setup.sh
Ubuntu 20.04 Workstation Developer Setup --> Tmux + Vim | Python & Go
#!/bin/bash
# Update repos
sudo apt update
# Upgrade system to latest packages
sudo apt -y upgrade
# Install ubuntu packages
sudo apt install -y cmake vim git curl tmux pipenv