Skip to content

Instantly share code, notes, and snippets.

View tsankashvili's full-sized avatar
🎯
Focusing

Misha Tsankashvili tsankashvili

🎯
Focusing
View GitHub Profile
@tsankashvili
tsankashvili / learn.md
Last active July 15, 2021 23:57
Resources for Frontend

Resources for Frontend

CSS

  • What’s next for CSS? - cssdb is a comprehensive list of CSS features and their positions in the process of becoming implemented web standards
  • sass guidelin - An opinionated styleguide for writing sane, maintainable and scalable Sass.
  • Modern css - Modern CSS Solutions for Old CSS Problems
  • CSS { In Real Life } - Tips, tricks and tutorials on the web’s most beautiful language
  • CSSBattle - the CSS code-golfing game!
[
{
"lines": [
{
"dot1": 103,
"dot2": 104,
"x1": 128.82908531540227,
"x2": 137.27732050011463,
"y1": 293.23994530887603,
"y2": 338.34198380046917
@tsankashvili
tsankashvili / SassMeister-input.scss
Last active February 24, 2019 21:34
Sass Nesting & Combinators
// ----
// libsass (v3.5.4)
// ----
// Sass Nesting
.container {
display: flex;
background-color: #eee;
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Request;
use App\Scopes\translateScope;
class Category_translation extends Model
{
<?php
namespace App\Scopes;
use Session;
use Illuminate\Database\Eloquent\Scope;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
class translateScope implements Scope
{
public function apply(Builder $builder, Model $model)
@tsankashvili
tsankashvili / socket-cheatsheet.js
Created May 20, 2017 23:06 — forked from alexpchin/socket-cheatsheet.js
A quick cheatsheet for socket.io
// sending to sender-client only
socket.emit('message', "this is a test");
// sending to all clients, include sender
io.emit('message', "this is a test");
// sending to all clients except sender
socket.broadcast.emit('message', "this is a test");
// sending to all clients in 'game' room(channel) except sender