Skip to content

Instantly share code, notes, and snippets.

View xon52's full-sized avatar

Keagan Chisnall xon52

View GitHub Profile
@xon52
xon52 / desync.ps1
Last active March 3, 2020 01:11
Stop Syncing Dropbox Folder
# Introduction
Write-Host "------------------------------------------------" -ForegroundColor Green
Write-Host " Dropbox Desync." -ForegroundColor Yellow
Write-Host "------------------------------------------------" -ForegroundColor Green
# Target File/Folder
Write-Host "Enter the path to the folder/file you want to desync." -ForegroundColor DarkGray
Write-Host "Default: $PSScriptRoot" -ForegroundColor DarkGray
$target = Read-Host -Prompt "Enter path to desync (default)"
# Set current directory if none
@xon52
xon52 / xon-GridCanvas.vue
Last active March 5, 2024 09:23
Medium - Flexible Canvas Grid (without blurred lines)
<template>
<canvas class="gridCanvas"
:width="width"
:height="height"
></canvas>
</template>
<script>
export default {
name: 'xon-GridCanvas',
@xon52
xon52 / main.js
Created November 11, 2017 08:55
Medium - Vue Module Example - Part 1 - Setup
import Vue from 'vue'
import Router from './services/router'
import Store from './services/store'
import App from './App.vue'
new Vue({ // eslint-disable-line no-new
el: '#app',
template: '<App/>',
router: Router,
store: Store,