Skip to content

Instantly share code, notes, and snippets.

@Zn4rK
Zn4rK / php.ini
Last active August 29, 2015 14:15 — forked from sn0opy/php.ini
hhvm.server.type = fastcgi
hhvm.server.file_socket = /run/shm/hhvm.sock
hhvm.server.apc.enable_apc = true
hhvm.server.apc.table_type = concurrent
hhvm.server.apc.expire_on_sets = true
hhvm.server.apc.purge_frequency = 4096
hhvm.eval.jit = true
hhvm.eval.jit_warmup_requests = 50
@Zn4rK
Zn4rK / Total Plays Bookmarklet
Last active August 29, 2015 14:18
Total Plays on Spotify.js
if(match = document.URL.match(/https:\/\/play\.spotify\.com\/artist\/(.+)/)) {
if (!window.jQuery) {
var script = document.createElement("script");
script.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.head.appendChild(script);
}
$(function() {
@Zn4rK
Zn4rK / README.md
Last active July 30, 2024 07:32
pnpm and expo without node-linker=hoisted

I have a pretty big monorepo, and adding node-linker=hoisted to .npmrc would have significant consequences. With the help of rnx-kit, I managed to configure Expo to work without changes to .npmrc.

I haven't encountered any major issues yet, but I also haven't built or released a production version of my app, so we'll see how it goes.

Steps:

  1. Add the following dependencies to your package.json:

{