To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion
(function() { | |
var imgData = [], | |
windowHeight = window.innerHeight; | |
lastScrollPosition = 0; | |
function getOffset(element) { | |
var rect = element.getBoundingClientRect(); | |
return { | |
top: rect.top + document.body.scrollTop, |
To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to make opened Markdown files always be soft wrapped: | |
# | |
# path = require 'path' | |
# |
# Default GitHub user | |
Host github.com | |
HostName github.com | |
User git | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa_github | |
IdentitiesOnly yes | |
Host github.com-rhm | |
HostName github.com |
# @manojampalam - authored initial script | |
# @friism - Fixed issue with invalid SDDL on Set-Acl | |
# @manojampalam - removed ntrights.exe dependency | |
# @bingbing8 - removed secedit.exe dependency | |
$scriptpath = $MyInvocation.MyCommand.Path | |
$scriptdir = Split-Path $scriptpath | |
$sshdpath = Join-Path $scriptdir "sshd.exe" | |
$sshagentpath = Join-Path $scriptdir "ssh-agent.exe" |
module.exports = function scaffoldComponent(name) { | |
return `<script setup lang="ts"> | |
export interface Props { | |
//Component props go here. | |
} | |
/* -------------------------------------------------------------------------- */ | |
const emit = defineEmits<{ | |
// component events go here. |