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
/** | |
* dragdrop.js | |
* http://www.codrops.com | |
* | |
* Licensed under the MIT license. | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* Copyright 2014, Codrops | |
* http://www.codrops.com | |
* |
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
const fs = require('fs') | |
// Get component names | |
const components = [] | |
fs.readdir('src/components', function (err, items) { | |
for (var i = 0; i < items.length; i++) { | |
components.push(items[i].slice(0, -4)) | |
} | |
}); |
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
checkForYoutube(body: string) { | |
const matches = body.match(/\s?((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?\s?/) | |
if (matches && matches.length > 4) { | |
this.youtubeUrl = `https://www.youtube.com/embed/${matches[5]}` | |
} | |
} |
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
<div class="youtube-wrapper" if="youtubeUrl"> | |
<iframe src="{{ youtubeUrl }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" | |
allowfullscreen> | |
</iframe> | |
</div> |
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
.youtube-wrapper { | |
position: relative; | |
padding-bottom: 52%; /* 16:9 */ | |
padding-top: 25px; | |
height: 0; | |
iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; |
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
for file in $(find . -name '*.vue') ; do | |
mv "$file" "$(echo $file|sed -e 's/\([A-Z]\)/-\L\1/g' -e 's/\/-/\//')" | |
done |
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
pm uninstall --user 0 com.samsung.android.bixby.wakeup | |
pm uninstall --user 0 com.samsung.android.app.spage | |
pm uninstall --user 0 com.samsung.android.app.routines | |
pm uninstall --user 0 com.samsung.android.bixby.service | |
pm uninstall --user 0 com.samsung.android.visionintelligence | |
pm uninstall --user 0 com.samsung.android.bixby.agent | |
pm uninstall --user 0 com.samsung.android.bixby.agent.dummy | |
pm uninstall --user 0 com.samsung.android.bixbyvision.framework | |
pm uninstall --user 0 com.samsung.android.samsungpassautofill |
This file has been truncated, but you can view the full file.
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
!function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode('.scalar-icon[data-v-a4126bd9],.scalar-icon[data-v-a4126bd9] *{stroke-width:var(--3c7f90fa)}.scalar-modal-layout[data-v-e37b0bd8]{animation:fadein-layout-e37b0bd8 ease-in-out .3s forwards}.scalar-modal[data-v-e37b0bd8]{animation:fadein-modal-e37b0bd8 ease-in-out .3s forwards;animation-delay:.1s;position:fixed;left:0;top:0;right:0;box-shadow:var(--scalar-shadow-2);transform:translate3d(0,10px,0)}.dark-mode .scalar-modal[data-v-e37b0bd8]{background-color:color-mix(in srgb,var(--scalar-background-1),black)}.scalar-modal.scalar-modal-search[data-v-e37b0bd8]{max-width:540px;max-height:440px;background-color:transparent}.modal-content-search .modal-body[data-v-e37b0bd8]{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:440px}@media (max-width: 1280px){.scalar-modal[data-v-e37b0bd8]{max-height:calc(100% - 56px);top:28px}}@keyframes fadein-layout-e37b0bd8{0%{o |
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
{ | |
"openapi": "3.1.1", | |
"info": { | |
"title": "Scalar Galaxy", | |
"description": "The Scalar Galaxy is an example OpenAPI specification to test OpenAPI tools and libraries. It’s a fictional universe with fictional planets and fictional data. Get all the data for [all planets](#tag/planets/GET/planets).\n\n## Resources\n\n* https://github.com/scalar/scalar\n* https://github.com/OAI/OpenAPI-Specification\n* https://scalar.com\n\n## Markdown Support\n\nAll descriptions *can* contain ~~tons of text~~ **Markdown**. [If GitHub supports the syntax](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax), chances are we’re supporting it, too. You can even create [internal links to reference endpoints](#tag/authentication/POST/user/signup).\n\n<details>\n <summary>Examples</summary>\n\n **Blockquotes**\n\n > I love OpenAPI. <3\n\n **Tables**\n\n | Feature | Availability |\n | ---------------- | ------------ | |
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
{ | |
"openapi": "3.1.1", | |
"info": { | |
"title": "Scalar Galaxy", | |
"description": "The Scalar Galaxy is an example OpenAPI specification to test OpenAPI tools and libraries. It’s a fictional universe with fictional planets and fictional data. Get all the data for [all planets](#tag/planets/GET/planets).\n\n## Resources\n\n* https://github.com/scalar/scalar\n* https://github.com/OAI/OpenAPI-Specification\n* https://scalar.com\n\n## Markdown Support\n\nAll descriptions *can* contain ~~tons of text~~ **Markdown**. [If GitHub supports the syntax](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax), chances are we’re supporting it, too. You can even create [internal links to reference endpoints](#tag/authentication/POST/user/signup).\n\n<details>\n <summary>Examples</summary>\n\n **Blockquotes**\n\n > I love OpenAPI. <3\n\n **Tables**\n\n | Feature | Availability |\n | ---------------- | ------------ | |