I've been having some fun recently making visual art with Clojure and Quil, especially animated GIFs. In the course of doing this, I've come into contact with many GIFs made by other artist-programmers, some of which have included source code. I'm republishing one of them, called rainbow kiss,
// List all fonts on iPhone | |
NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]]; | |
NSArray *fontNames; | |
NSInteger indFamily, indFont; | |
for (indFamily=0; indFamily<[familyNames count]; ++indFamily) | |
{ | |
NSLog(@"Family name: %@", [familyNames objectAtIndex:indFamily]); | |
fontNames = [[NSArray alloc] initWithArray: | |
[UIFont fontNamesForFamilyName: | |
[familyNames objectAtIndex:indFamily]]]; |
#!/usr/bin/python2 | |
# Copyright (C) 2016 Sixten Bergman | |
# License WTFPL | |
# | |
# This program is free software. It comes without any warranty, to the extent | |
# permitted by applicable law. | |
# You can redistribute it and/or modify it under the terms of the Do What The | |
# Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: btsync | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Multi-user daemonized version of btsync. |
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
// | |
// UIColor.swift | |
// previously Color+HexAndCSSColorNames.swift | |
// | |
// Created by Norman Basham on 12/8/15. | |
// Copyright ©2018 Black Labs. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
Run go install
and
gogitlocalstats -add /path/to/folder
will scan that folder and its subdirectories for repositories to scangogitlocalstats -email [email protected]
will generate a CLI stats graph representing the last 6 months of activity for the passed email. You can configure the default inmain.go
, so you can rungogitlocalstats
without parameters.
Being able to pass an email as param makes it possible to scan repos for collaborators activity as well.
Buying locally used is a great option. Just make sure to be safe (duh) and individually demo the speakers before you buy. Buying affordable speakers used online is tough due to shipping costs; they can easily run $50-$100 or higher which kind of kills the value.
Our own sidebar guides are a great resource for bookshelf speakers/ and tower speakers.
This roundup of bookshelf speakers at TheWirecutter is a good place to get started. There are some notable omissions, but it's fairly comprehensive and (most importantly) it offers some background about what to look for.
Speakers (Compact)
{ | |
"name": "my-app-using-require-and-imports-same-codebase", | |
"scripts": { | |
"watch": "./node_modules/.bin/watchify client.js -t [ babelify --global --sourceType unambiguous --presets ['@babel/preset-env' ] ] -o client.bundle.js -d -v", | |
"compile": "./node_modules/.bin/browserify client.js -t [ babelify --global --sourceType unambiguous --presets ['@babel/preset-env' ] ] -o client.bundle.js", | |
"compress": "./node_modules/.bin/uglifyjs client.bundle.js --compress --mangle -o client.bundle.js", | |
"start": "node server.js" | |
}, | |
"devDependencies": { | |
"@babel/polyfill": "^7.4.4", |