📄 webpack.config.js
📄 package.json
📁 scripts/
📄 manifest.js
📄 index.js
📁 stylesheets/
📄 main.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CM to PX. | |
DPI * (XXX cm / 2.54 cm) = size in pixels. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in "$@" | |
do | |
mime=`file --mime-type $f` | |
if [[ $mime == *"image/"* ]] | |
then | |
/usr/local/bin/mogrify -scale 400% -strip $f | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
using System.Collections; | |
// Based on http://docs.unity3d.com/Manual/HOWTO-UIScreenTransition.html tutorial. | |
public class ScreenManager : MonoBehaviour | |
{ | |
#region Constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
# Add this to your Gemfile: | |
gem 'autoprefixer-rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Is there a reason to why the `throws` keyword is at this position: | |
func send() throws -> String {} | |
// Instead of… | |
throwing func send() -> String {} | |
// Like `mutating` is declared: | |
mutating func send() -> String {} | |
// To be consistant, throwing should be at the start of the declaration, right? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
/* ---------------------------------------------------------- *\ | |
* # Globals | |
\* ---------------------------------------------------------- */ | |
/** | |
* Box-model: | |
* 1. Change default box-model to border-box. | |
* 2. All elements will inherit from the <html> box-model. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
tell application "Finder" | |
try | |
set targetPath to (quoted form of POSIX path of (folder of the front window as alias)) | |
on error | |
set targetPath to "~" | |
end try | |
end tell | |
my openTerminal(targetPath) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {injectGlobal} from 'styled-components' | |
injectGlobal` | |
p { | |
color: red; | |
} | |
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copy in "~/Library/Application Support/Adobe/Lightroom/Metadata Field Lists/Matthieu Oger.lrtemplate" | |
return { | |
version = 1, | |
title = "Matthieu Oger", | |
id = "info.regex.lrmeta.v1.mo", | |
type = "MetadataFieldList", | |
items = { | |
{ formatter = 'com.adobe.captureDate', label="Date" }, | |
{ formatter = 'com.adobe.captureTime', label="Time" }, |