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
console.log("Hello World") |
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
rem Check admin permissions | |
echo off | |
net session >nul 2>&1 | |
if %errorLevel% == 0 ( | |
echo Elevated command prompt confirmed | |
) else ( | |
echo This script can only run from the ELEVATED command prompt. | |
echo Press Windows-X and launch (Command Line - Administrator) | |
exit 1 | |
) |
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
#!/bin/sh | |
sed -n '/<body>/,/<\/body>/{//!p}' dist/index.html > dist/body.txt |
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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
BEGIN:VEVENT | |
RRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=-1;BYDAY=MO,TU,WE,TH,FR | |
SUMMARY:Event summary | |
DTSTART;VALUE=DATE:20180430 | |
SEQUENCE:0 | |
DESCRIPTION:Event description | |
END:VEVENT | |
END:VCALENDAR |
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
Shader "Custom/ACNH_SewingCloth" | |
{ | |
Properties | |
{ | |
[NoScaleOffset] _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
[NoScaleOffset] _BumpMap ("Normal Map", 2D) = "bump" {} | |
[NoScaleOffset] _EdgeAlpha ("Alpha", 2D) = "white" {} | |
_Cutoff ("Alpha Test Cutoff", Range(0,1)) = 0.5 | |
_Offset ("Offset (XY)", Vector) = (0,0,0,0) |
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
<script src="mraid.js"></script> | |
<script type="text/javascript"> | |
// Initialize mraid | |
function initMraid() { | |
if (!isMraidAvailable()) { | |
showAd(); | |
return; | |
} | |
if (mraid.getState() === "loading") { |
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
echo off | |
rem *** Configuration *** | |
set PUTTY_SESSION="mbp.local" | |
set [email protected] | |
set ALTOOL_USER_PASSWORD=aaaa-bbbb-cccc-dddd | |
set ALTOOL_PATH_OSX='/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/altool' | |
IF "%~1"=="" goto noparams | |
where pscp > nul |
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
ls -dir | %{pushd $_; npm run make; popd} |
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 System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
public abstract class SingletonScriptable<T> : ScriptableObject where T : ScriptableObject | |
{ | |
static T _instance = null; | |
public static T instance | |
{ | |
get |
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
{ | |
"PublicClass": { | |
"prefix": "clazz", | |
"body": [ | |
"export default class $TM_FILENAME_BASE {", | |
"\tconstructor() {", | |
"\t}", | |
"}", | |
"" | |
], |
NewerOlder