Skip to content

Instantly share code, notes, and snippets.

View JuryA's full-sized avatar

Jiří Altman JuryA

View GitHub Profile
@JuryA
JuryA / config.yaml
Last active March 20, 2020 09:05
k3os.cloud-init
ssh_authorized_keys:
- github:jurya
hostname: rproxy
write_files:
- content: |-
/dev/sda1 /persist ext4 auto 0 0
owner: root
path: /etc/fstab
permissions: '0644'
boot_cmd:boot_cmd:
@JuryA
JuryA / onehalf.asm
Created March 13, 2020 10:27 — forked from starenka/onehalf.asm
onehalf.3577
;Dear friends,
;some time has already passed since the great days of One Half epidemy.
;Nevertheless we still hope that a code of this popular virus inspires
;you also now. A lot of stuff has been written on the subject, so I tink,
;not many words are necessary about this little creature any more.
;And, so, here is the original source of One_Half.3577:
DOSSEG
.MODEL SMALL
.STACK 100h
@JuryA
JuryA / install-xrdp.sh
Last active October 20, 2019 01:36
install-xrdp.sh
#!/bin/bash
#####################################################################################################
# Script_Name : Std-Xrdp-install-0.6.1.sh
# Description : Perform an automated standard installation of xrdp
# on ubuntu 18.04 and later
# Date : Sept 2019
# written by : Griffon
# Web Site :http://www.c-nergy.be - http://www.c-nergy.be/blog
# Version : 0.6.1
# History : 0.6.1 - Added support for Ubuntu 18.04.3
#!/bin/bash
#####################################################################################################
# Script_Name : Std-Xrdp-install-0.6.1.sh
# Description : Perform an automated standard installation of xrdp
# on ubuntu 18.04 and later
# Date : Sept 2019
# written by : Griffon
# Web Site :http://www.c-nergy.be - http://www.c-nergy.be/blog
# Version : 0.6.1
# History : 0.6.1 - Added support for Ubuntu 18.04.3
@JuryA
JuryA / DCC-O365.ps1
Last active February 12, 2020 13:30
$xml_config = @'
<Configuration ID="ef54145e-08ba-43b3-9b4a-58550103039e">
<Info Description="O365 Click-to-Run Configuration by DCC © 2019" />
<Add OfficeClientEdition="64" Channel="Monthly" ForceUpgrade="TRUE">
<Product ID="O365ProPlusRetail">
<Language ID="MatchOS" />
<Language ID="cs-cz" />
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
</Product>
Install-Module CredentialsManager -scope CurrentUser
@JuryA
JuryA / AutoPilot.ps1
Last active October 12, 2019 14:29
Microsoft AutoPilot automatic registration script - to run it use:RAW content of **`AutoPilot.ps1`**: [https://git.io/OAP](https://git.io/OAP)Automatic WebInstaller (_works with Internet Explorer or special add-ones_): [https://cutt.ly/osmec](htt
# Installation of appropriate script from https://www.powershellgallery.com/packages/Upload-WindowsAutopilotDeviceInfo/
Install-Script -Name Upload-WindowsAutopilotDeviceInfo -Force:$true
Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'AssignedPC' -Confirm:$false
# Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedPC' -Confirm:$false
# Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedEduPC' -Confirm:$false
# Start-Process -FilePath '%WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe'
Verifying that "jaltman.id" is my Blockstack ID. https://explorer.blockstack.org/name/jaltman.id
#!/bin/bash
echo "Hello world!"
@JuryA
JuryA / slack_history.py
Created August 28, 2019 11:17 — forked from Chandler/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
# MIT License
# Copyright (c) 2016 Chandler Abraham
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: