- Dissecting Go Binaries
- Go: Overview of the Compiler
- Go compiler internals: adding a new statement to Go - Part 1
- Go compiler internals: adding a new statement to Go - Part 2
- Reversing GO binaries like a pro
- How a Go Program Compiles down to Machine Code
- Analyzing Golang Executables
- Go Reverse Engineering Tool Kit
- go-internals book
- [Reconstructing Program Semantics from Go Binaries](http://home.in.tum.de/
**************** To export db from RDS *********** | |
mysqldump -h rds.host.name -u remote_user_name -p remote_db --set-gtid-purged=OFF > remote_db.sql | |
//add *****set gtid purged off**** - AWS RDS create problem if not added. | |
When prompted for password, provide the password | |
***************** To import db on RDS ******************* | |
mysql -h rds.host.name -u remote_user_name -p remote_db < remote_db.sql | |
When prompted for password, provide the password |
<div x-data="{ bankAccounts: [{ | |
id: '', | |
accountNumber: '' | |
}] }"> | |
<template x-for="(bankAccount, index, bankAccounts) in bankAccounts" :key="index"> | |
<div class="grid grid-cols-6 gap-6 mt-2"> | |
<div class="col-span-3 md:col-span-3 sm:col-span-2"> | |
<x-jet-label for="city">Bank</x-jet-label> | |
<select :name="`bank_info[${index}][bank_id]`" id="bank" | |
class="border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-1 block w-full"> |
GOCMD=go | |
GOTEST=$(GOCMD) test | |
GOVET=$(GOCMD) vet | |
BINARY_NAME=example | |
VERSION?=0.0.0 | |
SERVICE_PORT?=3000 | |
DOCKER_REGISTRY?= #if set it should finished by / | |
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true | |
GREEN := $(shell tput -Txterm setaf 2) |
In this tutorial, I will be going over to how to deploy a Javascript app from start to finish using AWS and EC2. Recently, my partner Tu and I launched our app AlgoAcademy (a resource for reviewing algorithms and data structures) and we wanted to share with other developers some of the lessons we learned along the way.
Following this tutorial, you will have an application that has:
- A React frontend, Express backend
- An AWS EC2 server configured to host your application
- SSL-certification with Certbot
- A custom domain name
CMakeLists: | |
set(BOOST_ROOT "C:/boost_1_70_0") | |
set(BOOSTROOT "C:/boost_1_70_0") | |
find_package(Boost 1.70.0) | |
set(Boost_INCLUDE_DIR C:/boost_1_70_0/) | |
set(Boost_LIBRARY_DIR C:/boost_1_70_0/stage/lib) | |
include_directories(${Boost_INCLUDE_DIR}) | |
link_directories(${Boost_LIBRARY_DIR}) |
See this StackOverflow thread
First off, include the directive at the end of this gist.
- On your open button, make sure to use
@click.stop
to prevent the open click event from closing your modal. - On your modal, add the
v-click-outside
directive and points it at a function to call when clicked outside.
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
type CustomResponseWriter struct { | |
body []byte | |
statusCode int |
Angular has CanDeactivate
guard, but you have to declare it to each path in the routes configuration.
Valid until angular/angular#11836 will be done.
You can use CanActivateChild
guard to prevent leaving from any component with single declaration.
NGINX actual HTTP Request processing flow is divided into 11 stages.
The reason for this division is to perform logical subdivision request to the module as a processing unit, the various stages can contain any number of HTTP modules and pipelined manner request.
The advantage of this is to make the process more flexible, reducing the degree of coupling.
NGX_HTTP_POST_READ_PHASE
― The phase of the read request;