This file contains hidden or 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* | |
STANDARD TST CONFIG | |
#sidebar-header - to hide the sidebar header | |
#TabsToolbar - hide just the tabs, leaving the window controls visible | |
push window controls down into the same vertical space as the tab bar | |
make the window controls roughly the same height as the nav-bar, saving window title space |
This file contains hidden or 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
{ | |
"breadcrumbs.symbolSortOrder": "name", | |
"debug.onTaskErrors": "showErrors", | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.autoClosingQuotes": "never", | |
"editor.autoIndent": "full", | |
"editor.find.autoFindInSelection": "always", | |
"editor.fontFamily": "Hack", | |
"editor.fontSize": 12, | |
"editor.hover.delay": 600, |
This file contains hidden or 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* to hide the sidebar header */ | |
#sidebar-header { visibility: collapse; } | |
#TabsToolbar .toolbar-items { visibility: collapse; } /* hide JUST the tabs, leaving JUST the window controls */ | |
#TabsToolbar { | |
margin-bottom: -42px; /* push window controls down into same vertical space as the nav-bar */ | |
height: 42px; /* make the window controls roughly the same height as the nav-bar */ | |
} |
This file contains hidden or 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 Cinemachine; | |
using UnityEngine; | |
/** | |
* Force the Cinemachine camera to make viewport exactly as wide as the bounding object. | |
* This allows us to always be 100% wide regardless of device. Handy for vertical scrollers. | |
*/ | |
public class FWCam : MonoBehaviour { | |
public int fullWidthUnits = 14; |
This file contains hidden or 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
var async = require('async'); //async library to allow macro-wokr over async methods | |
var Evernote = require('evernote').Evernote; //the evernote client | |
var _ = require('lodash'); //handy utility function | |
/** | |
* @param token the authorisation token returned from your Evernote authentication | |
* @param bookGuid the unique identifier of the notebook | |
*/ | |
function getNotesFromEvernote(token, bookGuid) { | |
//an evernote client object |
This file contains hidden or 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
package controllers | |
import play.api.Play | |
import Play.current | |
import play.api.mvc.Action | |
import play.api.mvc.AnyContent | |
object ConfigurableAssets extends AssetsBuilder { | |
private val assetsPath = Play.configuration.getString("assets.path").getOrElse("/public") | |
def at(file:String): Action[AnyContent] = { |