Skip to content

Instantly share code, notes, and snippets.

View identor's full-sized avatar
🌴
On vacation

Irvin Denzel Torcuato identor

🌴
On vacation
View GitHub Profile
@identor
identor / install-arch.md
Created February 8, 2021 06:41
Installing Arch 2021 UEFI KVM

Arch Installation 2021, UEFI boot KVM

This guide shows how to install arch linux with UEFI boot in KVM.

Requirements

Things you need before starting:

  1. Properly installed libvirtd, qemu w/ KVM
  2. In arch install, edk2-ovmf
  3. Install virt-manager
@identor
identor / hello.js
Created August 7, 2020 09:26
Hello world! Console log
console.log('Hello world!');
if (window?.alert) { window.alert('Hellow world!'); }
@identor
identor / alivealert.txt
Last active March 28, 2021 11:14
Unturned cheats
// Player id: alivealert
// SecOps Set
/give 76561198059847327/1169
/give 76561198059847327/1170
/give 76561198059847327/1171
/give 76561198059847327/1172
/give 76561198059847327/1389
/give 76561198059847327/334
@identor
identor / fanout-ingress.yml
Last active February 10, 2019 08:28
Kubernetes: Setting up fanout ingress GCP
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: fanout-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: "web-static-ip"
spec:
rules:
- http:
paths:
+----+--------------------+
| id | quantity_text |
+----+--------------------+
| 1 | 250mg;500mg |
| 2 | 500mg/vial |
| 3 | 125mg/5mL;250mg/mL |
| 4 | 500mg |
| 5 | 250mg;500mg |
+----+--------------------+
@identor
identor / _gvimrc.vim
Last active April 22, 2017 15:01
Windows Vim config
" Recommended settings
set clipboard=unnamed
set nocompatible
" Syntax and plugin settings
filetype plugin indent on
syntax enable
set nowrap
set list
@identor
identor / Initial configurations.md
Last active February 6, 2023 16:28
Git deployment in Centos 7

General

Created a user named git, this shall function as the user where git repos are put into. The git repos in the home directory of the user are supposed to be bare repositories. To initialize a repository issue the command:

git init --bare <site-name>.git

Create new site script for host

#!/bin/bash
@identor
identor / Summary.md
Last active February 3, 2017 04:34
Deployment Test with simple auto deployment server update by git push.

Deployment Summary

Deployment summary, all commands are tested in debian 8.1 x64. The new user to be created will be deploy under the host yourhost-here.

Create new user for deployment

Access the root user's shell. Note that the adduser command will prompt for a password, enter a new password and remember it.

apt-get install sudo -y
adduser deploy
gpasswd -a deploy sudo
@identor
identor / CONTRIBUTING.md
Last active August 29, 2015 14:22
General Coding Guidelines

Summary

This document serves as a guide to contributing in the admin project.

SQL

Since we have used MySQL for our database component. A scheme for naming things in MySQL has been developed, we follow this general guidelines:

  • Table names should be words in their noun form.
  • Table names should be pluralized.
  • Table names containing multiple words should be separated with the underscore character _.
  • Every table should contain an id column, which serves as the Surrogate key.
  • Pivot tables should be named as follows: the first table name is determined alphabetically, it should be appended with an underscore and the pluralized second table's name. Ex. pivot table for students and courses: course_students.
@identor
identor / vici_install.md
Last active February 19, 2024 04:26
Guide: Vici Dial Installation

Vici Dial Installation Guide

This guide shows a simple Vici Dial installtion on a debian6_x64 droplet in Digital Ocean.

Create the Droplet

General Guidelines:

  • Create the Droplet by selecting Create Droplet in the Droplet's UI.
  • Select the 64 bit image of debian 6.

Dependency installation

We need to install all dependencies before proceeding to install the astguiclient.