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
#!/bin/bash | |
# | |
# Usage: | |
# > futurelearn_dl.sh login@email.com password course-name week-id | |
# Where *login@email.com* and *password* - your credentials | |
# ,*course-name* is the name from URL | |
# and *week-id* is the ID from the URL | |
# | |
# E.g. To download all videos from the page: https://www.futurelearn.com/courses/corpus-linguistics/todo/238 |
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
\begin[papersize=a4,direction=RTL]{document} | |
\set[parameter=document.parindent,value=0pt] | |
\nofolios | |
\font[family=Jameel Noori Nastaleeq,language=urd,direction=RTL,script=Arab] | |
\font[size=48pt] | |
\begin{center} | |
’ٹوبہ ٹیک سنگھ‘ افسانہ کا جایزہ | |
\end{center} | |
\bigskip | |
\font[size=24pt] |
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
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=xetex) | |
restricted \write18 enabled. | |
entering extended mode | |
(./urdu.tex [1] | |
xdvipdfmx:fatal: sfnt: table not found... | |
Output file removed. | |
) | |
Error 256 (driver return code) generating output; | |
file urdu.pdf may not be valid. |
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
% Experiments in typing Urdu using only plain TeX. | |
\input eplain | |
\input bidi | |
\font\ur="Jameel Noori Nastaleeq:script=arabic:language=urdu" at 18pt | |
\font\hi="Ek Mukta Light:script=deva:language=hi" at 8pt | |
\font\urbig="Jameel Noori Nastaleeq:script=arabic:language=urdu" at 24pt | |
\font\urbigg="Jameel Noori Nastaleeq:script=arabic:language=urdu" at 48pt | |
\nopagenumbers | |
\parindent=0pt | |
\setRTL |
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
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
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
package main | |
import ( | |
"crypto/md5" | |
"flag" | |
"fmt" | |
"io" | |
"launchpad.net/goamz/aws" | |
"launchpad.net/goamz/s3" | |
"os" |
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
# AUTHOR: | |
# deepak.jois@gmail.com | |
# (w/ credit to: http://www.brownfort.com/2014/09/scrap-websites-ruby/) | |
# | |
# DESCRIPTION: | |
# Dumps a list of direct, unprotected CDN links to Coursera | |
# lecture videos, and downloads English subtitles (.txt,.srt) for them. | |
# | |
# USAGE: | |
# ruby fetchlinks.rb <username> <password> <coursename> <section> |
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
rc/Diagrams/TwoD/Path/Turtle/Internal.hs:75:19: | |
Not in scope: type constructor or class `Deg' | |
src/Diagrams/TwoD/Path/Turtle/Internal.hs:130:16: | |
Not in scope: type constructor or class `Deg' | |
src/Diagrams/TwoD/Path/Turtle/Internal.hs:130:23: | |
Not in scope: type constructor or class `Deg' | |
src/Diagrams/TwoD/Path/Turtle/Internal.hs:139:25: |
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
as if it matters what we believe, | |
or think we know is true. | |
as if it matters what we do, or how we feel. | |
as if all-life-on-Earth cares what happens to us, | |
or to our species. | |
as if it makes a difference | |
whether we talk about what’s ahead |
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
package main | |
import ( | |
"fmt" | |
"encoding/json" | |
"launchpad.net/goyaml" | |
) | |
type Bar struct { |