See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.jsonfile in/etc/docker:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| USE master | |
| GO | |
| ALTER DATABASE milleniumfox SET EMERGENCY | |
| GO | |
| DBCC CHECKDB (milleniumfox ) | |
| GO | |
| ALTER DATABASE milleniumfox SET SINGLE_USER WITH ROLLBACK IMMEDIATE |
| function toJsonPDO($resultset) | |
| { | |
| $t = gettype($resultset); | |
| if ($t === 'object') { | |
| return json_encode(get_object_vars($resultset), JSON_NUMERIC_CHECK); | |
| } else if ($t === 'array' && sizeof($resultset) === 1) { | |
| return json_encode($resultset[0], JSON_NUMERIC_CHECK); | |
| } else if ($t === 'array' && sizeof($resultset) > 1) { | |
| return json_encode($resultset, JSON_NUMERIC_CHECK); | |
| } else { |
| <?php | |
| include_once implode(DIRECTORY_SEPARATOR, [__DIR__, 'conector.inc.php']); | |
| const debug=true; | |
| $format=$_GET['format']??'json'; | |
| if (debug){ | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| } |
| LOCAL_PATH:= $(call my-dir) | |
| include $(CLEAR_VARS) | |
| LOCAL_SRC_FILES:= \ | |
| gps_test.cpp | |
| LOCAL_SHARED_LIBRARIES := \ | |
| libcutils libhardware | |
| LOCAL_MODULE:= test-gps |
| First "gem install sass" on console | |
| Go Menu File > Settings > Tools > File Watch > "+" > "sass" | |
| On New Window > Section Watcher Settings | |
| Program: /<home-directory>/.gem/ruby/2.5.0/bin/sass | |
| Arguments: --no-cache --update --no-cache --update $FileName$:../css/$FileNameWithoutExtension$.css --style compressed | |
| Compile sass file on folder css on file minified |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json file in /etc/docker:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| $ docker volume create portainer_data | |
| $ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer |
| const app = new Vue({ | |
| el:'#app', | |
| vuetify: new Vuetify() | |
| }); |
| Here module deals with source files called .fmb file which is created by us. Then output_file deals with .fmx file which is generated after compiling the .fmb file. | |
| frmcmp_batch module=/disk5/PROD/apps/apps_st/appl/au/12.0.0/forms/US/EMP_FORM.fmb userid=apps/apps output_file=/disk5/PROD/apps/apps_st/appl/ont/12.0.0/forms/US/EMP_FORM.fmx module_type=form batch=yes |