New API
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
console.log('lol'); | |
(()=>{const e=`emiolo.lgpd.${window.location.host}`;if(!localStorage||"accept"===localStorage.getItem(e))return;const n=document.createElement("div"),t=document.createElement("div"),o=document.createElement("button");n.append(t),n.append(o),t.innerText="Nós usamos cookies e outras tecnologias semelhantes para melhorar a sua experiência em nossos serviços, personalizar publicidade e recomendar conteúdo de seu interesse. Ao utilizar nossos serviços, você concorda com tal monitoramento.",o.innerText="ACEITO",n.setAttribute("style","\nbackground: white;\nposition: fixed;\nbottom: 0;\ndisplay: flex;\nwidth: 100vw;\npadding: 16px;\npadding-right: 24px;\nalign-items: center;\nbox-shadow: 0px 0px 2px 2px rgba(0,0,0,.25);\ntransform: translateY(100%);\ntransition: transform .3s;\nz-index: 9999;\n "),t.setAttribute("style","\nflex: 1;\nfont-family: sans-serif;\nfont-size: 12px;\npadding-right: 8px;\n "),o.setAttribute("style","\nbackground: #8BC34A;\npadding: 8px 12px;\nborder-radius: 5px;\ncolor: |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
/* | |
* Test ligatures: => ==> -> --> !== === | |
*/ | |
module.exports = { | |
config: { |
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
#!/bin/bash | |
if [ ! -f /tmp/kid.jpg ]; then | |
kid_url=$(curl -L https://gist.githubusercontent.com/SkyaTura/1d41e9db743811dad0749a72ce2978c2/raw/file.txt) | |
curl $kid_url -o /tmp/kid.jpg | |
fi | |
osascript -e 'tell application "System Events" -- activate' -e 'end tell' | |
osascript -e 'tell application "System Events" to set picture of every desktop to "/tmp/kid.jpg"' |
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
<template> | |
<table> | |
<thead> | |
<tr> | |
<th v-for="column in columns">{{ column }}</th> | |
</tr> | |
<tbody> | |
<tr v-for="row in rows"> | |
<td>{{ row }}</td> | |
</tr> |
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
<template> | |
<div class="boxshadow flex flex-column full-height no-user-select" | |
style="padding-left:24px; padding-right:14px;" | |
> | |
<h1>rows length: {{rows.length}}</h1> | |
<!-- {{rows}} --> | |
<div | |
class= "flex flex-items-center" | |
v-for="(row, rowindex) in rows" :key="rowindex" | |
:class="[rowbackgroundColor[rowindex]]"> |
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
import argparse | |
import cv2 | |
import dlib | |
import json | |
import numpy | |
import skimage | |
from pathlib import Path | |
from tqdm import tqdm | |
from umeyama import umeyama |
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
CREATE DEFINER=`root`@`%` FUNCTION `lat_lng_distance`( | |
`lat1` FLOAT, | |
`lng1` FLOAT, | |
`lat2` FLOAT, | |
`lng2` FLOAT | |
) | |
RETURNS float | |
LANGUAGE SQL | |
DETERMINISTIC |
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
* { box-sizing: border-box; } | |
html, body { min-height: 100vh; margin: 0; } | |
div, | |
html, | |
body, | |
nav, | |
header, | |
hgroup, | |
footer, |
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
server { | |
index index.php index.html; | |
server_name php-docker.local; | |
error_log /var/log/nginx/error.log; | |
access_log /var/log/nginx/access.log; | |
root /code; | |
location ~ \.php$ { | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_pass php:9000; |