Skip to content

Instantly share code, notes, and snippets.

🦊
Designing / Building Apps

Ó Conchubhair ♔ theWhiteFox

🦊
Designing / Building Apps
Block or report user

Report or block theWhiteFox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View npm
npm audit
Find dependency deep in the subtrees
npm ls hoek
https://stackoverflow.com/a/50770060/5619088
npm i hoek
View Reverse a string.js
function reverse(string) {
return string.split('').reverse().join();
}
reverse('testing');
View Dijkstra.js
const graph = {
start: { A: 5, B: 2 },
A: { C: 4, D: 2 },
B: { A: 8, D: 7 },
C: { D: 6, finish: 3 },
D: { finish: 1 },
finish: {},
};
console.log(graph);
View Dijkstra.js
const graph = {
start: {A:5, B:2},
A: {C:4, D:2},
B: {A:8, D:7},
C: {D:6, finish:3},
D: {finish:1},
finish: {}
}
console.log(graph);
View FizzBuzz.js
console.log(7%3);
function fizzBuzz(num) {
for (var i = 1; i <= num; i++) {
if (i % 15 === 0) console.log("FizzBuzz");
else if (i % 5 === 0) console.log("fizz");
else if (i % 3 === 0) console.log("Buzz");
else console.log(i);
}
}
View bootstrap-tab-panel-example.markdown
View index.html
<div class="marquee">
<p>Test</p>
</div>
@theWhiteFox
theWhiteFox / index.html
Created Jul 24, 2017
React & CSS Grid Image Gallery
View index.html
<section class="gallery-container"></section>
View castles-responsive-parallax-landscape.markdown

Castles, responsive parallax landscape

A responsive landscape (some elements are added / removed depending on the screen size) made with Pixi.js for the epic.net website menu.

A Pen by theWhiteFox on CodePen.

License.

You can’t perform that action at this time.