I hereby claim:
- I am azophy on github.
- I am azophy (https://keybase.io/azophy) on keybase.
- I have a public key ASCfauksy4CWY9hrmlc4q5Yj3eHmq9Z0Kn1I0s96948aDwo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Quick CSS Flexbox & Grid Example</title> | |
</head> | |
<body> | |
<h2>Grid example</h2> | |
<p> | |
Grid allows better layout oriented design vs content oriented design of flex's. ref: https://torquemag.io/2020/04/css-grid-tutorial/ |
#!/env/python | |
# send HTTP POST with empty body | |
# taken from https://stackoverflow.com/a/64860348/2496217 | |
from urllib import request | |
req = request.Request( | |
'https://postman-echo.com/post', | |
method='POST', |
#!/bin/sh | |
# reference: https://stackoverflow.com/a/62722622/2496217 | |
# stop & uninstall gitlab runner service | |
sudo gitlab-runner uninstall | |
# re-install as other use | |
sudo gitlab-runner install \ | |
--user azophy \ | |
--working-directory /home/azophy/deploy \ |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Analyze Github Stats</title> | |
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script> | |
<style> | |
table { | |
font-family: Arial, Helvetica, sans-serif; | |
border-collapse: collapse; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
""" | |
Python script to run the build process on all environtment. Intended to be | |
replacement to Makefile and make.bat | |
idea : https://github.com/sphinx-doc/sphinx/issues/3196 | |
Run: |
vim nama_file.txt
esc button
i
:w
:q
#!/bin/bash | |
# SIMPLE GITLAB UPLOAD AUTOMATION SCRIPT | |
# AUTHOR : Abdurrahman Shofy Adianto [ azophy.github.io ] | |
# usage: | |
# - dont forget to make this script executable by running "chmod +x upload.sh" | |
# - the only argument is aditional branch to be included after merging develop, for example: master | |
lokasi=$(git branch | grep \* | cut -d ' ' -f2) | |
develop_branch='develop' |
First, terminal commandsudo mysql -uroot -p
then on mysql console:
create database monicadb;
CREATE USER 'monica'@'localhost' IDENTIFIED BY 'strongpassword';
GRANT ALL ON monicadb.* TO 'monica'@'localhost';
FLUSH PRIVILEGES;
exit
from PySide.QtGui import * | |
from PySide.QtCore import * | |
""" | |
Custom ProgressBar with percentage displayed with 2 decimals after point | |
ref: http://stackoverflow.com/a/11694473/2496217 | |
""" | |
class CustomProgressBar(QProgressBar): | |
def __init__(self,parent=None): | |
super(CustomProgressBar, self).__init__(parent) |