Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
rikka0w0 / pxe_win10_winpe.md
Last active August 2, 2024 13:34
Boot Windows 10 and WinPE from PXE (IPXE)

Pre-requests:

  1. TFTP server
  2. IPXE Make sure ipxe.lkrn is in the TFTP root.
  3. iSCSI target (Server) Assume we have an iSCSI target "1:net.cszombie.au:windows" that is ready to be connected. 1 is LUN id, "net.cszombie.au:windows" is the target name.
  4. HTTP server (To speed up loading boot.wim, http is faster than tftp, http is supported by IPXE, however this is optional)

1. Download wimboot to the root of the TFTP server

2. Create scripts:

@extremecoders-re
extremecoders-re / genymotion-headless.md
Last active November 2, 2024 10:24
Run Genymotion on a Headless server

As per the official documentation it's not possible to run Genymotion on a headless server. This is because Genymotion does the UI processing outside the VM on the host. If the host is headless, i.e. doesn't have hardware acceleration, Genymotion won't be able to render the Android OS display. As a result the VM will boot up in VirtualBox but there won't be any display.

(Note that getting a GUI via X11 Forwarding, XRDP, X2Go is not the same as a dedicated display. These are virtual displays. The Genymotion app will start but on booting an Android VM the player window will be blank.)

Quoting from https://stackoverflow.com/a/39448004/1833653

When you start a Genymotion device on the standard way from Genymotion Soft, the Android OS is starting inside a VirtualBox VM but all the UI processing (which uses OpenGL) is done outside the VM to make the rendering pipeline uses your computer's GPU. Using this hardware acceleration makes the Genymotion devices fairly smooth and fast.

When you start the Genymoti

Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@shad0wuser
shad0wuser / github_quick_start.md
Last active February 2, 2018 21:12 — forked from arn-ob/gitUpload.txt
Git Repository Upload Command

Add the files in your new local repository. This stages them for the first commit.

Change the current working directory to your local project. Initialize the local directory as a Git repository.

git init

Setting your commit email address and username in Git

@shad0wuser
shad0wuser / bash-launch-script.md
Last active January 2, 2018 22:36
Bash script to start, stop and restart any processes.

Bash Script to Start, Stop and Restart the process.

Script for start, stop and restart the processe. And also it shows the status.

#!/bin/bash  

server_root=~/path/to/my/working-directory
log_file=$server_root/path/to/log/log.file
@windows98SE
windows98SE / aes.py
Created June 27, 2014 08:27
AES Class Python
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
import string
import random
import base64
from Crypto.Cipher import AES
BLOCK_SIZE = 16
pad = lambda s: s + (BLOCK_SIZE - len(s) % BLOCK_SIZE) * chr(BLOCK_SIZE - len(s) % BLOCK_SIZE)