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
// ==UserScript== | |
// @name OpenClipart Tag Copy Helper | |
// @namespace https://github.com/qubodup | |
// @version 0.1 | |
// @description makes copying tags easier, for remixing | |
// @author qubodup | |
// @match https://openclipart.org/detail/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=openclipart.org | |
// @grant none | |
// ==/UserScript== |
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 code is dedicated to the public domain https://creativecommons.org/publicdomain/mark/1.0/ | |
# A very simple Flask Hello World app for you to get started with... | |
# SECURITY RISK START | |
FSKEY = "FREESOUND API KEY" | |
# SECURITY RISK OVER | |
html_header = """<!DOCTYPE HTML> | |
<html> |
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
$('div').each(function() { | |
if (!(this.hasAttribute('class') || this.hasAttribute('id'))) { | |
console.log("OMGvvv"); | |
console.log(this); | |
console.log("OMG^^^"); | |
} | |
}); |
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
var classes = [] | |
$('div').each(function() { | |
if (this.hasAttribute('class')) { | |
classes = classes.concat( $(this).attr("class").split(/\s+/) ); | |
} | |
}); | |
classes = [...new Set(classes)]; |
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 Iwan 'qubodup' Gabovitch | |
-- licesnse/terms: public domain (cc0) | |
-- meaning do what you want, no credit needed, you can delete this text too | |
-- video tutorial: https://youtu.be/sArl6wypDfY | |
-- you can make a bee.png from https://openclipart.org/detail/215877/cartoon-bee | |
function love.load() | |
gw = love.graphics.getWidth() -- game width | |
gwp = gw/10 -- game widht "part" |
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
<!DOCTYPE html><html><head><meta charset="UTF-8"> | |
<script src="qrc:/scripts/jquery.js"></script> | |
<script src="qrc:/scripts/rangy-core.js"></script> | |
<script src="qrc:/scripts/rangy-cssclassapplier.js"></script> | |
<script src="qrc:/scripts/htmleditor.js"></script> | |
<!-- this is possible thanks to http://www.elusien.co.uk/shotcut/ --> | |
<style> | |
html, body {margin: 0; width: 100%; height: 100%; overflow: hidden; } | |
#credits {position: absolute; top: 100%; width: 100%; padding: 25px 0; margin:0; text-align: center;} | |
/****************************************/ |
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
[Contractor Entry] | |
Name=Open terminal here | |
Icon=terminal | |
Description=Open terminal here | |
MimeType=inode;application/x-sh;application/x-executable; | |
Exec=pantheon-terminal -w %U | |
Gettext-Domain=pantheon-terminal |
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
# convert_materials_to_cycles.py | |
# | |
# Copyright (C) 5-mar-2012, Silvio Falcinelli. Fixes by others. | |
# | |
# special thanks to user blenderartists.org cmomoney | |
# | |
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License |
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
For this video: http://youtu.be/mxce5nKIe5k | |
[youtube]{SIMPLETEXT}[/youtube] | |
<iframe width="560" height="410" src="http://www.youtube.com/embed/{SIMPLETEXT}"></iframe><br /> | |
<a href="http://youtu.be/{SIMPLETEXT}">youtu.be/{SIMPLETEXT}</a> | |
[youtube]VideoID[/youtube] example: [youtube]mxce5nKIe5k[/youtube] |
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
import bpy | |
import time | |
from datetime import datetime | |
from bpy.app import handlers | |
print("================") | |
global DEVICES | |
global RESOLUTIONS | |
global CLOCK |
NewerOlder