Skip to content

Instantly share code, notes, and snippets.

View yapus's full-sized avatar
💭
exploring

Iakov Pustilnik yapus

💭
exploring
View GitHub Profile
@yapus
yapus / app.jsx
Created October 21, 2024 05:04
rails7-vite - vite-plugin-pwa
// file: app/frontend/entrypoints/app.jsx
import { render } from 'solid-js/web'
import App from '@/components/App'
import '@/utils/pwa'
const app = document.getElementById('app')
if (app) {
render(
() => <App />,
app
@yapus
yapus / Montage_ubuntu22.04_gcc11.patch
Created July 6, 2023 07:33
Montage_6.0_ubuntu22.04_gcc11
diff -ra Montage.orig/grid/Globus/ExecTG/Makefile.LINUX Montage/grid/Globus/ExecTG/Makefile.LINUX
12c12
< LIBS = -L../../../lib -lsvc -lmtbl -lwcs -lcfitsio -lcoord -lnsl -lm
---
> LIBS = -L../../../lib -lsvc -lmtbl -lwcs -lcfitsio -lcoord -lm
diff -ra Montage.orig/grid/Globus/NotifyTG/Makefile.LINUX Montage/grid/Globus/NotifyTG/Makefile.LINUX
12c12
< LIBS = -L../../../lib -lsvc -lmtbl -lwcs -lcfitsio -lcoord -lnsl -lm
---
> LIBS = -L../../../lib -lsvc -lmtbl -lwcs -lcfitsio -lcoord -lm
Rank Type Prefix/Suffix
1. Prefix my+
2. Suffix +online
3. Prefix the+
4. Suffix +web
5. Suffix +media
6. Prefix web+
7. Suffix +world
8. Suffix +net
9. Prefix go+
@yapus
yapus / README.md
Created March 22, 2016 16:09 — forked from bsergean/README.md
Anti-aliasing (FXAA) with headless-gl and three.js

Aliased

Anti-aliased

Getting the code

#!/bin/bash
# Use this as a run script with daemontools or runit
## ABSOLUTE path to the spawn-fcgi binary
SPAWNFCGI="/usr/bin/spawn-fcgi"
## ABSOLUTE path to the FastCGI application (php-cgi, dispatch.fcgi, ...)
FCGIPROGRAM="/usr/bin/php5-cgi"
## bind to unix socket