roles: ui/frontend linux/devops guy fullstack dev
level up:
- trainee: 0 contributions, still studying
- mage
- 1: 1-3 contributions
- 2: 4-7 contributions
roles: ui/frontend linux/devops guy fullstack dev
level up:
From https://reinink.ca/articles/introducing-inertia-js
I've recently abandoned server-side rendering entirely in my Laravel projects in favour of a fully Vue.js based front-end. There's a base template, which contains a single div, used as the root Vue.js container. That div has two data attributes, a component name, and component data (props). This is used to tell Vue.js which page component to display, and also provide the data (props) required for it.
<html>
<head>
// …
export function getDSTOffset(dst = true) { | |
//DST enabled | |
if(dst) { | |
const dst_offsets = { | |
bombay: 5.5, | |
philippines: 8, | |
london: 1, | |
denver: -6, | |
new_york: -4 | |
} |
Copy this to your /etc/hosts
############################################
# To Completely Block Facebook
# Add these entries below to your hosts file
#
# Your hosts file Location:
# Linux, Unix and Mac OS X -> /etc/hosts
# Windows XP, Vista and Windows 7 -> C:WINDOWSsystem32driversetchosts
This is a sample code for Event Sourcing and CQRS pattern. | |
* http://blog.aliencube.org/ko/2015/11/12/building-applications-on-cloud-with-event-sourcing-pattern-and-cqrs-pattern/ |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Response; | |
use Illuminate\Cache\RateLimiter; | |
class ThrottleRequests | |
{ |
https://www.sohamkamani.com/golang/2019-01-01-jwt-authentication/
https://git.io/JJmDT - github authentication with 2fa
noteable go packages
https://github.com/masterzen/winrm-cli
https://github.com/TimothyYe/skm SSH Keys Manager.
https://github.com/bengadbois/pewpew Stress tester (http)
https://github.com/sanathp/statusok monitor website from your computer