terminal:
npm i --save-dev rollup rollup-watch rollup-plugin-typescript typescript typings
npm i -S react react-dom
./node_modules/.bin/typings install react react-dom --save
mkdir src dist
touch src/index.tsx| #!/usr/bin/env bash | |
| # Original: http://thezinx.com/2013/10/29/create-bootable-dmg-iso-mavericks-app.html | |
| V_BUILD=/Volumes/install_build | |
| V_APP=/Volumes/install_app | |
| T_SI_B=/tmp/mavericks | |
| T_SI=$T_SI_B.sparseimage |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=haverstack # <-- wordpress owner | |
| WP_GROUP=haverstack # <-- wordpress group | |
| WP_ROOT=data # <-- wordpress root directory |
| #!/bin/bash | |
| # Configuration for the script | |
| POSTFIX_CONFIG=/etc/postfix/main.cf | |
| POSTFIX_SASL=/etc/postfix/sasl_passwd | |
| function confirm () { | |
| read -r -p "${1:-Are you sure? [Y/n]} " response | |
| if [[ $response == "" || $response == "y" || $response == "Y" ]]; then | |
| echo 0; |
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| using System.Collections.Generic; | |
| using UnityEditor.AnimatedValues; | |
| [CustomEditor(typeof(UnityEngine.Object), true, isFallback = true)] | |
| [CanEditMultipleObjects] | |
| public class CustomEditorBase : Editor | |
| { |
terminal:
npm i --save-dev rollup rollup-watch rollup-plugin-typescript typescript typings
npm i -S react react-dom
./node_modules/.bin/typings install react react-dom --save
mkdir src dist
touch src/index.tsx| // in $PROJECT_ROOT/typings/@sapper | |
| declare module '@sapper/app' { | |
| // from sapper/runtime/src/app/types.ts | |
| // sapper doesn't export its types yet | |
| interface Redirect { | |
| statusCode: number | |
| location: string | |
| } | |
| // end |