xcode-select --install xcode-select: note: install requested for command line developer tools
This file contains hidden or 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
// Get User Agent | |
const userAgent = navigator.userAgent; | |
// Get Device DPI (devicePixelRatio) | |
const dpi = window.devicePixelRatio || 1; | |
// Get Screen Size in Pixels | |
const screenWidth = window.screen.width; | |
const screenHeight = window.screen.height; | |
// Approximate size in inches (CSS pixels assumed to be 96 DPI) | |
const approxWidthInches = screenWidth / (dpi * 96); | |
const approxHeightInches = screenHeight / (dpi * 96); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>4-Column TV Navigation with Wrapping and Dates</title> | |
<!-- Tailwind CSS CDN --> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<style> | |
/* Custom styles for the navigation columns and items */ |
This file contains hidden or 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
<html> | |
<head> | |
<title>HEVC Support test</title> | |
<script> | |
// preverjanje za resolucijo: How to verify certain profile or resolution is supported? | |
var video_canPlay = []; | |
var MediaSource_supported = []; | |
var encrypted_support = []; |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<VAST version="3.0"> | |
<Ad id="14" sequence="1"> | |
<InLine> | |
<AdSystem version="4.0"><![CDATA[Castoola]]></AdSystem> | |
<AdTitle><![CDATA[Preroll 1 - Leaf]]></AdTitle> | |
<Description><![CDATA[Inline Video Ad]]></Description> | |
<Survey><![CDATA[https://www.nissan.si/vozila/nova-vozila/leaf.html]]></Survey> | |
<Error><![CDATA[https://dev.telekom-logging.castoola.tv/log-error?ec=[ERRORCODE]&key=videoerror&client_id=00000000-0000-0000-0000-000000000000&publisher_id=telekom-dev&service_id=1655192505-1&placement_id=3&campaign_id=4&creative_id=14&video_duration=30&did=573956d7-c565-4920-b818-e8babac94ae3&ct=0&startTime=1645175694&stopTime=1645176294&aid=123&dt=si.titan.stb&pr=123&cid=123&kd=0&did=573956d7-c565-4920-b818-e8babac94ae3&brand=nissan&bust=48973249234&cb=1684155220]]></Error> | |
<Impression><![CDATA[https://dev.telekomads.castoola.tv/www/delivery/lg2.php?bannerid=14&campaignid=4&zoneid=3&OACCAP=1000000&client_id=00000000-0000-0000-0000-000000000000&did=573956d7-c5 |
This file contains hidden or 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
<style> | |
.effect{ | |
width: 250px; | |
height: 250px; | |
filter: contrast(360%) brightness(1000%) invert(100%); | |
background: | |
radial-gradient(circle at 18% 121%, rgba(0,0,0,1), rgba(0,0,0,0)), | |
url("data:image/svg+xml,%3Csvg viewBox='0 0 17 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); | |
} | |
</style> |
This file contains hidden or 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
<VAST version="4.0"> | |
<Error> | |
<![CDATA[http://adserver.com/noad.gif]> | |
</Error> | |
</VAST> |
This file contains hidden or 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 [ "$1" != "" ]; then | |
ipaddress=$1; | |
echo -e "Bluetooth HCI logging on STB $ipaddress ... \n" | |
# cleanup | |
rm bluetooth_manager_* | |
rm bluetooth_hci_* | |
adb connect $ipaddress |
This file contains hidden or 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 | |
# push apk to Android device, try to find launchable activity | |
# if this fails use monkey | |
if [ "$1" == "" ]; then | |
echo -e "Missing parameter: apk file" | |
else | |
echo -e "Please wait, while (re-)installing APK to device... \n" | |
adb install -r $1 | |
echo -e "Finding what can be launched ... \n" |
putting stuff together as didn't work at first... (read: forums threads are not always good to follow. Don't panic if somethign doesn't work as expected)
Here's how reset the device, straight from the Google mouth:
- Turn off the Nexus.
- Press and hold Volume Down and then press and hold Power until the tablet turns on. ...
- Press Volume Down twice to highlight Recovery Mode. ...
- Hold down the Power button and press and release the Volume Up button once.
downloads: Recovery Clockwork Touch
NewerOlder