Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dolphin Gamecube/Wii emulator / Xbox One Controller profile | |
# Gamecube Controller | |
# Location -> C:\User\<your user>\Documents\Dolphin Emulator\Config\Profiles\GCPad\Xbox Controller (GCPad).ini | |
[Profile] | |
Device = XInput/0/Gamepad | |
Buttons/A = `Button A` | |
Buttons/B = `Button B` | |
Buttons/X = `Button X` | |
Buttons/Y = `Button Y` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copied from typescript playground - https://www.typescriptlang.org/play/ | |
class Vector { | |
constructor(public x: number, public y: number, public z: number) { } | |
static times(k: number, v: Vector) { | |
return new Vector(k * v.x, k * v.y, k * v.z); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from contextlib import asynccontextmanager | |
from datetime import datetime | |
from fastapi import FastAPI, Request | |
import fastapi | |
from fastapi.datastructures import State | |
from fastapi.responses import JSONResponse | |
import redis.asyncio as redis | |
class Redis: | |
redis_client: redis.Redis = None |
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ад | |
ар | |
ер | |
ил | |
ом | |
ум | |
ус | |
юг | |
юр | |
ют |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias aws-profile-chooser='x() { select prof in $( aws configure list-profiles ) ; do export AWS_PROFILE="$prof"; break; done }; x' |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
- Make sure you have installed
lm_sensors
- sudo pacman -S lm_sensors --needed
- Download and Install the it87 kernel module for the driver support:
- git clone https://github.com/gamanakis/it87.git --branch=it8688E
- sudo make; sudo make install
- To temporary enable the it87 module
NewerOlder