Skip to content

Instantly share code, notes, and snippets.

@umer936
umer936 / ChangeJWrate.js
Last active February 16, 2017 20:02
Change playback rate on JWPlayer Flash videos. Credit to Hitesh on StackOverflow.
innerDoc = document.getElementsByClassName("jwplayer");
var getVideo = innerDoc[0].getElementsByTagName('video')[0];
var newspeed = prompt("Current Speed: " + getVideo.playbackRate + "\nNew Speed: ");
getVideo.playbackRate = newspeed;
@umer936
umer936 / scifile.tex
Created December 16, 2016 08:13
Gutted the Science magazine LaTeX article template for this joke
% Use only LaTeX2e, calling the article.cls class and 12-point type.
\documentclass[12pt]{article}
\usepackage{times}
\topmargin 0.0cm
\oddsidemargin 0.2cm
\textwidth 16cm
\textheight 21cm

Keybase proof

I hereby claim:

  • I am umer936 on github.
  • I am umer936 (https://keybase.io/umer936) on keybase.
  • I have a public key ASACBDikQhpEJEyKTC6ljG2ijqYcXCng8270FmQdDqTaiQo

To claim this, I am signing this object:

[
{
"repository": "android_device_oppo_common",
"target_path": "device/oppo/common",
"remote": "cm",
"revision": "cm-13.0"
},
{
"repository": "android_device_oppo_msm8974-common",
"target_path": "device/oppo/msm8974-common",
Option Explicit
If Not WScript.Arguments.Named.Exists("elevate") Then
CreateObject("Shell.Application").ShellExecute WScript.FullName _
, WScript.ScriptFullName & " /elevate", "", "runas", 1
WScript.Quit
End If
On Error Resume Next
"C:\Program Files\Git\bin\sh.exe" --login -i -c "cd E:\workspace && cd D* && git pull && cd ../F* && git pull && cd ../P* && git pull && cd ../T* && git pull"