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
# Example config file /etc/vsftpd/vsftpd.conf | |
# | |
# The default compiled in settings are fairly paranoid. This sample file | |
# loosens things up a bit, to make the ftp daemon more usable. | |
# Please see vsftpd.conf.5 for all compiled in defaults. | |
# | |
# READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
# capabilities. | |
# |
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 math | |
def primesum(A): | |
if A == 4: | |
return [2,2] | |
odds = [] | |
# We need to build odd prime numbers from 3 to A-1 | |
for i in range(3,A,2): | |
odds.append(i) | |
m = math.ceil(math.sqrt(A)) |
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
#include<iostream> | |
#include<string> | |
#include<algorithm> | |
using namespace std; | |
string Lapindrome(string input) { | |
int size = input.length(); | |
int half = size/2; | |
string secondHalf, firstHalf; | |
if(size%2==0) { |
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> | |
<p>Hi this is test template</p> | |
<p>{myComputedFunction}</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component, Prop ,Emit } from 'vue-property-decorator'; |
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> | |
<p>Hi this is test template</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component} from 'vue-property-decorator'; | |
@Component({ |
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> | |
<p>Hi this is test template</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component, Prop} from 'vue-property-decorator'; | |
@Component({ |
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> | |
<p>Hi this is test template</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component, Prop} from 'vue-property-decorator'; | |
import AnotherComponent from './another-component.vue' |
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> | |
<p>Hi this is test template</p> | |
<p>{myComputedFunction}</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component, Prop} from 'vue-property-decorator'; |
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> | |
<p>Hi this is test template</p> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; | |
import { Component, Prop} from 'vue-property-decorator'; |
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
const moduleA = { | |
state: { ... }, | |
mutations: { ... }, | |
actions: { ... }, | |
getters: { ... } | |
} | |
const moduleB = { | |
state: { ... }, | |
mutations: { ... }, |
OlderNewer