/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
| /* | |
| I Just, realize we cannot use the content ID for embed video id | |
| https://rumble.com/v2c4m5a-pre-fight-press-conference-power-slap-1-finale.html <- the ID {v2c4m5a} | |
| We cannot simply make the embed URL with that ID because the Embed video URL is using different ID, | |
| here is the embed Video URL for that html content : https://rumble.com/embed/v29j6ea <- the embed ID {v29j6ea} | |
| See there is different id there. | |
| So we need to request/download the page/web with URL session in order to get the embed id from the HTML response. |
| import torch | |
| import numpy as np | |
| import k_diffusion as K | |
| from PIL import Image | |
| from torch import autocast | |
| from einops import rearrange, repeat | |
| def pil_img_to_torch(pil_img, half=False): | |
| image = np.array(pil_img).astype(np.float32) / 255.0 |
| { | |
| "+1": "👍", | |
| "-1": "👎", | |
| "100": "💯", | |
| "1234": "🔢", | |
| "8ball": "🎱", | |
| "ab": "🆎", | |
| "abc": "🔤", | |
| "abcd": "🔡", | |
| "accept": "🉑", |
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
| /* It is recommended to use dlopen & dlsym to call these functions, and use this header as a reference. | |
| Example: | |
| void *IOMobileFramebuffer = dlopen("/System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer", RTLD_LAZY); | |
| IOMobileFramebufferReturn (*IOMobileFramebufferGetMainDisplay)(IOMobileFramebufferRef *pointer) = dlsym(IOMobileFramebuffer, "IOMobileFramebufferGetMainDisplay"); | |
| dlclose(IOMobileFramebuffer); */ | |
| /* You may have to include your IOSurface header to compile, because of the IOMobileFramebufferGetLayerDefaultSurface function. If you do not have it, you may just uncomment the typedef to an IOSurface below. */ | |
| #include <stdio.h> | |
| #include <sys/mman.h> | |
| #include <mach/mach.h> |
EMOJI CHEAT SHEET
Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
People
๐
| !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.blobUtil=e():"undefined"!=typeof global?global.blobUtil=e():"undefined"!=typeof self&&(self.blobUtil=e())}(function(){return function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var f=n[u]={exports:{}};t[u][0].call(f.exports,function(e){var n=t[u][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t){"use strict";function n(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=-1;++o<t;)r[o]=e.charCodeAt(o);return n}function r(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=-1;++o<r;)t+=String.fromCharCode(n[o]);return t}function o(e,t){return new L(function(n,r){var o=new Image;t&&(o.crossOrigin=t),o.onload=function( |
| /* | |
| * Trigger a file open dialog and read local file, then read and log the file contents | |
| */ | |
| var element = document.createElement('div'); | |
| element.innerHTML = '<input type="file">'; | |
| var fileInput = element.firstChild; | |
| fileInput.addEventListener('change', function() { | |
| var file = fileInput.files[0]; |
| function parseVideo (url) { | |
| // - Supported YouTube URL formats: | |
| // - http://www.youtube.com/watch?v=My2FRPA3Gf8 | |
| // - http://youtu.be/My2FRPA3Gf8 | |
| // - https://youtube.googleapis.com/v/My2FRPA3Gf8 | |
| // - Supported Vimeo URL formats: | |
| // - http://vimeo.com/25451551 | |
| // - http://player.vimeo.com/video/25451551 | |
| // - Also supports relative URLs: | |
| // - //player.vimeo.com/video/25451551 |