Skip to content

Instantly share code, notes, and snippets.

View roybarber's full-sized avatar

Roy Barber roybarber

View GitHub Profile
@CriDos
CriDos / launch.json
Last active September 16, 2024 07:38
Debugging .NET Projects in Cursor with netcoredbg: launch.json Example
{
"version": "0.2.0",
"configurations": [
{
"name": "Client (Debug)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-client-debug",
"program": "${workspaceFolder}/Build/Debug/HardClient.exe",
"args": [],
@cprass
cprass / Fade.vue
Created October 9, 2016 09:53
Vue component for simple fade-out-in with Velocity.js
<template>
<transition
name="fade"
mode="out-in"
v-on:before-enter="beforeEnter"
v-on:enter="enter"
v-on:before-leave="beforeLeave"
v-on:leave="leave"
>
<slot></slot>
@AdamMarsden
AdamMarsden / sassas.md
Last active September 22, 2024 04:19
Sass Architecture Structure

Sass Architecture Structure

sass/
|
|– base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules
|   ...                  # Etc…
|
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
@andyadams
andyadams / gist:2030363
Created March 13, 2012 18:08
Capistrano Pulldown scripts for WordPress database and uploads
desc "Pull a database dump from remote server, drop the local database, then import the dump"
task :pull_database_to_local do
# Build out temporary file name with timestamp for uniqueness
timestamp = get_timestamp
temp_file_name = "database_dump_#{timestamp}"
remote_file_name = remote_mysqldump(temp_file_name)
download(remote_file_name, "/tmp/#{temp_file_name}.sql.gz")