Skip to content

Instantly share code, notes, and snippets.

View yarscript's full-sized avatar
:shipit:
I may be slow to respond.

YAro Script yarscript

:shipit:
I may be slow to respond.
View GitHub Profile
@yarscript
yarscript / bis.md
Created June 19, 2021 06:29 — forked from brandonsturgeon/bis.md
World of Warcraft 3.3.5a Warmane Complete PvE BiS (Best In Slot) List
@yarscript
yarscript / Advanced-HTTP-en.md
Last active April 12, 2022 07:39 — forked from nicolas-grekas/Advanced-HTTP-en.md
Advanced handling of HTTP requests in PHP
@yarscript
yarscript / ubuntu18.04_php7.3_sqlsrv.sh
Last active May 22, 2022 11:25 — forked from jgaydos/ubuntu18.04_php7.3_sqlsrv.sh
Ubuntu 18.04 + PHP7.3 + SQLSRV
#!/bin/bash
#ubuntu 18.04
#php7.3
# install php ppa
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
@yarscript
yarscript / pivot-tables.md
Created October 7, 2021 11:12 — forked from Braunson/pivot-tables.md
Laravel 8.x - Diving into Pivot Tables

Laravel 6 - Diving Into Pivot Tables

Pivot tables can be confusing and a little hard to wrap your head around at first. In this quick article we are going to dive into what a pivot table is, how to create one and finally how to use the pivot table. Let's dive in!

What is a pivot table?

A pivot table is used to connect relationships between two tables. Laravel provides a Many To Many relationship where you can use a pivot table.

@yarscript
yarscript / app.js
Created May 23, 2022 09:29 — forked from mrnugget/app.js
node.js, express.js and socket.io — server and client example
var io = require('socket.io');
var express = require('express');
var app = express.createServer();
var server = app.listen(8080);
var ioServer = io.listen(server);
app.get('/', function (req, res) {
res.sendfile(__dirname + '/index.html');
});
@yarscript
yarscript / newincident.hbs
Created June 4, 2022 13:04 — forked from caeb92/newincident.hbs
Example nodejs typescript : Send emails with Nodemailer - Handlebars
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
.card {
@yarscript
yarscript / nginx-phpfpm-mysql-on-mac.md
Created October 4, 2022 09:30 — forked from hanhpv/nginx-phpfpm-mysql-on-mac.md
Nginx, PHP-FPM, MySQL on Mac OSX

Xcode

Make sure you have the latest version of XCode installed. Available from the AppStore.

Install the Xcode Command Line Tools:

xcode-select --install

Homebrew

Homebrew is the missing package manager for OSX. Download and install using the following command:

@yarscript
yarscript / virtual.conf
Created October 4, 2022 11:57 — forked from tmaiaroto/virtual.conf
Nginx Virtual Host Setup for OS X using Homebrew
#
# A virtual host using mix of IP-, name-, and port-based configuration.
# This is based on using Homebrew for OS X. You can use this in other
# cases though, but you'll likely need to adjust some of the paths below.
#
server {
# Replace this port with the right one for your requirements
# listen 80 [default|default_server]; #could also be 1.2.3.4:80
@yarscript
yarscript / WebGL-WebGPU-frameworks-libraries.md
Created October 8, 2022 00:43 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries

Name Stars Last Commit Description
three.js ![GitHub Rep
@yarscript
yarscript / nginx.conf
Created November 23, 2022 10:54 — forked from barce/nginx.conf
nginx conf for php
#######################################################################
#
# This is the main Nginx configuration file.
#
# More information about the configuration options is available on
# * the English wiki - http://wiki.nginx.org/Main
# * the Russian documentation - http://sysoev.ru/nginx/
#
#######################################################################