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
#東方弾幕風[Stage] | |
#Title[THC/CommonData作成] | |
#Text[ | |
夢終劇データ作成用 | |
めったくそに重いので注意 | |
] | |
#ScriptVersion[2] | |
#BGM[] | |
script_stage_main{ |
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 | |
brew install libheif | |
# The “heif-convert” command is included in the libheif package. | |
heif-convert image.heic image.jpg |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0" /> | |
<title>Markdown preview</title> | |
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.8.0/github-markdown.min.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.6/marked.min.js" integrity="sha384-aP8BvMiS2buEdB040zV1ZNg4Yz3vzmY0biq0UhB05amexdPMAx3uPjIvFWKa7Jnz" crossorigin="anonymous"></script> | |
<script type="text/template" id="source"> | |
# 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
#!/usr/bin/expect | |
set NPM_USER [lindex $argv 0] | |
set NPM_EMAIL [lindex $argv 1] | |
set NPM_PASS [lindex $argv 2] | |
set PROMPT "\[#%>\]" | |
spawn yarn publish | |
expect { | |
"New version" { |
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
#!/usr/bin/perl -w | |
use IO::File; #####################< MY BODY WIDTH EQUALS THE ASCII CODE. >######################### | |
my $hello_txt = IO::File->new(__FILE__, O_RDONLY); ######################################################## | |
foreach ($hello_txt->getlines()) ########################################################################## | |
{ ############################################################################################################ | |
my $length = length; ###### | |
my $character = chr $length; ##################################################### | |
print $character; ######################################################################################## | |
} ############################################################################################################### | |
$hello_txt->close(); ###################################################################################### |
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
let サーバル x = sprintf "きみは%sなフレンズなんだね!" x | |
let あかり x = sprintf "わぁい%sあかり%sだいすき!" x x | |
let Mixed x = サーバル (あかり (サーバル (あかり x))) | |
[<EntryPoint>] | |
let main argv = | |
printfn "%A" (Mixed "カバンちゃん") | |
0 | |
// Question: https://twitter.com/danmaq/status/828743554574880768 |
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
$ openssl dhparam -out dhparam.pem 4096 |
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 | |
whoami /groups | Find "High Mandatory Level" > NUL | |
if not errorlevel 1 goto RUN | |
powershell -Command Start-Process -Verb runas "%0" | |
exit /b %errorlevel% | |
:RUN | |
powershell -NoProfile -ExecutionPolicy Unrestricted "$s=[scriptblock]::create((gc \"%~f0\"|?{$_.readcount -gt 9})-join\"`n\");&$s" %* | |
exit /b 0 | |
Set-StrictMode -Version 2.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
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean --force && npm install && npm start -- --reset-cache |
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
[danmaq] | |
MaxFind=1 | |
Normal=#ffffff,#595959,normal | |
Sel=transparent,#0080c0,normal | |
CurrentLine=transparent,#4d4d4d,normal | |
Quoted=#00c0c0,transparent,normal | |
Find=#000000,#40ff40,normal | |
URL=#ff8040,transparent,dotted | |
Mail=#00ff00,transparent,dotted |
NewerOlder