Skip to content

Instantly share code, notes, and snippets.

View koromerzhin's full-sized avatar
🦄
I may be slow to respond.

Le TOULLEC Martial koromerzhin

🦄
I may be slow to respond.
View GitHub Profile
anonymous
anonymous / index.html
Created November 9, 2016 17:44
Capture FB Reactions count and show them on webpage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My FB Reactions Page</title>
<style>
html {
box-sizing: border-box;
width: 100%;
(function(){
var networks = [{
url: "https://squareup.com/login?return_to=%2Ffavicon.ico",
name: "Square"
}, {
url: "https://www.instagram.com/accounts/login/?next=%2Ffavicon.ico",
name: "Instagram"
}, {
url: "https://twitter.com/login?redirect_after_login=%2Ffavicon.ico",
name: "Twitter"
@gabstv
gabstv / twitch_plays_pokemon_snippets.js
Last active July 19, 2018 18:31
Twitch Plays Pokemon: Controls
//reddit: regulargabs
//MIT license
// USAGE:
// go to http://www.twitch.tv/twitchplayspokemon
// Paste the "components" that you want on the javascript console of your browser and run.
// ###############
// # COMPONENTS: #
// ###############
@bobuss
bobuss / Calisthenics.md
Last active March 31, 2024 09:41
The 9 Rules of Object Calisthenics

Object Calisthenics outlines 9 basic rules to apply when performing the exercise:

  • One level of indentation per method.
  • Don't use the ELSE keyword.
  • Wrap all primitives and Strings in classes.
  • First class collections.
  • One dot per line.
  • Don't abbreviate.
  • Keep all classes less than 50 lines.
  • No classes with more than two instance variables.