Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
A list of links containing cool references, resources and things related to books about Computer Science and related.
# ========================================================== | |
# DASHBOARD YAML | |
# All examples will need to be edited to use your entity | |
# names and particular installation. | |
# | |
# This dashboard example includes a toggle with conditional | |
# cards to switch between custom button card and standard | |
# entities display as shown in the video: | |
# https://youtu.be/mj2CIKqrQlc | |
# ========================================================== |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
import os | |
import gridfs | |
from django.http import HttpResponse | |
from pymongo.connection import Connection | |
from django.shortcuts import get_object_or_404, render_to_response | |
from django.http import HttpResponseRedirect, HttpResponse | |
from django.template import Context, RequestContext,loader | |
from bson.object import ObjectId | |
#uploading form including image/file |
(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
//This quick guide will show you how add an optional web-app (iOS) view to your Twine game! | |
//First you'll need to open up your Twine (.tws) file. | |
1. Add a new passage to your story and name it "script" | |
2. Enter the tags section and add the word "script" | |
3. Now, in the main body, add the code: | |
document.addEventListener('touchmove', function(e) { | |
e.preventDefault(); | |
}, false); |
type GrabConstructorParameters<T> = { | |
[K in keyof T]: T[K] extends new (...args: infer P) => any ? P : never; | |
} | |
// https://stackoverflow.com/a/50375286 | |
type UnionToIntersection<U> = | |
(U extends any ? (x: U)=>void : never) extends ((x: infer I)=>void) ? I : never | |
type JoinConstructors<T extends (new (...args:any[]) => any)[]> = | |
new (...args: GrabConstructorParameters<T>) => UnionToIntersection<InstanceType<T[number]>> |
Quick install guide for Arch -- if you're looking for an automated installer, consider Arch Anywhere.
Download the latest version from: https://www.archlinux.org/download/