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
# This file is used to build base image for NuxtJS application | |
# It will be pushed for example to my-registry.com/nuxt:base-1.0.0 | |
FROM node:12.18.2-alpine | |
ENV APP_PATH /usr/src/front | |
WORKDIR $APP_PATH | |
COPY package.json package-lock.json $APP_PATH/ |
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> | |
<l-map | |
ref="map" | |
:zoom="16" | |
:center="userCoordinates" | |
class="map-wrap" | |
@update:bounds="boundsChange" | |
> | |
<l-tile-layer url="http://{s}.tile.osm.org/{z}/{x}/{y}.png" /> | |
<l-marker |
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> | |
<v-dialog | |
ref="vdialog" | |
v-model="isActive" | |
eager | |
content-class="vuedl-layout" | |
:fullscreen="fullscreen" | |
:max-width="getWidth" | |
:persistent="persistent || loading" | |
:scrollable="scrollable" |
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
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null |
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
{"lastUpload":"2018-06-28T13:22:37.285Z","extensionVersion":"v2.9.2"} |
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
(proclaim '(optimize (speed 3) (space 0) (debug 0))) | |
(defparameter *width* 80) | |
(defparameter *height* 23) | |
(defparameter *length* (* *width* *height*)) | |
(defun neighbours (pos) | |
(mapcar (lambda (x) (mod x *length*)) | |
(delete pos | |
(mapcan (lambda (pos) |
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 "arvore.h" | |
Arvore::Arvore() | |
{ | |
raiz = 0; | |
} | |
void Arvore::inserirNo(no** arvore, int valor) | |
{ | |
if((*arvore) != NULL) |
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
(function($) { | |
$.fn.serializeFormToJSON = function() { | |
var j = {}; | |
var a = this.serializeArray(); | |
$.each(a, function() { | |
if (j[this.name]) { | |
if (!j[this.name].push) { | |
j[this.name] = [j[this.name]]; | |
} |
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
bool GetWindowsVersion(DWORD& major, DWORD& minor) | |
{ | |
LPBYTE pinfoRawData; | |
if (NERR_Success == NetWkstaGetInfo(NULL, 100, &pinfoRawData)) | |
{ | |
WKSTA_INFO_100 * pworkstationInfo = (WKSTA_INFO_100 *)pinfoRawData; | |
major = pworkstationInfo->wki100_ver_major; | |
minor = pworkstationInfo->wki100_ver_minor; | |
::NetApiBufferFree(pinfoRawData); | |
return true; |