A Pen by Jorge Epuñan on CodePen.
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
.slashed | |
.top(title='Slashed') | |
.bot(title='Slashed') |
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
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" | |
width="600px" height="100px" viewBox="0 0 600 100"> | |
<style type="text/css"> | |
<![CDATA[ | |
text { | |
filter: url(#filter); | |
fill: white; | |
font-family: 'Share Tech Mono', sans-serif; |
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
// enter a number | |
function fibonacci(num) { | |
var a = 1, b = 0, temp2; | |
while(num > 0) { | |
temp2 = a; | |
a = a + b; | |
b = temp2; | |
num--; | |
console.log(temp2); |
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
"use strict"; | |
// below functions can be accessed from the console | |
// very basic fibonacci | |
function basicFib() { | |
var first = 1, | |
second = 0, | |
answer = first + second; | |
while(answer < 100) { |
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
// for loop | |
function fibFor() { | |
var a = 0, b = 1, i = 1, result; | |
result = b; | |
console.log(a + '\n' + result + '\n'); | |
for(i; i < 10; i++) { | |
console.log(result + '\n'); | |
result = a + b; | |
a = b; | |
b = result; |
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
<div class="js"><!--this is supposed to be on the HTML element but codepen won't let me do it--> | |
<body> | |
<div id="preloader"></div> | |
<h1>SUPER SIMPLE FULL PAGE PRELOADER</h1> | |
<p>Works with modernizr, or you could just add your own js class to the html element using javascript</p> | |
<p>You can make it fit your site better by generating your own image here: http://ajaxload.info/ then change the background color in the css</p> | |
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
git init // Initialize | |
git add . // add all | |
git rm --cached name_of_file // gitignore file | |
git reset // unadds all files | |
git reset HEAD~1 // uncommit | |
git commit -m 'First commit' | |
git remote add origin "remote repository URL" | |
git remote -v // check remote | |
git pull origin master | |
git push origin master |
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
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force | |
npm install -g npm-windows-upgrade | |
npm-windows-upgrade |