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
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.Events; | |
using System.Collections; | |
public class DynamicVideo : MonoBehaviour { | |
public string _url = "http://www.unity3d.com/webplayers/Movie/sample.ogg"; | |
public RawImage texture; |
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
REM converting multiple FLV to MP4 using FFMPEG on Windows CMD | |
for %1 in (*.flv) do ffmpeg -i %1 -vcodec h264 -acodec ac3 -qscale 0 %~n1.mp4 | |
REM converting FLV to MP4 using FFMPEG on Windows CMD | |
ffmpeg -i input.flv -vcodec h264 -acodec ac3 -qscale 0 output.mp4 | |
REM crop mp4 | |
ffmpeg -i input.flv -vcodec h264 -acodec ac3 -qscale 0 -filter:v "crop=450:340:0:0" 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
//MOVE EASY | |
hero.moveRight = function() { | |
var target = { "x": hero.pos.x + 6, "y": hero.pos.y }; | |
while(hero.distanceTo(target) > 0.1) { | |
hero.move(target); | |
} | |
}; | |
hero.moveLeft = function() { | |
var target = { "x": hero.pos.x - 6, "y": hero.pos.y }; |
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
/** | |
RECAPTCHA | |
Stop wordpress with buddypress spam | |
Remember to replace "YOUR SECRET" and "YOUR SITE KEY". | |
**/ | |
//these files are required, you can find it here: | |
//https://github.com/google/recaptcha | |
require_once __DIR__ . '/ReCaptcha/RequestMethod.php'; | |
require_once __DIR__ . '/ReCaptcha/RequestMethod/Post.php'; |
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
<?php | |
$mylist = array("item 1", "item 2", "item 3", "item 4", "item 5"); | |
function clone_array_sorted($list) { | |
$keys = array_keys($list); | |
shuffle($keys); | |
$random = array(); | |
foreach ($keys as $key){ | |
$random[] = $list[$key]; | |
} |
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
# Code by @Vamoss | |
# Run at Pyp5js editor | |
# https://abav.lugaralgum.com/pyp5js/pyodide/ | |
positions = [] | |
GRID_SIZE = 20 | |
def setup(): | |
global positions | |
size(500, 500) |
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
/* Ether Dream interface library | |
* | |
* Copyright 2011-2012 Jacob Potter | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of either the GNU General Public License version 2 | |
* or 3, or the GNU Lesser General Public License version 3, as published | |
* by the Free Software Foundation, at your option. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file has been truncated, but you can view the full file.
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
{ | |
"a": ["acrescentar","adicionar","agregar","ajuntar","anexar","apensar","filiar","incorporar","juntar","ligar","reunir","unir"], | |
"aaedo": ["acerbo","acetoso","acido","acre","acético","agre","agro","avinagrado","azedo","mordaz","picante","queimante","ácido","áspero"], | |
"aalma": ["psique"], | |
"aantarrão": ["beato","igrejeiro"], | |
"aãsolar": ["afligir","arrasar","arruinar","consternar","desolar","despovoar","devastar","magoar"], | |
"aba": ["abrigo","achego","acostamento","adesão","adminículo","agasalho","ajuda","amparo","anteparo","apadrinhamento","apoio","aprovação","arrimo","asilo","assentimento","assistência","auréola","auspiciar","autoridade","auxíjlio","auxílio","bafejo","baluarte","base","beira","beirada","borda","bordo","bordão","broquel","cairel","capa","clivo","coluna","conchego","custódia","declive","defesa","descanso","domínio","eixo","encosta","encosto","escora","espeque","esteio","extremidade","falda","fautoria","favor","fomento","força","fralda","fulcro","fé","garantia","halo","iminência","importância","i |