-
NieR: Automata (1080p60) | 5/5
- story: 5+ very good and though provoking
- art direction & design: 5 character design is super good, world is ok
- gameplay: 5 combat is fun and satisfying, side quests are not bad, jrpg / customization components are nice
- ost: 5 it's amazing, every piece has 3 variations and they are meshed together seamlessly as you walk through the map, I listen to it while working
- replayability: 4 not much, no NG/NG+, difficulty scaling is crap as well
This file contains hidden or 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
type FunctionComponent<A> = (a: A) => string | |
function contramap<A, B>(fc: FunctionComponent<A>, f: (b: B) => A): FunctionComponent<B> { | |
return b => fc(f(b)) | |
} | |
// --- esempio --- | |
interface _Props { | |
a: string |
This file contains hidden or 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
const net = require("net"); | |
const crypto = require("crypto"); | |
const process = require("process"); | |
function random() { | |
return crypto.randomBytes(4).readUInt32LE(0); | |
} | |
function connect() { | |
const socket = process.env.SOCKET || "/tmp/mpv.sock"; |
This file contains hidden or 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/swift | |
import CoreGraphics | |
func display() -> CGDirectDisplayID? { | |
let max: UInt32 = 32; | |
let displays = UnsafeMutablePointer<CGDirectDisplayID>.allocate(capacity: Int(max)); | |
let size = UnsafeMutablePointer<UInt32>.allocate(capacity: 1); | |
CGGetActiveDisplayList(max, displays, size); |
This file contains hidden or 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
import React, { useState, useEffect, useContext } from "react"; | |
type MediaQueries = { [s: string]: MediaQueryList }; | |
type MediaT<T> = { [X in keyof T]: boolean }; | |
function mapValues<T extends object, R>( | |
object: T, | |
mapper: (x: T[keyof T], key: keyof T, object: T) => R | |
): { [K in keyof T]: R } { | |
const result = {}; |
This file contains hidden or 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
# frozen_string_literal: true | |
require 'ostruct' | |
class Component | |
attr_reader :props | |
def initialize(**props, &children) | |
@props = OpenStruct.new(default_props.merge(props)) | |
@children = children |
This file contains hidden or 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
type a = { x: string }; | |
type b = { x: int }; | |
type c = { y: string }; | |
type d = A | B(int); | |
type some_union = | |
| A(a) | |
| B(b) | |
| C(c) | |
| D(d); |
This file contains hidden or 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
// ==UserScript== | |
// @name Github Links | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/ | |
// @grant none | |
// ==/UserScript== |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
This file contains hidden or 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
const x = JSON.parse($('[data-hypernova-key=listingbundlejs]')[1].text.slice(4, -3)) | |
console.log(x.listing.photos.map(x => x.xx_large).join("\n")) |