Skip to content

Instantly share code, notes, and snippets.

View treksis's full-sized avatar
🚀
Working from home

Ho Woo Jang treksis

🚀
Working from home
  • Ho Woo Jang
  • Montreal
  • 09:32 (UTC -05:00)
View GitHub Profile
@treksis
treksis / App.tsx
Created July 30, 2024 03:20 — forked from Glazzes/App.tsx
React Native pinch to zoom advanced
/**
* After some thoughts on this topic, I've decided to turn this gist along with other features into a library so you can zoom
* whatever you want, library you can find here https://github.com/Glazzes/react-native-zoom-toolkit.
*
* @author Santiago Zapata, Glazzes at Github <3
* @description This gist makes part of an article I'm writing about this topic (in spanish). This solution takes into account
* the linear algebra concepts and geometrical interpretation of the transform-origin property specification, this solution
* takes heavy inspiration from William's Candillon +3 year old video in this topic, however this solution brings it to the
* modern day along with a huge fix that prevents the origin from being displaced by an incorrect offset calculation after
* the first zoom interaction.
@Glazzes
Glazzes / App.tsx
Last active November 7, 2024 17:43
React Native pinch to zoom advanced
/**
* After some thoughts on this topic, I've decided to turn this gist along with other features into a library so you can zoom
* whatever you want, library you can find here https://github.com/Glazzes/react-native-zoom-toolkit.
*
* @author Santiago Zapata, Glazzes at Github <3
* @description This gist makes part of an article I'm writing about this topic (in spanish). This solution takes into account
* the linear algebra concepts and geometrical interpretation of the transform-origin property specification, this solution
* takes heavy inspiration from William's Candillon +3 year old video in this topic, however this solution brings it to the
* modern day along with a huge fix that prevents the origin from being displaced by an incorrect offset calculation after
* the first zoom interaction.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@harubaru
harubaru / wd1-3-release.md
Last active October 6, 2024 09:12
Official Release Notes for Waifu Diffusion 1.3
@sauravmishra1710
sauravmishra1710 / DisplayAllImages
Created March 3, 2020 17:22
Display all images in a folder
import glob
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
%matplotlib inline
images = []
for img_path in glob.glob('./Data/1/*.png'):
images.append(mpimg.imread(img_path))
plt.figure(figsize=(20,10))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
THE TRAGEDY OF HAMLET, PRINCE OF DENMARK
by William Shakespeare
Dramatis Personae
Claudius, King of Denmark.