Skip to content

Instantly share code, notes, and snippets.

View JuryA's full-sized avatar

Jiří Altman JuryA

View GitHub Profile
@JuryA
JuryA / Dockerfile
Last active August 29, 2015 14:23
Docker - Relocate timezone
# Relocate the timezone file
RUN mkdir -p /config/etc && mv /etc/timezone /config/etc/ && ln -s /config/etc/timezone /etc/
@JuryA
JuryA / facebook-local-app.MD
Created April 2, 2016 23:44 — forked from sorenlouv/facebook-local-app.MD
Getting a Facebook app id to use for fb-sleep-stats

Choose either option A or option B.

Option A: Fast way

Facebook App Id: 435522656639081

Update: Facebook has closed the app above, and you must setup your own Facebook app. Follow the instructions in option B below.

Option B: Setup your own Facebook app

Use this options, if you want to run the service from any other domain than localhost

https://github.com/saltstack/salt/wiki/Cheat-Sheet
Verifying that +jaltman is my blockchain ID. https://onename.com/jaltman

Keybase proof

I hereby claim:

  • I am jurya on github.
  • I am jurya (https://keybase.io/jurya) on keybase.
  • I have a public key whose fingerprint is 4E86 2D67 0C93 F276 59EC 2E2A 416D 107A 57F8 40AB

To claim this, I am signing this object:

@JuryA
JuryA / mychoco.ps1
Last active July 25, 2018 18:24
My chocolatey script - run in Admin PowerShell 3.0: `Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://goo.gl/9EhW75 -UseBasicParsing | iex`
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco feature enable -n allowGlobalConfirmation
choco install chocolateygui notepadplusplus googlechrome 7zip adobereader jre8 vlc git putty powershell ccleaner sysinternals teamviewer itunes winscp totalcommander
choco install docker-for-windows vagrant lastpass lastpass-chrome
choco install rufus python python2 cmder sudo tftpd32
@JuryA
JuryA / lscript-auto-install.sh
Created July 25, 2018 10:20
Kali Lazy Script auto installer
#/bin/bash
cd ~
git clone https://github.com/arismelachroinos/lscript.git
cd lscript
chmod +x install.sh
./install.sh
@JuryA
JuryA / autoWSL.box
Last active October 19, 2018 09:42
How-to install WSL on Win 10 (without Windows Store)
cinst Microsoft-Windows-Subsystem-Linux -source windowsFeatures
cinst wsl-ubuntu-1804
@JuryA
JuryA / Cisco_Anyconnect.ps1
Created December 4, 2018 20:50 — forked from jhorsman/Cisco_Anyconnect.ps1
PowerShell to automate VPN connection with Cisco AnyConnect Secure Mobility Client
#Source www.cze.cz
#This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495"
# Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>]
#Please change following variables
#IP address or host name of cisco vpn, Username, Group and Password as parameters
param (
[string]$Server = $( Read-Host "Input server, please" ),
@JuryA
JuryA / bootstrap.ps1
Last active February 13, 2019 11:12
Bootstrap script
#As described here: http://boxstarter.org/Learn/WebLauncher
#The command to run, built from the raw link of this gist
#START http://boxstarter.org/package/nr/url?https://gist.github.com/JuryA/1db33ab88f7028c2defecdaaba94ac6a/raw
# Boxstarter options
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot