b) after partifioning we must build the filesystems on the devices (format partitions) using mkfs
mkfs.vfat -F 32 /dev/sdX1 // format efi-boot partition as FAT 32
b) after partifioning we must build the filesystems on the devices (format partitions) using mkfs
mkfs.vfat -F 32 /dev/sdX1 // format efi-boot partition as FAT 32
import { Kind } from 'graphql/language'; | |
import { GraphQLScalarType } from 'graphql'; | |
function serializeDate(value) { | |
if (value instanceof Date) { | |
return value.getTime(); | |
} else if (typeof value === 'number') { | |
return Math.trunc(value); | |
} else if (typeof value === 'string') { | |
return Date.parse(value); |
// 1. npm init | |
// 2. npm install --save webpack webpack-dev-server babel-loader babel-preset-es2015 | |
// 3. mkdir dist && touch index.html | |
// 4. Include `<script src="/bundle.js"></script>` inside index.html | |
// 5. mkdir src && touch src/index.js | |
// 6. Add some code to index.js (e.g. `console.log('Hello, World!')) | |
// 7. npm start | |
// 8. Browse to http://localhost:8080/dist/ | |
const webpack = require('webpack') |
import React, { | |
Linking, | |
StyleSheet, | |
WebView, | |
} from 'react-native'; | |
import SomeHTMLFile from './some-html-file.html | |
export default class WebViewExt extends React.Component { | |
constructor() { |
So you can propose an event and people can add it to their calendars. | |
For the record, here's where I generated the link: http://kalinka.tardate.com/ | |
And here's where I've found the recurring parameter which I added to the generated link: http://stackoverflow.com/questions/22757908/google-calendar-render-action-template-parameter-documentation#comment56381005_23495015 | |
Thanks Alon! |
import axios from 'axios'; | |
// You can use any cookie library or whatever | |
// library to access your client storage. | |
import cookie from 'cookie-machine'; | |
axios.interceptors.request.use(function(config) { | |
const token = cookie.get(__TOKEN_KEY__); | |
if ( token != null ) { | |
config.headers.Authorization = `Bearer ${token}`; |
"use strict"; | |
// 使用するSQLite3のDBは以下 | |
// https://drive.google.com/file/d/0BzCcFSX0gJGkNFQya2ZIZ0xQelE/view?usp=sharing | |
/** | |
* Sequelizeの導入 | |
*/ | |
var Sequelize = require("sequelize"); |
You can run your Express app very easily inside your Electron app.
All you need to do is to:
your_electron_app\resources\app
app.js
fileglobal | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon | |
ssl-server-verify none |