Skip to content

Instantly share code, notes, and snippets.

View Chipusy's full-sized avatar

Chipusy

  • Moscow
View GitHub Profile
@Chipusy
Chipusy / bot-signup-flow.md
Created April 17, 2020 12:55 — forked from maxtaco/bot-signup-flow.md
New bot signup flow

Get a Bot Token

As your keybase user run:

$ keybase bot token create > /tmp/bot-token

You'll get back a base64 token, like: 6C37sjCBgMNf06Z6oTgixIxHJpja8G-Qp. This is your bot token that allows you to sign up bots.

@Chipusy
Chipusy / media-query.css
Created July 25, 2019 05:41 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS

Keybase proof

I hereby claim:

  • I am chipusy on github.
  • I am chipusy (https://keybase.io/chipusy) on keybase.
  • I have a public key ASCEUlCqIf4ZDl_g9in4kLf2-H-OUZUsBX0aOFpXmVmSwAo

To claim this, I am signing this object:

// getCookie(), setCookie(), deleteCookie()
// возвращает cookie если есть или undefined
function getCookie(name) {
var matches = document.cookie.match(new RegExp(
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
))
return matches ? decodeURIComponent(matches[1]) : undefined