Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
# This script assumes a dump of images from the Everyday iOS app. | |
# It distributes all images from images/ into N subdirectories, | |
# starting with 1 and proceeding to N. | |
# the intention is to load these images into a video editor | |
# to make a variant of Kalina's videos that shows multiple | |
# images at once. | |
require 'FileUtils' | |
print "Looking for images in folder 'images'... " |
[package] | |
name = "bk" | |
version = "0.1.0" | |
authors = ["Jan Stępień"] |
<?php | |
// Nav Menu Dropdown Class | |
include_once( CHILD_DIR . '/lib/classes/nav-menu-dropdown.php' ); | |
/** | |
* Mobile Menu | |
* | |
*/ | |
function be_mobile_menu() { |
Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
#!/bin/sh | |
help() { | |
cat << EOF | |
spin(1) | |
NAME | |
spin - begin or end a spinner background process | |
SYNOPSIS |
A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.
Nightly required - get link from the bottom of this page (e.g. https://openframeworks.cc/ci_server/versions/nightly/of_v20190324_linuxarmv7l_nightly.tar.gz) | |
https://openframeworks.cc/download/ | |
Download OF and unpack: | |
wget https://openframeworks.cc/ci_server/versions/nightly/of_v20190324_linuxarmv7l_nightly.tar.gz | |
tar -zxvf of_v20190324_linuxarmv7l_nightly.tar.gz | |
mv of_v20190324_linuxarmv7l_nightly openFrameworks |
#!/bin/bash | |
DAYS_SINCE_LAST_CHANGE=14 # If a project hasn't been touched in this long its node_modules will be deleted | |
SEARCH_PATH="./Git" # Update this to the path where your code is stored | |
TOTAL_BYTES_REMOVED=0 | |
Mb=1000000 | |
Kb=1000 | |
node_modules=$(find $SEARCH_PATH -name "node_modules" -type d -prune) |
;; This is at: https://gist.github.com/8655399 | |
;; So we want a rhyming dictionary in Clojure. Jack Rusher put up | |
;; this code here: | |
;; | |
;; https://gist.github.com/jackrusher/8640437 | |
;; | |
;; I'm going to study this code and learn as I go. | |
;; | |
;; First I put it in a namespace. |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) | |
return 0.5 * pow(2*p, g); |