This file contains hidden or 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
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#define TAPE_SIZE 30000 | |
// Declare an array to act as the tape for Brainfuck. Initialize all to zero. | |
unsigned char s[TAPE_SIZE] = {0}; | |
// This will be the data pointer used in Brainfuck |
This file contains hidden or 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
####################################### | |
# git checkout interactive # | |
####################################### | |
function git-checkout-interactive() { | |
# Get all branches sorted by committer date, along with their last commit hash | |
local branches | |
branches=$(git for-each-ref --sort=-committerdate --format='%(refname:short) %(objectname:short)' refs/heads/) | |
# Parse branches |
This file contains hidden or 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
// principles/sizes | |
$magic: 2; | |
$base: 16; | |
@function s($value) { | |
@return $value / $base + 0rem | |
} | |
@function set-color($color) { | |
@if (lightness( $color ) > 40) { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Table of Contents | |
// 1. Color Generator by @pankajparashar | |
// 2. Content Level generator by @donuteeze | |
// ========================================================================== |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
/* _settings.scss */ | |
$blue: blue; | |
$black: black; | |
/* původní komponenta */ | |
@mixin unread-mark($background) { |
This file contains hidden or 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
<div class="content-box"></div> | |
<div class="profile"> | |
<div class="content-box"></div> | |
</div> |
This file contains hidden or 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
/** | |
* @license addEventListener polyfill 1.0 / Eirik Backer / MIT Licence | |
* https://gist.github.com/2864711/946225eb3822c203e8d6218095d888aac5e1748e | |
*/ | |
(function (window, document, listeners_prop_name) { | |
if ((!window.addEventListener || !window.removeEventListener) && window.attachEvent && window.detachEvent) { | |
/** | |
* @param {*} value | |
* @return {boolean} | |
*/ |
This file contains hidden or 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
// This is the default html and body font-size for the base rem value. | |
$rem-base: 16px; | |
@function strip-units($number) { | |
@return $number / ($number * 0 + 1); | |
} |
NewerOlder