Commit 650cbd99 authored by Gautham Velchuru's avatar Gautham Velchuru
Browse files

added study sheet stuff

parent 52b7d4cb
# Fdb version 3 # Fdb version 3
["pdflatex"] 1528216864 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1528216864 ["pdflatex"] 1528216903 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1528262515
"/dev/null" 1528211307 0 d41d8cd98f00b204e9800998ecf8427e "" "/dev/null" 1528211307 0 d41d8cd98f00b204e9800998ecf8427e ""
"/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc" 1520157211 2900 1537cc8184ad1792082cd229ecc269f4 "" "/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc" 1520157211 2900 1537cc8184ad1792082cd229ecc269f4 ""
"/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1520157216 3332 103109f5612ad95229751940c61aada0 "" "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1520157216 3332 103109f5612ad95229751940c61aada0 ""
...@@ -131,14 +131,14 @@ ...@@ -131,14 +131,14 @@
"_minted-all_study_guide/default-pyg-prefix.pygstyle" 1527807957 7889 3ce1fbc763e3e2c748310f4fe31722b6 "" "_minted-all_study_guide/default-pyg-prefix.pygstyle" 1527807957 7889 3ce1fbc763e3e2c748310f4fe31722b6 ""
"_minted-all_study_guide/default.pygstyle" 1527807957 9275 f200be7fc0b7de2461cca28cb35b1427 "" "_minted-all_study_guide/default.pygstyle" 1527807957 9275 f200be7fc0b7de2461cca28cb35b1427 ""
"all_study_guide.aex" 0 -1 0 "" "all_study_guide.aex" 0 -1 0 ""
"all_study_guide.aux" 1528176621 11775 52aeb97ad2e10141a45aea65d8b8a249 "" "all_study_guide.aux" 1528216904 12082 7ac828c704b509d9caaa6d78fe4f4657 ""
"all_study_guide.pyg" 0 -1 0 "" "all_study_guide.pyg" 0 -1 0 ""
"all_study_guide.tex" 1528182178 33030 a91175a5410f0535ad3cefb6ceab4a4a "" "all_study_guide.tex" 1528216868 33030 a91175a5410f0535ad3cefb6ceab4a4a ""
"all_study_guide.toc" 1528176621 5622 92599991a2a014c3965158a5ea7c69f8 "" "all_study_guide.toc" 1528216904 5743 d7074b7e905baa2c483680f243e3257c ""
"all_study_guide.w18" 0 -1 0 "" "all_study_guide.w18" 0 -1 0 ""
(generated) (generated)
"all_study_guide.aux"
"all_study_guide.log" "all_study_guide.log"
"all_study_guide.pyg"
"all_study_guide.pdf"
"all_study_guide.toc" "all_study_guide.toc"
"all_study_guide.aux" "all_study_guide.pdf"
"all_study_guide.pyg"
...@@ -194,6 +194,7 @@ INPUT ./all_study_guide.pyg ...@@ -194,6 +194,7 @@ INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex
INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex
INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex
INPUT _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex
OUTPUT all_study_guide.pyg OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/0291DF1FE46A52352CF714378CD66A4E6CD81CFDCB5F0793F497D493F610EBFB.pygtex INPUT _minted-all_study_guide/0291DF1FE46A52352CF714378CD66A4E6CD81CFDCB5F0793F497D493F610EBFB.pygtex
......
...@@ -776,8 +776,6 @@ File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions ...@@ -776,8 +776,6 @@ File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
) )
\openout3 = `all_study_guide.pyg'. \openout3 = `all_study_guide.pyg'.
runsystem(pygmentize -l racket -f latex -P commandprefix=PYG -F tokenmerge -o _minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex all_study_guide.pyg)...executed.
(./_minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex) (./_minted-all_study_guide/C74D49C56B4D1D40692C8C13E9B9147D6CD81CFDCB5F0793F497D493F610EBFB.pygtex)
\openout3 = `all_study_guide.pyg'. \openout3 = `all_study_guide.pyg'.
...@@ -1074,13 +1072,13 @@ runsystem(rm all_study_guide.pyg)...executed. ...@@ -1074,13 +1072,13 @@ runsystem(rm all_study_guide.pyg)...executed.
Here is how much of TeX's memory you used: Here is how much of TeX's memory you used:
7514 strings out of 492982 7514 strings out of 492982
138163 string characters out of 6138580 138163 string characters out of 6138580
248531 words of memory out of 5000000 248677 words of memory out of 5000000
10807 multiletter control sequences out of 15000+600000 10807 multiletter control sequences out of 15000+600000
6175 words of font info for 23 fonts, out of 8000000 for 9000 6175 words of font info for 23 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191 1141 hyphenation exceptions out of 8191
37i,7n,35p,857b,581s stack positions out of 5000i,500n,10000p,200000b,80000s 37i,7n,35p,857b,581s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmitt10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb> {/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmitt10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on all_study_guide.pdf (22 pages, 161139 bytes). Output written on all_study_guide.pdf (22 pages, 161165 bytes).
PDF statistics: PDF statistics:
112 PDF objects out of 1000 (max. 8388607) 112 PDF objects out of 1000 (max. 8388607)
78 compressed objects within 1 object stream 78 compressed objects within 1 object stream
......
No preview for this file type
starts_with([],_).
starts_with([X|Xs],[X|Ys]) :- starts_with(Xs,Ys).
:- use_module(library(clpfd)).
take(0, _, []).
take(N, [X|Xs], [X|Ys]) :- N #> 0, M #= N-1, take(M, Xs, Ys).
...@@ -4,5 +4,4 @@ ...@@ -4,5 +4,4 @@
- Apostrophes in Haskell (why do we do `elem` [1..]) - Apostrophes in Haskell (why do we do `elem` [1..])
- flip - flip
- blocks procs lambdas - blocks procs lambdas
- remove_dupl (section 7)
- max of list prolog (section 7) - max of list prolog (section 7)
Hierarchy: for example, class2 hierarchy is
[Class2, M1, Class1, Object, Kernel, BasicObject]
- Also, although M1 shows up as direct ancestor, Class2.superclass
evaluates to Class1
- Racket: pass by pointer for structs
- Prolog: when using clpr or clpfd use {} or #= even for =, just to ensure two-way
equality
- Haskell: there can be at most one occurence of a given variable in the
pattern for the function def
- Haskell: "otherwise =" in pattern matching
READ THE QUESTION - especially when talking about mutation vs making a new thing,
etc
Ruby - protected allows you to call from other classes of same type, use when necessary
Also, delete from a hash by doing .delete
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment