Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
Discover gists
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
diff --git a/src/js/Components/Routine/LaunchPositionRecorder.js b/src/js/Components/Routine/LaunchPositionRecorder.js | |
index a90594c9..9ba72a9c 100644 | |
--- a/src/js/Components/Routine/LaunchPositionRecorder.js | |
+++ b/src/js/Components/Routine/LaunchPositionRecorder.js | |
@@ -5,19 +5,32 @@ export default class LaunchPositionRecorder { | |
this.context = context; | |
} | |
mainGameWindow(delay) { | |
- | |
- // contextがiframe内(parentを持ってる)なら、parentにやらせる |
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
from fastapi import Request, HTTPException | |
from pydantic import BaseModel, BaseModel, HttpUrl | |
from modal import Secret, App, web_endpoint, Image | |
from typing import Optional, List | |
from example import proposal | |
import os | |
app = App(name="circleback", image=Image.debian_slim().pip_install("openai", "pydantic", "fastapi")) | |
class Attendee(BaseModel): |
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
$('#Notificacion').click(function() { | |
if (Notification && Notification.permission !== "granted") { | |
Notification.requestPermission(function(status) { | |
if (Notification.permission !== status) { | |
Notification.permission = status; | |
} | |
}); | |
} else {//Si se tiene permiso | |
var n = new Notification("OCB - Nueva Operació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
#o:: | |
WinSet, Alwaysontop, , A | |
WinGet, ExStyle, ExStyle, A | |
if (ExStyle & 0x8) ; 0x8 is WS_EX_TOPMOST | |
{ | |
WinSet, Transparent, 204, A | |
} | |
else | |
{ |
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
/* Original style: http://userstyles.org/styles/46647/rtm-on-top-chrome */ | |
/* Fix 1: Modified notifications to show on bottom (div.orange_rbroundbox) */ | |
/* Fix 2: Hide the online help and keyboard shortcut divs */ | |
/* Remove these comments if the style doesn't work :) */ | |
.xtd_task_name { | |
display: block ; | |
margin-bottom: 3px ; | |
font-size: 10pt; | |
} |
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
//Ordinary function acting as constructor for parent object | |
var Species = function(canFly){ | |
this.canFly = canFly; | |
} | |
//Instantiating the parent object (Nothing new here) | |
var landAnimal = new Species(false); | |
//Ordinary function acting as constructor for child object | |
var Dog = function(numLegs){ | |
this.numLegs = numLegs; | |
} |
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
//Object.create() creates an empty Object landAnimal | |
var landAnimal = Object.create(); | |
//canFly property is set for landAnimal which will be used as the parent object | |
landAnimal.canFly = false; | |
//Object.create(landAnimal) will create an object with landAnimal as the __proto__ | |
var Dexter = Object.create(landAnimal); | |
//numLegs property is set for the child object Dexter | |
Dexter.numLegs = 4; | |
console.log(Dexter.numLegs); //numLegs is found at Dexter so it will print 4 | |
console.log(Dexter.canFly); // canFly not found at Dexter, but found at __proto__ (i.e. landAnimal) so it will print false |
English manual for the ZUOYA GMK67 Mechanical Keyboard. Made from the printed version (Original).
NewerOlder