Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| // uses love2d 'effect' entry point | |
| uniform float time = 0.0f; | |
| float pi = 3.14159; | |
| float intersect(float value1, float value2) | |
| { | |
| return value1 * value2; | |
| } |
| function love.conf(t) | |
| t.window.title = "LovePixlr Demo" | |
| t.window.resizable = true | |
| end |
This script provides a context menu item in the Project window (as well as an extra option in the Assets>Create menu) that will instantiate the selected Scriptable object and save it as an asset to a folder of your choosing.
Throw this script in any folder called Editor in your assets folder.
| settings_table = { | |
| { | |
| -- Edit this table to customise your rings. | |
| -- You can create more rings simply by adding more elements to settings_table. | |
| -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'. | |
| name='time', | |
| -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''. | |
| arg='%I.%M', | |
| -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100. | |
| max=12, |
| #!/usr/bin/env ruby | |
| # | |
| # lolcommitify.rb - adds the post-commit hook of https://github.com/mroth/lolcommits | |
| # to every single git repository on a directory, recursively | |
| # | |
| # Copyright 2013 Chester ([email protected]), BSD-style copyright and disclaimer apply | |
| # (http://opensource.org/licenses/bsd-license.php) | |
| require 'fileutils' |
| -- small improvement from http://tannerrogalsky.com/blog/2012/04/06/control-maps-in-love2d/ | |
| -- this version has a cleaner control_map by calling m | |
| class "GameController" { | |
| moveUp = function(self) | |
| end, | |
| control_map = { | |
| keyboard = { | |
| on_press = { |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <AL/alut.h> | |
| #include <vorbis/codec.h> | |
| #include <vorbis/vorbisfile.h> | |
| char pcmout[16*1024]; | |
| void check_error() | |
| { |
| if not sinatra.incoming ( ngx.req.get_method() , ngx.var.uri ) then | |
| return ngx.exit ( 404 ) | |
| end |
| fib = setmetatable({1, 1}, | |
| {__index = function(t,n) | |
| t[n] = t[n-1] + t[n-2] | |
| return t[n] | |
| end}) |