Skip to content

Instantly share code, notes, and snippets.

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

Sardor Muminov muminoff

🏠
Working from home
  • Electronic Arts
  • Seoul, Korea
View GitHub Profile
Car Model Fuel Economy (km/L) Mileage (km) Price (KRW) Reliability (score out of 10) Features (score out of 10) Total Score (out of 20)
Lexus ES 300h 2014 16.7 180,000 15,000,000 9 8 17
Lexus CT 200h Supreme 2015 22.2 81,000 19,500,000 9 9 18
Lexus IS 350 Executive 2014 10.1 95,000 17,700,000 7 8 15
Lexus ES 350 Supreme 2008 9.0 86,000 7,500,000 7 8 15
Lexus LS 460L Executive 2008 7.8 182,000 7,700,000 7 9 16
@muminoff
muminoff / test2.py
Last active September 19, 2020 08:53
Test #2
#!/usr/bin/env python3.8
#
# Test #2
# smuminov@gmail.com
#
# Write a command-line program that prints out the sum of two non-negative integers as input arguments.
# Input arguments are UTF-8 encoded Korean characters only listed as '일이삼사오육칠팔구' and '십백천만억조', and also your program's output should be.
# The less you use ifs, the higher you get scored. Google Korean Numbering System if you are not familiar with.
#!/usr/bin/env python3.8
import sys
@muminoff
muminoff / test1.py
Last active September 19, 2020 07:58
Test #1
#!/usr/bin/env python3.8
#
# Test #1
# smuminov@gmail.com
#
# Write a command-line program that prints out the sum of two non-negative integers as input arguments.
# You must not use any built-in BigInteger library or convert the inputs to integer directly.
import sys
@muminoff
muminoff / repetition_algorithm.ipynb
Created June 10, 2020 07:05 — forked from doctorpangloss/repetition_algorithm.ipynb
Supermemo 2 Algorithm, Unobscured (Python 3)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@muminoff
muminoff / Ansible Let's Encrypt Nginx setup
Created September 13, 2019 11:13 — forked from mattiaslundberg/Ansible Let's Encrypt Nginx setup
Let's Encrypt Nginx setup with Ansible
Ansible playbook to setup HTTPS using Let's encrypt on nginx.
The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS.
The server pass A rating on [SSL Labs](https://www.ssllabs.com/).
To use:
1. Install [Ansible](https://www.ansible.com/)
2. Setup an Ubuntu 16.04 server accessible over ssh
3. Create `/etc/ansible/hosts` according to template below and change example.com to your domain
4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder)
@muminoff
muminoff / key.md
Created February 28, 2019 07:56
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

from django.contrib import admin
from django.contrib.auth.models import User
class UserAdmin(admin.ModelAdmin):
fields = ('email', 'is_staff', 'is_superuser', 'is_active')
list_display = ('email', 'is_active', 'is_staff', 'is_superuser', 'date_joined',)
admin.site.register(User, UserAdmin)
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript">
let globalChristianClassId = null;
let globalChristianLevelId = null;
let globalChristianDutyId = null;
let globalOfferingServiceId = null;
let globalOfferingTypeId = null;
(function($) {
'use strict';