Skip to content

Instantly share code, notes, and snippets.

@danyaljj
danyaljj / powerpointpdf.bas
Created June 30, 2026 21:55 — forked from keerekeerweere/powerpointpdf.bas
powerpoint split slides containing animations in separate slides for pdf exort and printing
Option Explicit
Sub AddElements()
Dim shp As Shape
Dim i As Integer, n As Integer
n = ActivePresentation.Slides.Count
For i = 1 To n
Dim s As Slide
Set s = ActivePresentation.Slides(i)
@danyaljj
danyaljj / centered.md
Created October 14, 2016 20:48 — forked from ProjectCleverWeb/centered.md
Example of how to do centered text and images in Githb Flavored Markdown
@danyaljj
danyaljj / install-redis.sh
Last active August 28, 2015 17:29 — forked from raecoo/install-redis.sh
Install Redis on Amazon EC2 AMI
# chmod 777 install-redis.sh
# ./install-redis.sh
###############################################
echo "*****************************************"
echo " 1. Prerequisites: Install updates, set time zones, install GCC and make"
echo "*****************************************"
sudo yum -y update
#sudo ln -sf /usr/share/zoneinfo/America/Los_Angeles \/etc/localtime
sudo yum -y install gcc gcc-c++ make
echo "*****************************************"