Skip to content

Instantly share code, notes, and snippets.

View melMass's full-sized avatar
Focusing

Mel Massadian melMass

Focusing
View GitHub Profile

Edit Playhead Time :foundry.viewer.editPlayheadTime

New Project... :foundry.application.newProject

Open Project... :foundry.application.openProject

Open Recent Project :foundry.menu.recentFiles

Close Project :foundry.project.close

for act in hiero.ui.registeredActions():
print act.text(), act.objectName()
#OUTPUT
"""
Edit Playhead Time foundry.viewer.editPlayheadTime
New Project... foundry.application.newProject
Open Project... foundry.application.openProject
Open Recent Project foundry.menu.recentFiles
Close Project foundry.project.close

#jQuery#

Sélectionner lesimages d'une largeur de 300 pixels :

$("img[width=300]");

Sélectionner les deux premiers titres <h3> d'une page :

@melMass
melMass / markdown-cheat-sheet.md
Last active May 5, 2016 08:37 — forked from JosefJezek/markdown-cheat-sheet.md
Markdown Cheat Sheet

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
@melMass
melMass / bash.md
Last active November 1, 2015 23:25 — forked from todgru/bash.md
bash

#BASH

  • du -sh {directory} list display size of directory in human readable format.
  • du -sh * show size of each directory in the current path
  • df disk space usage
$ du -sh *
 11M Applications
@melMass
melMass / voices.txt
Created November 1, 2015 16:57 — forked from ttscoff/voices.txt
Voices available to say command on OS X 10.10.3
# Voices available to `say` on OS X
# "*" indicates new additions since 10.8
Agnes (en_US)
Albert (en_US)
Alex (en_US)
*Alice (it_IT)
*Alva (sv_SE)
*Amelie (fr_CA)
*Anna (de_DE)