- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
hs.hotkey.bind(modShiftHyper, "W", function() | |
-- local tracking = false | |
local startingMousePosition = hs.mouse.getAbsolutePosition() | |
local max = hs.screen.mainScreen():fullFrame() | |
local maxCanvas = hs.canvas.new{x=max.x, y=max.y, h=max.h, w=max.w} | |
maxCanvas:clickActivating(false) | |
maxCanvas:canvasMouseEvents(true, true, false, true) | |
maxCanvas:mouseCallback(function(_, event, id, x, y) | |
local currentMousePosition = hs.mouse.getAbsolutePosition() |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
// http://aboutcode.net/2010/11/11/list-github-projects-using-javascript.html | |
jQuery.githubUser = function(username, callback) { | |
jQuery.getJSON("http://github.com/api/v1/json/" + username + "?callback=?", callback); | |
} | |
jQuery.fn.loadRepositores = function(username) { | |
this.html("<span>Querying GitHub for repositories...</span>"); | |
var target = this; |
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 | |
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) | |
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) | |
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) | |
at java.util.Objects.checkIndex(Objects.java:359) | |
at java.util.ArrayList.get(ArrayList.java:434) | |
at org.telegram.ui.jx.和他们一起打昆特牌我爱抽烟一天十根直到肺病变(Unknown Source:60) | |
at org.telegram.ui.jx.游戏发生在一个被称作红墓市的幻想世界(Unknown Source:454) | |
at org.telegram.ui.ActionBar.ActionBarLayout.在自由的对局中邂逅性格各异能力独特的同伴们(Unknown Source:301) | |
at org.telegram.ui.ActionBar.哥收获了好多money.但是烟神(Unknown Source:8) |
<div id="slideshow"> | |
<img src="http://farm6.static.flickr.com/5243/5373962623_0e23ed169b_t.jpg"> | |
<img src="http://farm6.static.flickr.com/5007/5374562138_30e01a767f_t.jpg" style="display:none"> | |
<img src="http://farm6.static.flickr.com/5288/5374562162_d48ca16567_t.jpg" style="display:none"> | |
<img src="http://farm6.static.flickr.com/5084/5374562208_3e1bbe58cc_t.jpg" style="display:none"> | |
<img src="http://farm6.static.flickr.com/5086/5374562182_5ec5c14403_t.jpg" style="display:none"> | |
</div> | |
<script type="text/javascript"> | |
var ims = document.getElementById('slideshow').children; |
#!/usr/bin/env node | |
var sys = require('sys'); | |
function go (fn) { | |
setTimeout(fn, 0); | |
}; | |
var chan = function () { | |
this.readers = []; // [cb, ...] |
set -g mouse on | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" | |
bind -n WheelDownPane select-pane -t= \; send-keys -M | |
bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M | |
bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up | |
bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down | |
bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up | |
bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down | |
# To copy, left click and drag to highlight text in yellow, |