Получается естественно
2015-10-29 21:01:23
Небольшой монтаж из нью-йоркского концертного исполнения мюзикла "Annie Get Your Gun" с Меган Хилти ...
+ развернуть текст сохранённая копия
Небольшой монтаж из нью-йоркского концертного исполнения мюзикла "Annie Get Your Gun" с Меган Хилти в главной роли
Тэги:
2015-2016,
annie,
get,
gun,
your,
голубой,
огонёк,
сезон
GWT: How to use new fancy LocalStorage
2015-10-26 07:24:48
LocalStorage is definitely not a very new HTML5 feature. It is well known and used for several years ...
+ развернуть текст сохранённая копия
LocalStorage is definitely not a very new HTML5 feature. It is well known and used for several years. GWT provides special API for localStorage. The way it can be used is the same as in JavaScript. First of all we import: import com.google.gwt.storage.client.Storage; then we can take storage object: Storage storage = Storage.getLocalStorageIfSupported(); if localStorage […]
Тэги:
gwt,
html5,
localstorage,
storage,
uncategorized,
web
GWT: How to use plain old Cookies?
2015-10-25 05:08:54
Cookies is a quite old and limited technology to save some data between sessions in browsers. There ...
+ развернуть текст сохранённая копия
Cookies is a quite old and limited technology to save some data between sessions in browsers. There are much more capable technologies like HTML5 localStorage. There is a nice topic on how to compare and choose which one is better. To check if Cookies are enabled set Cookie we can use the following code: import […]
Тэги:
cookies,
gwt,
uncategorized
Some common use-cases of Gin
2015-10-25 04:01:05
There are several useful cases for Gin injections. EventBus One of the most popular way to make ...
+ развернуть текст сохранённая копия
There are several useful cases for Gin injections. EventBus One of the most popular way to make application loosely coupled is to use EventBus. We can create injection without taking care of how it was instantiated. In MyWidgetClientModule we add line: bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class); It declares that injected EventBus interface should be implemented by SimpleEventBus and be […]
Тэги:
api,
geolocation,
gin,
gwt,
inject,
uncategorized
[Из песочницы] Удаление слитых веток, которых нет в origin
2015-10-23 17:37:06
... вот оно,
git remote prune origin ...
+ развернуть текст сохранённая копия
Так уж повелось, что при разработке приходится создавать много веток в репозитории, но после выкатки очередной задачи или фикса в продакшн я забываю удалять старые ветки. Поэтому зайдя в очередной раз в PhpStorm, я понял, что не могу найти нужную мне ветку среди пары сотен локальных веток. Первая мысль: нужно удалить старые ветки, но как, их же несколько сотен.
Поскольку я очень ленивый (иначе бы сразу удалял мусор), я начал искать готовое решение. И вроде бы вот оно, git remote prune origin должен решить все мои проблемы… И не решил. Не знаю, почему, но команда просто не захотела работать.
Что ж, напишем скрипт...
Тэги: bash, git, веб-разработка, разработка, скрипты