This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spiffsgen.py | |
*/cfg.obs | |
*.spiffs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#asana_main { | |
background-image: linear-gradient(to bottom, #f6f8f9, #A2F4DF); | |
background: #333; | |
box-shadow: 0 0 6px #222 inset; | |
} | |
.Sidebar { | |
background: #2a2e46; | |
background: #222; | |
} | |
.SidebarHeader-asanaLogo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: ELmoussaoui Bilal <[email protected]> | |
pkgname=gradio-git | |
_gitname=gradio | |
pkgver=5.0.0 | |
pkgrel=3 | |
pkgdesc='A GTK3 app for finding and listening to internet radio stations' | |
arch=('i686' 'x86_64') | |
license=('GPL3') | |
url="https://github.com/haecker-felix/gradio" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// setup.js | |
console.log('starting timeout'); | |
setTimeout(function() { | |
console.log('timeout triggered, running suite'); | |
run(); | |
}, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
* Finally! Someone who understands we don't need to put the | |
* start, end, duration, etc. into the easing forumlae. | |
*/ | |
var EasingFunctions = { | |
// no easing, no acceleration | |
linear: function (t) { return t }, | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Data mining 2014, practical tutorial 5, example for | |
# *** Self-Organising Map *** | |
# Copyright agreement: | |
# Do whatever you want. | |
import numpy, scipy, sys, subprocess | |
iterations = int(sys.argv[2]) | |
# set parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local class = require("util/middleclass") | |
function assert_vector(v) | |
assert(v ~= nil and v:isInstanceOf(Vector)) | |
end | |
Vector = class("Vector") | |
function Vector:initialize(x, y) | |
self.x = x or 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GAME=$1 | |
DIR="/sdcard/love" | |
MIME="application/x-love-game" | |
INTENT="org.love2d.android/.GameActivity" | |
if [[ -z "$1" ]]; then | |
GAME="game.love" | |
echo "Creating game package at $GAME" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shortened version of this: | |
// http://www.bpfh.net/simes/computing/chroot-break.html | |
#include <stdio.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <ctime> | |
#include <random> | |
class Random { | |
public: | |
static void Initialize() { | |
Generator.seed(time(0)); | |
} |
NewerOlder