Skip to content

Instantly share code, notes, and snippets.

View PavelCz's full-sized avatar
🥸

Pavel C PavelCz

🥸
View GitHub Profile
@miwong
miwong / mnist_tutorial_fgsm.md
Last active August 6, 2022 09:55
CleverHans Tutorials

MNIST tutorial: the fast gradient sign method and adversarial training

This tutorial explains how to use CleverHans together with a TensorFlow model to craft adversarial examples, as well as make the model more robust to adversarial examples. We assume basic knowledge of TensorFlow.

Setup

First, make sure that you have TensorFlow

@agrcrobles
agrcrobles / android_instructions_29.md
Last active October 22, 2023 12:09 — forked from patrickhammond/android_instructions.md
Setup Android SDK on OSX with and without the android studio

Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.

A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.

Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.

Prerequisites:

https://github.com/shyiko/jabba instead ?

@lnksz
lnksz / tumcolors.md
Last active March 5, 2024 15:36
RGB and HEX color codes of TUM colors

Colors for Presentation (from 2017)

Name HEX RGB
Main colors
#0065bd TUMBlue #0065bd 0,101,189
#000000 Black #000000 0,0,0
#ffffff White #ffffff 255,255,255
Secondaries
#005293 DarkBlue #005293 0,82,147
@max-mapper
max-mapper / bibtex.png
Last active March 10, 2024 21:53
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@Aldaviva
Aldaviva / Video encoding with FFmpeg.md
Last active May 24, 2023 01:46
Video encoding with FFmpeg, a great tool with the shittiest user interface you can imagine: lots of confusing, unmemorable, unintuitive, undiscoverable command-line flags

Remux without transcoding

ffmpeg -i input.ts -c copy output.mp4

x264, AAC

ffmpeg -i input.avi -c:v libx264 -preset slow -crf 23 -pix_fmt yuvj420p -c:a aac -b:a 160k output.mp4
@mlagerberg
mlagerberg / savegame-sync.bat
Last active September 10, 2017 22:58
[Windows batch script for keeping savegames in sync over Dropbox]
@echo off
set DROPBOX=%HOMEPATH%\Dropbox
cls
echo.
echo This script will create directory junctions between your savegames and Dropbox/Google Drive/Skydrive/Copy/SugarSync/CX/etc,
echo essentially storing your savegames in the cloud.
echo So, make sure you have enough space in your Dropbox account!
echo No Dropbox? Go: http://db.tt/9OTahFS
echo Better yet, use Copy and get many more gigabytes: https://copy.com?r=fxEXmQ