Skip to content

Instantly share code, notes, and snippets.

View prolifel's full-sized avatar
😭
Wanna sleep...

prolifel

😭
Wanna sleep...
View GitHub Profile
@prolifel
prolifel / readme.md
Created February 24, 2024 04:27
Dynamic Google Form by dropdown answer using Apps Script

Dynamic Google Form by dropdown answer using Apps Script

Prerequisites

  1. Create a 2 wheet in the Google Form's connected Google Sheet. In this example the sheet name will be location and others
  2. For the sheet location, make the sheet like this:

image

  1. For the sheet others, make the sheet like this
@prolifel
prolifel / olympe.md
Last active May 31, 2022 21:39
olympe and sphinx installation rpi

Olympe

Persyaratan

  1. Repo sudah terinstall. Cek dengan repo version. Kalau error, bisa lihat tutorial di sini
  2. sudo apt-get update
  3. Git terinstall. Cek dengan git
  4. Ukuran swap sudah diperbesar (optional). Tutorial ada disini

Langkah

  1. Pastikan ada di home: cd ~
@prolifel
prolifel / fail2ban.sh
Created January 18, 2022 05:36
Simple fail2ban script for your server. Props: maxretry=3, bantime=7200
#!/bin/bash
sudo apt-get update && sudo apt-get install fail2ban -y
i=1;
ports="";
for port in "$@"
do
if [ "$ports" = "" ];
then
@prolifel
prolifel / Program.cs
Created March 21, 2021 05:53
Kode Hello World .NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld_PBKK
{
class Program
{