Skip to content

Instantly share code, notes, and snippets.

View remarcable's full-sized avatar
🌱
growing something

Marc remarcable

🌱
growing something
View GitHub Profile
@scottopell
scottopell / fix_exfat_drive.md
Last active June 2, 2025 10:01
Fix corrupted exFAT disk macOS/OSX

exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.

If Disk Utility is unable to repair, consider trying this:

  1. In Disk Utility, ensure that the drive is not mounted, eject it if it is mounted.
  2. Use diskutil list to find the right drive id.
  3. You want the id under the IDENTIFIER column, it should look like disk1s1
  4. Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3
  5. -d is debug so you'll see all your files output as they're processed.
@searleb
searleb / installing-polymer-laravel.md
Last active April 15, 2017 22:43
Setting up Polymer with Laravel

Setting up Polymer with Laravel

This guide will help you get a starting point for implementing Polymer into a default install of Laravel v5.3.

Install Polymer

cd application/resources
bower init
bower install --save polymer

Include the components in the <head> of application/resources/views/layout.blade.php:

@markdalgleish
markdalgleish / MyComponent.js
Created September 11, 2015 05:39
CSS Modules + ReactCSSTransitionGroup in React 0.14
import transitions from './transitions.css';
export default () => (
<ReactCSSTransitionGroup transitionName={transitions}>
{ ... }
</ReactCSSTransitionGroup>
);
@amochohan
amochohan / 01_Laravel 5 Simple ACL manager_Readme.md
Last active March 21, 2025 14:47
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php

Git Cheat Sheet

Commands

Getting Started

git init

or