###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| /* | |
| needs libmosquitto-dev | |
| $ gcc -o libmosq libmosq.c -lmosquitto | |
| */ | |
| #include <stdio.h> | |
| #include <mosquitto.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> |
| // clang -O3 -stdlib=libstdc++ inherit.cpp -o inherit&&./inherit | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| class iBem { | |
| protected: int setMod(){return 1;}; | |
| }; | |
| /* |
https://twitter.com/mxtnr/status/759409328956776448
Родилась интересная концепция, которая лучше всего может заработать в ФП-языках (но применимо и в таких языках как js).
Пример: есть блок popup2 с параметром mainOffset и дефолтным значением 5, если задан параметр theme=normal, иначе 0
И есть блок tooltip, который композируются над popup2.
Если задан параметр блока tooltip tail: false, он увеличивает mainOffset на 5
Но если mainOffset не задан, то tooltip не знает, что делать.
draft
Content:
| var _ = require("lodash"); | |
| var R = require("ramda"); | |
| var companies = [ | |
| { name: "tw", since: 1993 }, | |
| { name: "pucrs", since: 1930 }, | |
| { name: "tw br", since: 2009 } | |
| ]; | |
| var r1 = _(companies).chain() |
| import SimpleHTTPServer | |
| import SocketServer | |
| PORT = 8000 | |
| class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| pass | |
| Handler.extensions_map['.shtml'] = 'text/html' |
| # | |
| # Run git status after specified set of command | |
| # | |
| # @author Oleksandr Shybystyi oleksandr.shybystyi@gmail.com | |
| # | |
| # default list of git commands `git status` is running after | |
| gitPreAutoStatusCommands=( | |
| 'add' | |
| 'rm' |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| from os import walk, rename, unlink, mkdir, remove | |
| from os.path import isdir, exists | |
| from sys import argv, exit, getfilesystemencoding | |
| from shutil import copyfile | |
| import shutil | |
| conversion = { |