Skip to content

Instantly share code, notes, and snippets.

View omkz's full-sized avatar
🏠
Working from home

Kurnia omkz

🏠
Working from home
View GitHub Profile

Upwork-additional-questions-and-answers-of-job-application

Additional Questions and Answers of Upwork Job Application

1. What past project or job have you had that is most like this one and why?

Ans: According to your job requirements, I have done many projects like yours. For more details you can check my portfolio, profiles and employment history where you will find the similar projects like your desire one.

2. Do you have suggestions to make this project run successfully?

Ans: Sure I have suggestions for you in this project. In my opinion, good communication and proper methods can make this project successful. And of course I will make this project successful.

3. Which part of this project do you think will take the most time?

@omkz
omkz / gist:5e6bc581d3231bdd0fe4a2272db769d0
Created March 14, 2025 21:34
rails localhost chrome - This site can’t provide a secure connection - localhost sent an invalid response - ERR_SSL_PROTOCOL_ERROR
### Google Chrome Redirects Localhost to https Fix
When Google Chrome keeps redirecting your localhost Url from http://localhost to https://localhost, do the following:
Open the Developer Tools panel (CTRL+SHIFT+I)
Click and hold the reload icon
reload_icon
A menu will open
Choose the 3rd option from this menu ("Empty Cache and Hard Reload")
Solution from gaia
@omkz
omkz / CONVENTIONS.md
Created February 23, 2025 03:49 — forked from peterc/CONVENTIONS.md
CONVENTIONS.md file for AI Rails 8 development
  • You MUST NOT try and generate a Rails app from scratch on your own by generating each file. For a NEW app you MUST use rails new first to generate all of the boilerplate files necessary.
  • Create an app in the current directory with rails new .
  • Use Tailwind CSS for styling. Use --css tailwind as an option on the rails new call to do this automatically.
  • Use Ruby 3.2+ and Rails 8.0+ practices.
  • Use the default Minitest approach for testing, do not use RSpec.
  • Default to using SQLite in development. rails new will do this automatically but take care if you write any custom SQL that it is SQLite compatible.
  • An app can be built with a devcontainer such as rails new myapp --devcontainer but only do this if requested directly.
  • Rails apps have a lot of directories to consider, such as app, config, db, etc.
  • Adhere to MVC conventions: singular model names (e.g., Product) map to plural tables (products); controllers are plural.
  • Guard against incapable browsers accessing controllers with `allo
@omkz
omkz / gist:4608900
Created January 23, 2013 16:16
Memperbaiki grub rescue tanpa live cd
1. pada grub rescue>
ketik #ls
nah , setelah perintah ls akan kluar kira2 seperti ini . .
(hd0) (hd0,6) (hd0,5) (hd0,2) (hd0,1)
yang mana nih partisi File system Ubuntu nya ya?
kalo ingat sih lanjut ke langkah 2
jika tidak, gw jga lupa sebenarnya yang mana
@omkz
omkz / rabbit.md
Last active November 27, 2024 18:21
How to Install RabbitMQ on Ubuntu 18.04

Copy the following script and save it in your server as rabbit.sh:

#!/bin/sh
## If sudo is not available on the system,
## uncomment the line below to install it
# apt-get install -y sudo
sudo apt-get update -y
## Install prerequisites
sudo apt-get install curl gnupg -y
@omkz
omkz / episode_search.rb
Created September 1, 2023 12:58 — forked from ryanb/episode_search.rb
Class that handles the PostgreSQL full text search for railscasts.com
class EpisodeSearch
attr_reader :ability, :options
delegate :sanitize, to: Episode
def initialize(ability, options = {})
@ability = ability
@options = options.dup
end
def tag
@omkz
omkz / gist:4e784f46193f0b5b094cd25c80a60202
Last active April 21, 2023 11:48
Setup Ruby on Rails on Ubuntu 20.04 for development machine
# zsh
sudo apt-get install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s $(which zsh)
# rbenv
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
@omkz
omkz / rails-skip.md
Created January 30, 2023 23:33 — forked from AshikNesin/rails-skip.md
Rails generator controller without tests, assets & helpers

Configuring application.rb

To turn off without having to add options:

# application.rb
config.generators.assets = false
config.generators.helper = false

While Generating Controller

https://us04web.zoom.us/j/75781826492?pwd=VybEkJbdwm0ZZNb8bj9epFs6DtduNd.1#success