Skip to content

Instantly share code, notes, and snippets.

@OmarBerrayti
OmarBerrayti / 0_reuse_code.js
Created September 27, 2013 16:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@OmarBerrayti
OmarBerrayti / book.py
Last active September 25, 2023 08:42
Book
import urllib
i = 0
pages = 210
while i <= pages:
file = 'page-'+str(i)+'.html'
#link = 'http://siraj.yassine.net/%D8%B3%D9%86%D8%A9-%D8%A7%D9%84%D9%84%D9%87-24/'+file
link = 'http://siraj.yassine.net/books-data/24/'+str(i)+'.html?book=24&page='+str(i)+'&request=&gen=gen'

Mathematics: What do grad students in math do all day?

by Yasha Berchenko-Kogan

A lot of math grad school is reading books and papers and trying to understand what's going on. The difficulty is that reading math is not like reading a mystery thriller, and it's not even like reading a history book or a New York Times article.

The main issue is that, by the time you get to the frontiers of math, the words to describe the concepts don't really exist yet. Communicating these ideas is a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.

What can you say?

@OmarBerrayti
OmarBerrayti / istighfar.php
Created March 18, 2013 13:30
Just a little test for an Istighfar
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Istighfar</title>
<style type="text/css">
.cases{
overflow: visible;
}
.cases .case{
@OmarBerrayti
OmarBerrayti / physic.php
Created February 28, 2013 21:56
just a little test :)
<?php
$i = 0;
$result = array();
while ($i <= 10) {
if($i != 0){
$x = $result[$i-1];
$result[$i] = ((5.2 - (10.8 * $x)) * 0.04) + $x;
}else{
$result[0] = 0;
@OmarBerrayti
OmarBerrayti / gradient.css
Created November 17, 2012 21:05
Just to keep it save, and because I loved this gradient :)
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;