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
# assume you have out.mp4 that is a normal video | |
!ffmpeg -y -r 30 -i out.mp4 -vf reverse reversed.mp4 | |
!ffmpeg -y -i out.mp4 -i reversed.mp4 -filter_complex "concat=n=2:v=1:a=0" output.mp4 | |
print('\nSeamless loop (original saved to out.mp4):') | |
show_video('output.mp4') |
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
from pytezos import pytezos | |
pytezos = pytezos.using(shell='mainnet') | |
# Enter the tokens you are interested in from fa2_token_list.py | |
tokens = dict( | |
hDAO = ('KT1QxLqukyfohPV5kPkw97Rs6cw1DDDvYgbB', 6), | |
WRAP = ('KT1FG63hhFtMEEEtmBSX2vuFmP87t9E7Ab4t', 8), | |
bDAO = ('KT1DssMzoSr8fnUUq1WxeSuHfLG4gzS7pgge', 6), | |
STKR = ('KT1BMEEPX7MWzwwadW3NCSZe9XGmFJ7rs7Dr', 18), |
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
Laser Hexagon | |
https://github.com/tmplab/laser-hexagon | |
Laser Asteroids | |
https://github.com/tmplab/laser-asteroids | |
https://github.com/echelon/laser-asteroids | |
Laser Pong | |
https://github.com/tmplab/Laserpong | |
https://github.com/echelon/laser-pong |
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
// Lucas Morgan - www.enviral-design.com // | |
#define USE_OCTOWS2811 | |
#include<OctoWS2811.h> | |
#include<FastLED.h> | |
// ------------ Change these as neccesary -----------// | |
#define NUM_LEDS_PER_STRIP 460 | |
#define NUM_STRIPS 8 |
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
/* | |
Ported from: https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/nlp/paragraphvectors/ParagraphVectorsClassifierExample.java | |
NOTE - you must download the paravec resources data to /opt/data/paravec on your SKIL server. | |
https://github.com/deeplearning4j/dl4j-examples/tree/master/dl4j-examples/src/main/resources/paravec | |
*/ | |
import scala.collection.JavaConversions._ | |
import org.datavec.api.util.ClassPathResource; | |
import org.nd4j.linalg.primitives.Pair; |
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
The canonical example is here: | |
https://github.com/j4cbo/j4cDAC/tree/master/tools/tester | |
a number of projects have been based off dac.py. Lots of them use pygame. | |
Most of the code only seems to run on python 2.7. | |
On windows, python 2.7 drops frames due to some buggy network packets. |
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
package main | |
import "log" | |
// Our container | |
type Application struct { | |
DB Database | |
} | |
// Interface for a system component |
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
/** | |
* This sample lets you record and share video with Appcelerator Titanium on Android. | |
* Tested on 3.2.1 of TITANIUM MOBILE SDK, should work on 3.x. I don't know about previous versions. | |
* | |
* Based on https://gist.github.com/dawsontoth/832488 | |
* which does not fire the activity callback on 3.x | |
*/ | |
/** | |
* First, create our UI. We'll have two buttons: record, and share. |