Skip to content

Instantly share code, notes, and snippets.

Christophe Rosset topheman

Block or report user

Report or block topheman

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
topheman / FizzBuzz.js
Created May 29, 2018
JavaScript Implementation of FizzBuzz in functional programming
View FizzBuzz.js
const result = Array.from(Array(100), (_, i) => i + 1).map(number => {
if (number%5 === 0 && number%3 === 0) {
return "FizzBuzz";
if (number%3 === 0) {
return "Fizz";
if (number%5 === 0) {
return "Buzz";
topheman /
Created Aug 4, 2015
Travis setup of Github token for jspm
View .npmrc
init-author-name=Christophe Rosset
message=Bump to v%s
topheman / .gitconfig
Last active Jun 5, 2018
To keep track of my git config
View .gitconfig
excludesfile = /Users/Tophe/.gitignore_global
editor = vi
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/ \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
topheman /
Created Jun 29, 2015
Git notes cheat sheet
topheman / .vimrc
Last active Oct 17, 2019
vim-config on Mac OS X
View .vimrc
" Vundle config
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
topheman / gist:6729788
Created Sep 27, 2013
Deviceorientation / orientationchange - tests
View gist:6729788
<DOCTYPE html>
<div id="dataContainerOrientation">
No device orientation data
function init() {
You can’t perform that action at this time.