Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
<script src="https://unpkg.com/@webcomponents/custom-elements"></script> | |
<style> | |
body { | |
margin: 0; | |
} | |
/* Style the element from the outside */ | |
/* | |
fancy-tabs { | |
margin-bottom: 32px; |
""" | |
Basic Idea taken from http://stackoverflow.com/a/8111621/6420372 | |
""" | |
import os | |
import socket | |
import subprocess | |
from select import select | |
import time | |
import contextlib |
obs = obslua | |
source_name = "" | |
vlc_name = "" | |
scene_name = "" | |
replaying = false | |
autoclear = false | |
addall = false | |
replaylength = 10 | |
instant_hotkey_id = obs.OBS_INVALID_HOTKEY_ID | |
add_hotkey_id = obs.OBS_INVALID_HOTKEY_ID |
// From http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/ | |
// Start with a temperature, in Kelvin, somewhere between 1000 and 40000. (Other values may work, | |
// but I can't make any promises about the quality of the algorithm's estimates above 40000 K.) | |
function colorTemperatureToRGB(kelvin){ | |
var temp = kelvin / 100; |
Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
Welcome to [Your Website Name] (hereinafter referred to as "the Website"). In order to provide you with a secure and seamless experience while using the various services and information on our website, we are committed to protecting your privacy rights. Please read the following information carefully:
This Privacy Policy outlines how we handle the collection, processing, and utilization of personal identifiable information when you use our website's services. This Privacy Policy does not apply to other related websites not operated by us or to individuals not managed or commissioned by us.
# JS snippet for email notification settings, e. g. Twitter | |
cb=document.querySelectorAll('input[type="checkbox"]');for(i in cb){cb[i].checked=false} | |
# for Drupal 4.x comment approval form | |
cbx=document.getElementsByClassName('form-checkbox');for(i in cbx){cbx[i].checked=true} |
[DllImport("user32.dll")] | |
public static extern int ToUnicode(uint virtualKeyCode, uint scanCode, | |
byte[] keyboardState, | |
[Out, MarshalAs(UnmanagedType.LPWStr, SizeConst = 64)] | |
StringBuilder receivingBuffer, | |
int bufferSize, uint flags); | |
/// <summary> | |
/// https://stackoverflow.com/a/6949520/450141 |
/** | |
* Simulate a key event. | |
* @param {Number} keyCode The keyCode of the key to simulate | |
* @param {String} type (optional) The type of event : down, up or press. The default is down | |
* @param {Object} modifiers (optional) An object which contains modifiers keys { ctrlKey: true, altKey: false, ...} | |
*/ | |
function simulateKey (keyCode, type, modifiers) { | |
var evtName = (typeof(type) === "string") ? "key" + type : "keydown"; | |
var modifier = (typeof(modifiers) === "object") ? modifier : {}; |
var elem = (document.getElementsByClassName('mentionsTextarea'))[0]; | |
elem.value = 'www.youtube.com'; | |
elem.blur(); | |
elem.value += ' '; | |
var evt = document.createEvent('KeyboardEvent'); | |
evt.initKeyEvent( | |
'keypress', | |
true, // key down events bubble | |
true, // and they can be cancelled | |
null, // Use the default view |