Skip to content

Instantly share code, notes, and snippets.

View ugglr's full-sized avatar
:shipit:
Working Remotely

Carl-W ugglr

:shipit:
Working Remotely
View GitHub Profile
@sangdth
sangdth / nextjs-google-app-engine.md
Last active October 18, 2021 12:03
Google App Engine problem with read-only file system error

If you are using type-graphql in your project, and trying to deploy to Google App Engine, you probably will encounter the read-only file system error: Error: EROFS: read-only file system, open './src/schema.gql'

This is because Google App Engine has quite different way to handle file system: https://cloud.google.com/appengine/docs/standard/python3/using-temp-files

In my Nestjs app, I'm using @nestjs/graphql module wrapper, in which automatic generate schema.gql file at /src folder by default, and Google App Engine allows only /tmp folder.

@etiennetremel
etiennetremel / README.md
Last active July 23, 2024 09:14
Simple Wireguard setup as VPN server and multiple clients

Simple WireGuard configuration

1 server, 2 clients

Getting started

Install Wireguard on all machines.

Generate all keys

@zhiguangwang
zhiguangwang / README.md
Last active July 17, 2024 00:43
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
    
  2. Save ss.json as /etc/shadowsocks-libev/config.json.