This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function GetSlideNumberShape(Sld As Slide) As Shape | |
' return a shape if a slide number shape exists in sld and nothing otherwise | |
Dim shp As Shape | |
For Each shp In Sld.Shapes | |
If InStr(1, shp.Name, "Slide Number", vbTextCompare) > 0 Then | |
Set GetSlideNumberShape = shp | |
End If | |
Next shp | |
End Function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
pyrtf2latex.py | |
============== | |
This script was created to copy rich text from an office suite | |
application and adapt it for transferring text formatting, including | |
bold, italic, subscript, and superscript content. Additionally, it | |
highlights any text enclosed in parentheses (but maybe you won't need | |
this, feel free to modify). You are welcome to adapt this script for | |
your own needs, but please note that it is designed to work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import subprocess | |
import time | |
SLEEPTIME = 5 | |
def format(output): | |
out = output.decode('utf-8').split('\n') | |
return out[0].split(': ', 1)[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; programa hello_kernelzera.asm | |
; compilar: | |
; $ nasm -f elf64 hello_kernelzera.asm | |
; $ ld hello_kernelzera.o -o hello.out | |
; executar: | |
; $ ./hello.out | |
global _start | |
section .text |