Skip to content

Instantly share code, notes, and snippets.

View siedovolosyi's full-sized avatar

Serhij Siedovolosij siedovolosyi

  • Andersen
  • Ukraine, Kharkiv
View GitHub Profile
@siedovolosyi
siedovolosyi / 00.howto_install_phantomjs.md
Created August 14, 2017 06:12 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
https://gist.github.com/siedovolosyi/95433104dae9c678b3d99e881db50da9 обновление старны с mk на al
переименовать
mv /module/Applications/config/site_settings.am.php в site_settings.al.php
mv /module/Applications/config/decision.am.php decision.al.php
mv /module/Applications/config/status.am.php status.al.php
mv /module/Applications/config/todo.am.php todo.al.php
DO $$DECLARE tables CURSOR FOR SELECT table_name FROM information_schema.columns WHERE column_name='country'; newName TEXT = 'al';BEGIN FOR broken_table IN tables LOOP EXECUTE 'UPDATE ' || broken_table.table_name || ' SET country = ''' || newName || ''''; END LOOP;END $$
[
{
"item_relations_id": 757,
"items": [
{
"id": 757,
"name": "Kompakt universaldrill (10.8V)",
"type": "toolGroup",
"tool_consumable_id": null,
"tool_group_id": 1001,
<script>
// This is called with the results from from FB.getLoginStatus().
function statusChangeCallback(response) {
console.log('statusChangeCallback');
console.log(response);
// The response object is returned with a status field that lets the
// app know the current login status of the person.
// Full docs on the response object can be found in the documentation
// for FB.getLoginStatus().
if (response.status === 'connected') {