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
// /src/router/index.js | |
import { route } from "quasar/wrappers"; | |
import { createRouter, createMemoryHistory, createWebHistory, createWebHashHistory } from "vue-router"; | |
import routes from "./routes"; | |
import { storeToRefs } from "pinia"; | |
import { useFirmasiteStore } from "stores/firmasite"; | |
/* | |
* If not building with SSR mode, you can |
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 | |
latest_version_url=$(curl https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/latest -s -L -I -o /dev/null -w '%{url_effective}') | |
latest_version=${latest_version_url##*/} | |
zip_name="$latest_version-linux-x64.zip" | |
dir_to_unzip=/usr/lib64/opera | |
cd /tmp |
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
if(document.getElementById('topic')) { | |
var entryurl = document.getElementById('title').getElementsByTagName('a')[0].getAttribute("href"); | |
var newElement = document.createElement('div'); | |
newElement.innerHTML = '<a href="' + entryurl + '?a=caylaklar' + '">çaylaklar</a>'; | |
newElement.id = 'caylaklar'; | |
var topicMenu = document.getElementById('in-topic-search-menu') | |
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
<?php | |
add_action( 'admin_head', 'firmasite_js_showcase_for_editors',9 ); | |
// add jquery function to admin head to save | |
function firmasite_js_showcase_for_editors(){ | |
remove_action( 'admin_head', 'firmasite_js_showcase_posts_add_jquery_to_head' ); | |
if ( current_user_can("edit_pages") ){ ?> | |
<script type="text/javascript" language="javascript"> | |
jQuery(document).ready(function(){ |