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
def engineSound (): | |
from bge import logic | |
cont = logic.getCurrentController() | |
# Name of the Sound Actuator playing your sound | |
sound = cont.owner.actuators["enginesound"] | |
# Replace "Car" with the Name of your car | |
speed = abs(round(sum(scn.objects["Car"].linearVelocity), 2) * 0.25) |
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 datetime | |
class BackupPanel(bpy.types.Panel): | |
"""Creates a Panel in the Object properties window""" | |
bl_label = "Backup" | |
bl_idname = "OBJECT_PT_backup" | |
bl_space_type = 'PROPERTIES' | |
bl_region_type = 'WINDOW' | |
bl_context = "object" |
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
function download() { | |
var IDs = []; | |
var users = []; | |
var elements = Array.prototype.slice.apply(document.querySelectorAll("div[role='listitem'] div[data-user-id][data-screen-name].ProfileCard")); | |
elements.forEach(function(element) { | |
var user = {id: element.getAttribute("data-user-id"), name: element.getAttribute("data-screen-name")}; | |
IDs.push(user.id); | |
users.push(user); | |
}); |
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 IDs = []; | |
var users = []; | |
var result = '{"users":[\n'; | |
var elements = Array.prototype.slice.apply(document.querySelectorAll("div[role='listitem'] div[data-user-id][data-screen-name].ProfileCard")); | |
elements.forEach(function(element) { | |
var user = {id: element.getAttribute("data-user-id"), name: element.getAttribute("data-screen-name")}; | |
IDs.push(user.id); | |
result += '{"id":"' + user.id + '"},\n'; | |
}); |
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 AO3 Stats | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description display ao3 stats | |
// @author mxamber | |
// @match https://archiveofourown.org/works/* | |
// @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
<!doctype HTML> | |
<html> | |
<head> | |
<title>Stan Twitter Name Generator</title> | |
<style> | |
html { | |
background: #666; | |
} | |
#main { |
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> | |
<title>morse code trainer</title> | |
<meta name="title" content="morse corde trainer"> | |
<meta name="description" content="a simple morse code trainer to learn the morse alphabet"> | |
<meta name="author" content="https://gitub.com/mxamber"> | |
<meta charset="UTF-8"> | |
<link rel="icon" type="data:image/png" href=" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5QUSFxIo7IVdKQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABlElEQVR42u3dO46DMBRAUTOaDrZD/7wZNuA9wQahdqop0owCmfAZzpHcBb0oviKJG5paa03c1pePQAAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABIAAEAACQAAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABIAAEAACYF/fr76waZpD3+jVHmxylc/LHcBXAAJAAAgAASAABIAAuInGs4PdARAAAkAACAABXMs0TSnnnLque1o55zRN02VmHKZeWCmlppR+XaWU0884UvrPm//uBu0xQwAbjOP48sb8rHEcTzdDABtFxOrNiYjTzTiDSx4Fd12XlmVZdU3btmme51PN8C8AASAABLBO3/cfv2aPGQLYaBiGj1+zxwwngQ6CnAM4ChbA26eCEVHbtn1aEfFnJ3N7zHAQhB+BCAABIAAEgAAQAAJAAAgAASAABIAAEAACQAAIAAEgA |
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 Twitter Transphobe Search | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Find trans-related tweets from any public user | |
// @author mxamber | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?domain=twitter.com | |
// @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
// ==UserScript== | |
// @name Fedi Tab Title | |
// @version 0.1 | |
// @grant none | |
// @description Dynamic tab title for Mastodon-based Fediverse instances. | |
// @author mxamber | |
// ==/UserScript== | |
/* |
OlderNewer