Skip to content

Instantly share code, notes, and snippets.

Avatar

DrSquid Paul-Morris

  • Paul Morris
  • Canada
View GitHub Profile
@BaReinhard
BaReinhard / Installing Wine (After Homebrew).md
Last active January 28, 2023 02:21
Installing Wine to run .exe files on Mac
View Installing Wine (After Homebrew).md

Install Wine to run .exe files

For Mac OSX

If you haven't installed Homebrew yet do so by following this guide

  1. Open a terminal
  2. brew cask install xquartz, wait for it to complete the install, it should ask you for your password before beginning
  3. brew cask install wine, this will take some time to finish so sit back and relax.

For Linux

  1. sudo apt-get install wine
@ohiosveryown
ohiosveryown / change-class-on-scroll.html
Last active March 2, 2023 23:31
Vanilla JS – change/add class based on scroll position.
View change-class-on-scroll.html
// https://codepen.io/cmykw/pen/gemxJm
// layout
<nav/>
// style
<style>
body { min-height: 200vh; }
nav {
@bingeboy
bingeboy / app.js
Last active April 29, 2021 15:52
Upload and display image with NodeJS and Express.
View app.js
/*
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, common = require('./routes/common')
, fs = require('fs')
, http = require('http')
, util = require('util')
@chasewoodford
chasewoodford / style.scss
Created June 16, 2012 02:12 — forked from saucer-jp/style.scss
sass:mixin fadeIn
View style.scss
$prefix:'-moz-', '-webkit-', '-o-', '-ms-', '';
// ********************
// fadeIn
// ********************
@mixin keyframe-fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}
@-moz-keyframes fadeIn {
@include keyframe-fadeIn;