Skip to content

Instantly share code, notes, and snippets.

@MattPD
MattPD / analysis.draft.md
Last active May 20, 2024 07:57
Program Analysis Resources (WIP draft)
@kantoku009
kantoku009 / RegressionAnalysis.py
Last active May 20, 2024 07:56
Numpyを利用して重回帰分析を行うpythonプログラム
#! /usr/bin/python
# -*- coding: utf-8 -*-
#(注意) このファイルは, Tab=4で見ると見易い.
######################################################################################################
# @file RegressionAnalysis.py
# @brief Numpyを利用して重回帰分析を行う.
# @note
# ■重回帰分析について
@njh
njh / auto_select_certificate.json
Created December 22, 2015 11:06
Policy file to configure Chrome/Chromium to automatically select a client certificate (useful for Kiosk mode)
{
"AutoSelectCertificateForUrls": ["{\"pattern\":\"*\",\"filter\":{}}"]
}
@alisahanyalcin
alisahanyalcin / LocalizeDropdown.cs
Created April 24, 2023 09:06
Unity Localize Dropdown Component
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Localization;
using UnityEngine.Localization.Settings;
using TMPro;
using UnityEditor;
public class LocalizeDropdown : MonoBehaviour
{
[SerializeField] private List<LocalizedString> dropdownOptions;
@bschaatsbergen
bschaatsbergen / docker-compose.yml
Last active May 20, 2024 07:54
multi-node elasticsearch cluster
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es02,es03
- cluster.initial_master_nodes=es01,es02,es03
@danielwetan
danielwetan / nodejs-cicd-github-actions.md
Last active May 20, 2024 07:53
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder

@ibraheem4
ibraheem4 / postgres-brew.md
Last active May 20, 2024 07:49 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@nichtich
nichtich / README.md
Last active May 20, 2024 07:48 — forked from oodavid/README.md
How to automatically deploy from GitHub

Deploy your site with git

This gist assumes:

  • you have an online remote repository (github / bitbucket etc.)
  • you have a local git repo
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by Apache
  • the Apache user is named www-data (may be apache on other systems)
@ityonemo
ityonemo / test.md
Last active May 20, 2024 07:47
Zig in 30 minutes

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)

@sadiqsalau
sadiqsalau / mtk-partitions.txt
Last active May 20, 2024 07:41
MTK Partitions
MTK platform partition meaning
#Pre-loader
Pre-loader image
Handles all the download and secure boot procedure
#DSP_BL
DSP Boot Loader
#MBR、EBR1、EBR2
Ext4 file system partition index table