Skip to content

Instantly share code, notes, and snippets.


Jovial Joe Jayarson joe733

View GitHub Profile
joe733 / latex-math-chars.rkt
Created Feb 5, 2022 — forked from Metaxal/latex-math-chars.rkt
List of latex to unicode math characters
View latex-math-chars.rkt
#lang racket/base
(provide latex-math-chars)
;;; LaTeX math to Unicode symbols translation dictionaries.
;;; Adapted from
;;; anaconda/lib/python2.7/site-packages/docutils/utils/math/
;;; itself generated with ```` from the data in
;;; Includes commands from: wasysym, stmaryrd, mathdots, mathabx, esint, bbold, amsxtra, amsmath, amssymb, standard LaTeX
joe733 /
Created Aug 25, 2021
django survey
# from json import load
from django import forms
from django.forms import fields
from .models import Survey, questions
form_fields = []
answers = q_atrb = dict()
# with open(file="survey/assets/questions.json", mode='r', encoding="utf-8") as jfp:
# questions = load(jfp)
joe733 /
Created Jun 8, 2021 — forked from mrk-han/
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER


For generic skin emulator with default apis (without google apis):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-29;default;x86"

joe733 /
Created Sep 7, 2020 — forked from soheilhy/
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for,, and on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

joe733 /
Created Sep 7, 2020 — forked from denji/
NGINX tuning for best performance

Moved to git repository:

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

joe733 /
Created Sep 6, 2020 — forked from i3visio/ is a clean implementation of a "proof of work" library for Python.
# ----------------------------------------------
# Hashcash implementation
# ----------------------------------------------
Hashcash is a "proof of work."
>>> import sha
>>>'denmark2890CF').hexdigest() '000000cf89643370c24e413ec0886ab92bd7f6e8'
joe733 / id1.dart
Created Jun 2, 2020 — forked from RodBr/id1.dart
Inject Dependencies
View id1.dart
import 'package:flutter/material.dart';
import 'package:get/get.dart'; //STEP 1 - import Get
void main() {
//STEP 3 - add our services - immediate or lazy
Get.lazyPut<AuthService>(() => AuthService());