$q.all([ promise1, promise2 ]).then($q.spread(function (promise1Result, promise2Result) {
});
using System.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
public static class PostBuildTrigger | |
{ | |
private static DirectoryInfo targetdir; | |
private static string buildname; | |
private static string buildDataDir; |
if version < 600 | |
syntax clear | |
elseif exists("b:current_syntax") | |
finish | |
endif | |
syn case match | |
" indication for missing a proper subject or object 'who is doing what?' | |
syn keyword authorAnonym man |
/* From http://furbo.org/2015/07/09/i-left-my-system-fonts-in-san-francisco/ */ | |
* { font-family: -apple-system-font, HelveticaNeue, LucidaGrande; } | |
/* Dynamic Type feature */ | |
* { font-family: -apple-system-headline1, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-headline2, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-body, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-subheadline1, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-subheadline2, HelveticaNeue, LucidaGrande; } |
# The packages we'll be using | |
packages <- c("rvest","dplyr","tidyr","pipeR","ggplot2","stringr","data.table") | |
# From those packages, which ones are not yet installed? | |
newPackages <- packages[!(packages %in% as.character(installed.packages()[,"Package"]))] | |
# If any weren't already installed, install them now | |
if(length(newPackages)) install.packages(newPackages) | |
# Now make sure all necessary packages are loaded |
license: bsd-3-clause |
-- Logseq Hookmark integration via Applescript | |
-- Copies Links to pages only, not blocks. | |
-- Paste this into Hook -> Preferences -> Scripts -> Logseq -> Get Address | |
tell application "System Events" | |
set the clipboard to "" | |
delay 0.5 | |
-- You need to set a keyboard shortcut for "Copy page Url" in Logseq | |
-- Here: CMD + CTRL + SHIFT + U |
! Hide "This is your last free article" banners | |
! REQUIRED: Use "Forget Me Not" to block cookie: pay_ent_msmp@*.newyorker.com | |
! to actually block the paywall. (Change domain to suit) | |
! UPDATE 2025: No longer works. Block "build" js instead as below. | |
! vanityfair.com##.journey-unit__container | |
! wired.com##.journey-unit__container | |
! newyorker.com##.journey-unit__container | |
! gq.com##.journey-unit__container | |
! Brisbane Times & Fairfax sites |