This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
更新: | 2024-05-22 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
typo などは https://x.com/voluntas までご連絡ください。
Use: for testing against email regex | |
ref: http://codefool.tumblr.com/post/15288874550/list-of-valid-and-invalid-email-addresses | |
List of Valid Email Addresses | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
require 'inifile' | |
require 'date' | |
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
config.vm.guest = "windows" | |
config.vm.boot_timeout = 600 | |
config.vm.provider :aws do |aws, override| |
get_latest_release() { | |
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
grep '"tag_name":' | # Get tag line | |
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
} | |
# Usage | |
# $ get_latest_release "creationix/nvm" | |
# v0.31.4 |
<?xml version="1.0" encoding="utf-8"?> | |
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
<settings pass="windowsPE"> | |
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<InputLocale>0411:00000409</InputLocale> | |
<LayeredDriver>1</LayeredDriver> | |
<SystemLocale>ja-JP</SystemLocale> | |
<SetupUILanguage> | |
<UILanguage>ja-JP</UILanguage> | |
</SetupUILanguage> |
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |
const https = require('https'); | |
const ifttt = event => `https://maker.ifttt.com/trigger/${event}/with/key/${process.env.IFTTT_WEBHOOK_KEY}`; | |
exports.handler = async (event) => { | |
const time = new Date(); | |
const valid = time.getHours() >= 18; | |
const eventId = valid ? 'night' : 'other'; | |
await new Promise(r => https.get(ifttt(eventId), r)); | |
const response = { statusCode: 200, body: eventId }; |