Simple loading indicator animation for @alpcanaydin
A Pen by Denis Omeri on CodePen.
$ git checkout -b release-VERSIONNUMBER develop | |
$ ./bump-version.sh VERSIONNUMBER | |
$ git commit -a -m "Bumped version number to VERSIONNUMBER" |
// Listen for events on the Feedback Text Area | |
jQuery(document).ready(function($) { | |
updateCountdown(); | |
$('.message').change(updateCountdown); | |
$('.message').keyup(updateCountdown) | |
}); | |
// Display the number of remaining characters in the Feedback Text Area | |
function updateCountdown() { | |
// Max number of characters 2500 |
using UnityEngine; | |
using System.Collections; | |
// Camera Controller | |
// Revision 2 | |
// Allows the camera to move left, right, up and down along a fixed axis. | |
// Attach to a camera GameObject (e.g MainCamera) for functionality. | |
public class CameraController : MonoBehaviour { |
public class CameraController : MonoBehaviour { | |
public bool useCInput = false; // whether or not to use cInput 2.x | |
public Transform focusTarget; // we look at and follow this | |
[HideInInspector] | |
// How fast the camera moves | |
public int cameraVelocity = 10; |
Simple loading indicator animation for @alpcanaydin
A Pen by Denis Omeri on CodePen.
/** | |
* Utility function that allows for the quick creation of a StateModifier to modifiy the opacity of a renderable | |
* | |
* @param {!number} startOpacity The initial opacity of the object at the start of the transition (0-1) | |
* @param {!number} endOpacity The final opacity of the object at the end of the transition (0-1) | |
* @param {Transition} transition The curve function and duration that affects the opacity | |
* @param {function} callback Callback function after the transition | |
* @return {StateModifier} | |
* | |
* @example |
#!/bin/sh | |
# | |
# Nukes a branch locally and on the origin remote. | |
# | |
# $1 - Branch name. | |
# | |
# Examples | |
# | |
# git nuke add-git-nuke |
define(function, exports, module) { | |
var View = require('famous/core/View'); | |
var Entity = require('famous/core/Entity'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var Transitionable = require('famous/transitions/Transitionable'); | |
var TransitionableTransform = require('famous/transitions/TransitionableTransform'); | |
function FlexGrid() { | |
View.apply(this, arguments); |
// Props to Thomas Fuchs ;) | |
// usage: | |
// var options = { | |
// id: SiteLink | |
// href: https://kraigwalker.com | |
//} | |
// return t('<a href="{href}" id="{id}"></a>', options); | |
function t(s, d) { | |
for(var p in d) |
# put this in your .bashrc/.zshrc file | |
alias gri="git ls-files --ignored --exclude-standard | xargs git rm" |