Skip to content

Instantly share code, notes, and snippets.

Fetching packages

James Bissick JamesBissick

Fetching packages
  • Teksial
  • Paris, France
View GitHub Profile
april /
Last active Jun 26, 2022
Fixes Magic Arena's broken full screen implementation on macOS
# this forces Arena into full screen mode on startup, set back to 3 to reset
# note that if you go into the Arena "Graphics" preference panel, it will reset all of these
# and you will need to run these commands again
defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0
defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0
# you can also replace the long complicated integer bit with any other scaled 16:9
# resolution your system supports.
# to find the scaled resolutions, go to System Preferences --> Display and then
# divide the width by 16 and multiple by 9. on my personal system this ends up
PurpleBooth /
Last active Jun 26, 2022
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


aquelito /
Last active Jun 23, 2022
GIT - Ligne de commande principale
title category
Git config


Ne pas oublier : l'aide en ligne de commande.


Most configuration really isn't about the app -- it's about where the app runs, what keys it needs to communicate with third party API's, the db password and username, etc... They're just deployment details -- and there are lots of tools to help manage environment variables -- not the least handy being a simple .env file with all your settings. Simply source the appropriate env before you launch the app in the given env (you could make it part of a launch script, for instance).

env files look like this:


To source it:

$ source dev.env # or staging.env, or production.env, depending on where you're deploying to

tony4d /
Created Aug 24, 2012
Setup p4merge as a visual diff and merge tool for git