View CHANGELOG.md

3.1 (preliminary changelog)

Added

  • OpenGL ES 2.0 renderer.
  • Visual shader editor.
    • New PBR output nodes.
    • Conversion between Vector3 and scalar types is now automatic.
    • Ability to create custom nodes via scripting.
    • Ports can now be previewed.
View bench.py
import sys, time
import gumath as gm
import gumath.functions as fn
from xnd import xnd
import numpy as np
import gc
#
# The array sizes are for >=16GB of memory. Your system might freeze if
View amazonlinux2
amazon-linux-extras install ansible2
##docker latest amazon linux2 container
amazon-linux-extras install docker
systemctl start docker
docker pull amazonlinux
View .prettierrc
{
"singleQuote": true,
"trailingComma": "none"
}
View pleiades2d195af5c82f.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MBA
#### MBA analysis ####
library(arules)
library(tidyr)
library(dplyr)
subdata <- data[data$CustomerID %in% RFM$CustomerID,]
trandata <- subdata[,c('InvoiceNo', 'Description')]
trandata$Description <- trimws(trandata$Description, which = "both")
trandata <- trandata[trandata$Description!='Manual',]
trandata <- trandata[!duplicated(trandata),]
View tcp_flags.txt
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)
View change_wordpress_domain.md

Find/Replace within dump method

This is a very simple method, and for me (as a SysAdmin) it's very practical as I usually make things through SSH terminal.

It's important to say that everything (including text inside posts) that matches the find string WILL BE REPLACED!

For me it's never been a problem so far, but one never knows

First we generate the dump itself, for example:

mysqldump -umyuser -pmypass mydatabase > mydumpfile.sql
View nmap-helper.md
sudo nmap -n -sn 10.62.226.159/24 | awk '/Nmap scan report/{printf $5;printf " ";getline;getline;print $3;}' 
View promotions_controller.rb
class PromotionsController < AdminController
def create
promotion = Promotion.new(promotion_params)
begin
download_img(promotion)
promotion.save!
flash[:notice] = "Success"
redirect_to admin_promotions_path
rescue ActiveRecord::RecordInvalid