Port forwarding
Open ports (udp)
2456 2457 2458 27060
Uncomplicated Firewall
sudo ufw allow 2456/udp
''' | |
########################################################################### | |
Extract SW SMI handlers information from SMRAM dump of Skylake based | |
AMI Aptio V firmware. | |
To use full capabilities of this tool you need to install UEFIDump | |
(https://github.com/LongSoft/UEFITool/releases/tag/A32), ida-efiutils | |
(https://github.com/snare/ida-efiutils) and edit corresponding variables | |
below. |
@description('App Service location. Default is the location of the resource group.') | |
param location string = resourceGroup().location | |
@description('App base name') | |
param appBaseName string = 'myapp' | |
@description('Environment Name.') | |
param envName string = 'dev' | |
var applicationGateWayName = 'apgw-${appBaseName}-${envName}-${location}-001' |
Port forwarding
Open ports (udp)
2456 2457 2458 27060
Uncomplicated Firewall
sudo ufw allow 2456/udp
#include <iostream> | |
#include <stdlib.h> // for rand | |
using namespace std; | |
class Team { | |
private: | |
static int count; | |
static int count1; | |
public: |
#!/bin/bash | |
# Written by Frans Rosén (twitter.com/fransrosen) | |
_debug="$2" #turn on debug | |
_timeout="20" | |
#you need a valid key, since the errors happens after it validates that the key exist. we do not need the secret key, only access key | |
_aws_key="AKIA..." | |
H_ACCEPT="accept-language: en-US,en;q=0.9,sv;q=0.8,zh-TW;q=0.7,zh;q=0.6,fi;q=0.5,it;q=0.4,de;q=0.3" | |
H_AGENT="user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36" |
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl docker.io \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
import math.{pow, log, sqrt} | |
import java.util.Random | |
import org.apache.commons.math.stat.StatUtils.mean | |
import org.apache.commons.math.stat.regression.SimpleRegression | |
object HurstExponent extends App { | |
def hurstExponent(xs: Array[Double]): Double = { | |
def S(xs: Array[Double]): Double = { | |
val meanXs = mean(xs) |
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" |