In PHP
<?php
$vars = [
'name' => 'Loz'
];
$template = 'Hello {{ name }}!';
<script> | |
import { ref, computed, onMounted } from "@vue/composition-api"; | |
import { useWindowSize, useTitle } from "@vueuse/core"; | |
export default { | |
setup() { | |
const { width, height } = useWindowSize(); | |
const title = computed(() => { | |
return `w: ${width.value} h: ${height.value}`; | |
}); |
In PHP
<?php
$vars = [
'name' => 'Loz'
];
$template = 'Hello {{ name }}!';
<template> | |
<v-app> | |
<!-- other components ... --> | |
<confirm ref="confirm"></confirm> | |
</v-app> | |
</template> | |
<script> | |
import confirm from "./components/confirm.vue"; | |
export default{ |
{ | |
"todays-price": [ | |
{ | |
"id": 1366730, | |
"businessDate": "2021-11-25", | |
"securityId": 2790, | |
"symbol": "ACLBSL", | |
"securityName": "Aarambha Chautari Laghubitta Bittiya Sanstha Limited", | |
"openPrice": 1453, | |
"highPrice": 1453, |
" using windows character map | |
" Nerdtree git plugin | |
let g:NERDTreeGitStatusIndicatorMapCustom = { | |
\ 'Modified' :'☼', | |
\ 'Staged' :'+', | |
\ 'Untracked' :'U', | |
\ 'Renamed' :'➡', | |
\ 'Unmerged' :'‗', | |
\ 'Deleted' :'X', | |
\ 'Dirty' :'╳', |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"strconv" | |
"strings" | |
) |
import java.util.Scanner; | |
import java.util.regex.*; | |
public class Solution | |
{ | |
public static void main(String[] args){ | |
Scanner in = new Scanner(System.in); | |
int testCases = Integer.parseInt(in.nextLine()); | |
while(testCases>0){ | |
String pattern = in.nextLine(); |
import java.util.Scanner; | |
public class Solution { | |
static boolean isAnagram(String a, String b) { | |
if(a.length() != b.length()){ | |
return false; | |
} | |
a = a.toLowerCase(); |
while read -r input; do | |
printf '%s\n' "$input" | cut -c3 | |
done |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"strconv" | |
"strings" | |
) |