Skip to content

Instantly share code, notes, and snippets.

View kuzyn's full-sized avatar

kuzyn kuzyn

View GitHub Profile
@kuzyn
kuzyn / keybase.md
Created September 23, 2018 10:26
keybase.md

Keybase proof

I hereby claim:

  • I am kuzyn on github.
  • I am kuzyn (https://keybase.io/kuzyn) on keybase.
  • I have a public key whose fingerprint is AB63 D607 DB10 E269 6552 8E00 38B6 2626 59BD 2677

To claim this, I am signing this object:

var socket = io.connect('/');
//////////////
// Handlers //
//////////////
// fire when socket.io is connected to the back-end
socket.on('connect', function() {
getEntries(3);
});
kuzyn@oceanbox:/etc/nginx/sites-available$ cat www
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@kuzyn
kuzyn / facebook-mass-delete-group-members.js
Last active March 3, 2016 15:03 — forked from AaronRM/facebook-mass-delete-group-members.js
This javascript removes all users from a facebook group. It works with the new facebook layout. Paste this in the javascript console. Script tested in Firefox. Known issues: 1. when facebook responds slowly, the script might experience hickups.. 2. occasionially, the error 'this user is not a member of the group' pops up.. IMPORTANT: add your ow…
var deleteAllGroupMembers = (function () {
var deleteAllGroupMembers = {};
// the facebook ids of the users that will not be removed.
// IMPORTANT: add your own facebook id here so that the script will not remove yourself!
var excludedFbIds = ['100009236033963','612270518']; // make sure each id is a string!
var usersToDeleteQueue = [];
var scriptEnabled = false;
var processing = false;
deleteAllGroupMembers.start = function() {
// Removes all members from a facebook Group using Javascript
// by C. Ernesto López | https://facebook.com/c.ernest.1990
// Usage: First go to your Group, then go to Members, open the console (F12), paste the code and press ENTER
var groupid = document.getElementsByTagName('noscript')[0].innerHTML.split('/groups/')[1].split('/')[0];
var items = document.getElementsByName('fb_dtsg');
var fb_dtsg = items[ items.length - 1 ].value;
var y = 0;
var xhttp = new Array();
for( var x=0;x<document.getElementsByClassName('_ohe').length;x++ ) {
///////////////////
// Board object! //
///////////////////
var rotate = require('matrix-rotate');
var _ = require('lodash');
var Ship = require('../bin/Ship.js');
var debug = require('debug')('battleship:Board');
concept: ~adjectifs_inutile (admirable amazing deluxe desirable distinctive elite exceptional extraordinaire fabulous famous fantastic fascinating favorable grand great heavenly impressive infamous ingenious inspiring irresistible lovely luxurious magnificent mighty miraculous ostentatious perfect persuasive popular powerful pretentious prominent remarkable sophisticated special sublime super supreme tremendous versatile wonderful)
concept: ~dieu(god God Goddess goddess god~2 deity religion faith creed cult doctrine sect divinity)
concept: ~sympathique (generous~3 loving~1 caring~2 affectionate cordial benevolent considerate devoted friendly generous thoughtful nice good affable amiable compassionate considerate cool pleasant sweet likable charming fun lovely great peaceful forgive forgiving)
concept: ~antipathique (evil vengeful angry mean~a vicious vindictive hostile avenging implacable punitive rancorous relentless unforgiving spiteful inimical irritable furious jealous)
concept: ~dieux_existants (~mythic
// Variables
$bodyFontColor: black;
$bodyFontColorLight: lighten($bodyFontColor, 25%);
$titleFontColor: cornflowerblue;
$linkColor: salmon;
// Mixins
@mixin box-shadow($opacity) {
-webkit-box-shadow: 0px 0px 10px rgba(255,0,0,$opacity);
-moz-box-shadow: 0px 0px 10px rgba(255,0,0,$opacity);
@kuzyn
kuzyn / SassMeister-input-HTML.html
Created February 2, 2016 12:46
Generated by SassMeister.com.
<div class='container'>
<div class='box'>
<div class='box'>
<div class='box'>
<div class='box' state='true'>
<div class='box'>
</div>