This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get started with GitHub Packages | |
// Step 1: Use `publishConfig` option in your package.json | |
"publishConfig": { "registry": "https://npm.pkg.github.com/" } | |
// Step 2: Authenticate | |
$ npm login --registry=https://npm.pkg.github.com/ | |
// Step 3: Publish | |
$ npm publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install ISPConfig 3.x on CentOS 7 64Bits | |
## http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html | |
## https://www.howtoforge.com/tutorial/perfect-server-centos-7-2-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/2/ | |
## http://nareshv.blogspot.com.br/2014/02/configure-hhvm-with-apache-fastcgi-on.html | |
## ISPConfig3 3.x + Apache2 + CentOS 7 64Bits | |
## VM HD 50GB, swap 2GB, / 19GB, /var/www all | |
## Filesystem ext4 | |
## source https://gist.github.com/jniltinho/82bbcfe54d34acc96403a7f4613ee628/ | |
## Run as root: sudo sh install-ispconfig3-centos.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aria-label vs sr-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://api.myjson.com/bins/9fisb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Settings in here override those in "Default/Preferences.sublime-settings", | |
// and are overridden in turn by file type specific settings. | |
{ | |
// List any packages to ignore here. When removing entries from this list, | |
// a restart may be required if the package contains plugins. | |
"update_check": false, | |
"ignored_packages": ["Vintage"], | |
"default_encoding": "UTF-8", | |
"save_on_focus_lost": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = [email protected] | |
name = User Name | |
[alias] | |
view = log --pretty=format:\"%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s\" | |
viewtime = log --pretty=format:\"%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s\" --date=relative | |
pristine = "!git for-each-ref --format='%(color:blue)%(authorname)%(color:reset) %09 %(color:green)%(refname:short)%(color:reset)' | grep 'Pristine Tran'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!vm.equipment.asset_id) { | |
var equipments = EquipmentsService.query().$promise; | |
equipments.then(function(equipments){ | |
// vm.hints.model = _.map(equipments, 'model'); | |
_.map(equipments, function(equipment){ | |
vm.hints.model.push(equipment.model); | |
vm.hints.asset_number.push(equipment.asset_number); | |
vm.hints.location.push(equipment.ECMS_Location.desc); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import './node_modules/systemjs/dist/system.js'; | |
import './node_modules/rxjs/bundles/Rx.js'; | |
import './node_modules/angular2/bundles/angular2-polyfills.min.js'; | |
import './node_modules/angular2/bundles/angular2.js'; | |
import './node_modules/angular2/bundles/http.js'; | |
import './node_modules/angular2/bundles/router.js'; | |
import './node_modules/angular2/es6/dev/src/testing/shims_for_IE.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// src: https://github.com/zenithtekla/mantisbt/blob/r6/plugins/UTILS_plugin/bower_components/mantis_extended_kernel/client/js/buildscript.js | |
// further ref: http://stackoverflow.com/a/950146/5828821 | |
var loadScript = function(arr){ | |
var loaded = []; | |
var ignored = []; | |
for (var i = 0; i < arr.length; i++) { | |
var _ = arr[i]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "query_text": "UPDATE `mantis_query_manex_sync_table` SET `query_text`='UPDATED' WHERE `id` = '1'", "status":1 } |
NewerOlder