Skip to content

Instantly share code, notes, and snippets.

HARUN PEHLΔ°VAN harunpehlivan

View GitHub Profile
@harunpehlivan
harunpehlivan / DotLeader
Created July 13, 2018 20:54 — forked from anonymous/DotLeader
Simple CSS Dot Leaders
<!DOCTYPE html>
<html>
<head>
<!-- Feel free to use and modify however you like http://AlanSimpson.me -->
<title>CSS Dot Leaders</title>
<style>
ul.dotleaders {
list-style: none;
padding: 0;
/* This width can be whatever you like */
@harunpehlivan
harunpehlivan / CrazySpinnyThing
Created July 13, 2018 20:53 — forked from AlanSimpsonMe/CrazySpinnyThing
Crazy Spinny Thing
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
/* General style, transition occurs when taking mouse pointer of the item */
img.crazy {
display: block;
margin: 10em auto;
/* That code is really just the opposite of the hover code. */
@harunpehlivan
harunpehlivan / Responsive_Google_Map
Created July 7, 2018 19:31 — forked from AlanSimpsonMe/Responsive_Google_Map
Embed a Responsive Google Map in a Web Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="author" content="Alan Simpson">
<meta name="description" content="Embed a Responsive Google Map in your Web Page">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
@harunpehlivan
harunpehlivan / Accordian
Created June 23, 2018 09:36 — forked from AlanSimpsonMe/Accordian
Accordian (jQuery)
<!DOCTYPE html>
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script>
$(document).ready(function () {
@harunpehlivan
harunpehlivan / dabblet.css
Created May 17, 2018 19:01 — forked from LeaVerou/dabblet.css
Responsive tables with element()
/**
* Responsive tables with element()
* Pros: No markup changes, works with normal table markup, no content duplication
* Cons: element() is only implemented in Firefox :(
*/
@media (max-width: 600px) {
table, tr, td, th, thead, tbody {
display: block;
}
@harunpehlivan
harunpehlivan / dabblet.css
Created May 17, 2018 18:59 — forked from LeaVerou/dabblet.css
Responsive tables with text-shadow
/**
* Responsive tables with text-shadow
* Pros: No markup changes, works with normal table markup, no content duplication
* Cons: Need to know max number of rows, doesn't work with all styles
*/
@media (max-width: 600px) {
tr, td, th, thead, tbody, table {
display: block;
}
@harunpehlivan
harunpehlivan / MD5Pass.js
Created January 10, 2018 10:42 — forked from Ninjex/MD5Pass.js
MD5Pass
// ==UserScript==
// @name MDPass
// @namespace *
// @include https://*/*
// @description View parital MD5 values of password fields for visual comparison.
// @version 1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
// @grant none
// ==/UserScript==
@harunpehlivan
harunpehlivan / main.rb
Created January 10, 2018 10:24 — forked from Ninjex/main.rb
Hackthisite Programming 2 (Requires Mechanize and RMagick gems) -- Autocompletion
#!/usr/bin/ruby
# β–ˆβ–ˆβ–ˆβ–„ β–ˆ β–ˆβ–ˆβ–“ β–ˆβ–ˆβ–ˆβ–„ β–ˆ β–„β–„β–„β–ˆβ–ˆβ–€β–€β–€β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–’β–ˆβ–ˆ β–ˆβ–ˆβ–’
# β–ˆβ–ˆ β–€β–ˆ β–ˆ β–“β–ˆβ–ˆβ–’ β–ˆβ–ˆ β–€β–ˆ β–ˆ β–’β–ˆβ–ˆ β–“β–ˆ β–€ β–’β–’ β–ˆ β–ˆ β–’β–‘
# β–“β–ˆβ–ˆ β–€β–ˆ β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ β–€β–ˆ β–ˆβ–ˆβ–’ β–‘β–ˆβ–ˆ β–’β–ˆβ–ˆβ–ˆ β–‘β–‘ β–ˆ β–‘
# β–“β–ˆβ–ˆβ–’ β–β–Œβ–ˆβ–ˆβ–’β–‘β–ˆβ–ˆβ–‘β–“β–ˆβ–ˆβ–’ β–β–Œβ–ˆβ–ˆβ–’β–“β–ˆβ–ˆβ–„β–ˆβ–ˆβ–“ β–’β–“β–ˆ β–„ β–‘ β–ˆ β–ˆ β–’
# β–’β–ˆβ–ˆβ–‘ β–“β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–‘ β–“β–ˆβ–ˆβ–‘ β–“β–ˆβ–ˆβ–ˆβ–’ β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–’ β–’β–ˆβ–ˆβ–’
# β–‘ β–’β–‘ β–’ β–’ β–‘β–“ β–‘ β–’β–‘ β–’ β–’ β–’β–“β–’β–’β–‘ β–‘β–‘ β–’β–‘ β–‘β–’β–’ β–‘ β–‘β–“ β–‘
# β–‘ β–‘β–‘ β–‘ β–’β–‘ β–’ β–‘β–‘ β–‘β–‘ β–‘ β–’β–‘ β–’ β–‘β–’β–‘ β–‘ β–‘ β–‘β–‘β–‘ β–‘β–’ β–‘
# β–‘ β–‘ β–‘ β–’ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘
# β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "Lecture21_AnnotatedExamples"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{