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
compressor = null | |
videos = document.getElementsByTagName ("video") | |
for (audioElt of videos) { | |
audioCtx = new AudioContext(); | |
// Create a MediaElementAudioSourceNode | |
// Feed the HTMLMediaElement into it | |
const source = new MediaElementAudioSourceNode(audioCtx, { | |
mediaElement: audioElt, |
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/python | |
# pip install ffmpeg-python | |
# puts a thumnail in .thumb folder | |
import ffmpeg | |
def thumbnail (filename, thumb): | |
time = 0 | |
width = 640 | |
try: | |
probe = ffmpeg.probe(filename) |
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
list = {} | |
for (table of document.getElementsByTagName ("table")) { | |
name = null | |
email = null | |
phone = null | |
reg = null | |
rollno = null | |
subjects = null | |
father = null |
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
list = {} | |
for (table of document.getElementsByTagName ("table")) { | |
name = null | |
reg = null | |
rollno = null | |
subjects = null | |
for (tr of table.getElementsByTagName ("tr")) { | |
for (td of tr.getElementsByTagName ("td")) { | |
if (td.width == "44%") reg = td.innerText |
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
// copy and paste in devtools snippets and run on the registration return list page. | |
rolls = [] | |
regs = [] | |
names = [] | |
data = {} | |
subjects = [] | |
photos = [] | |
for (i of document.querySelectorAll ("tr")) { | |
for ( c of i.children) { |
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
{ | |
"Red.Pink": [ | |
"#D32F2F", | |
"#C2185B" | |
], | |
"Red.Purple": [ | |
"#D32F2F", | |
"#7B1FA2" | |
], | |
"Red.DeepPurple": [ |
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
<resources><style name="Red.Pink" parent="Theme.AmpRack"> | |
<item name="colorPrimary">#D32F2F</item> | |
<item name="colorSecondary">#C2185B</item> | |
</style><style name="Red.Purple" parent="Theme.AmpRack"> | |
<item name="colorPrimary">#D32F2F</item> | |
<item name="colorSecondary">#7B1FA2</item> | |
</style><style name="Red.DeepPurple" parent="Theme.AmpRack"> | |
<item name="colorPrimary">#D32F2F</item> | |
<item name="colorSecondary">#512DA8</item> | |
</style><style name="Red.Indigo" parent="Theme.AmpRack"> |
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
{ | |
"Red 50": "#FFEBEE", | |
"Red 100": "#FFCDD2", | |
"Red 200": "#EF9A9A", | |
"Red 300": "#E57373", | |
"Red 400": "#EF5350", | |
"Red 500": "#F44336", | |
"Red 600": "#E53935", | |
"Red 700": "#D32F2F", | |
"Red 800": "#C62828", |