This file contains hidden or 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
::devd.exe -a -p 3000 -l . http://192.168.99.1:8080 | |
::devd.exe -a -p 3000 -l . /rest/=http://192.168.99.1:8080/rest/ | |
devd.exe -x "{**.bat,**.md,**.xml,**.tc,,**.map}" -a -p 80 -l . /rest/=http://192.168.99.1:8080/rest/ /auth/=http://192.168.99.1:8180/auth/ | |
devd.exe -x "**/*.bat" -x "**/*.ts" -x "**/*.map" -x "**/*.xml" -a -p 80 -l . /rest/=http://192.168.99.1:8080/rest/ /auth/=http://192.168.99.1:8180/auth/ static/assets=./assets --debug --crossdomain |
This file contains hidden or 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
require('net') | |
.createServer( function(socket) | |
{ | |
socket.write('SSH-3.0-OpenSSH_1.2_Guard\r\n'); | |
console.log('SSHD Noop Service - '+socket.remoteAddress ); | |
}) | |
.listen(22, function() | |
{ | |
console.log('SSHD Noop Service - Started at 22 port') | |
}) |
This file contains hidden or 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
// Current Context | |
-- current()/@href | |
<xsl:apply-templates select="//cd[@title=current()/@ref]"/> | |
// Template Matchings | |
-- Attribute Value StartWith | |
<xsl:template match="input[starts-with(@type, '$')]"> | |
-- Tag Proxying |
This file contains hidden or 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
// html | |
<span style="fill:#000;"> | |
<span ui-include="'icon.svg'"></span> | |
</span> | |
// svg inherit color | |
<svg fill="currentColor"> |
This file contains hidden or 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
// Find and Execute recursive -maxdepth 1 | |
find /xfaces -type f -name "*.xhtml" -execdir node /home/sp/xhtml2html/xhtml2html.js {} \; |
This file contains hidden or 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
// PJAX partial or full | |
map $http_x_pjax $file_suffix { | |
default ""; | |
true ".partial"; | |
} | |
## Static html ( converted ) | |
server { | |
server_name ux.domain; | |
listen 80; |
This file contains hidden or 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
<snippet> | |
<!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
<content><![CDATA[console.log($1);$0]]></content> | |
<tabTrigger>cl</tabTrigger> | |
<scope>text.html,source.js</scope> | |
<description>console.log()</description> | |
</snippet> | |
<snippet> | |
<!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |
This file contains hidden or 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
// bootsrtap row not gutters ( pading between ) | |
row.no-gutters | |
// Chrome console.log coloring | |
console.log("%cUser %s has %d points", "color:orange; background:blue; font-size: 16pt", 'User', 100); | |
// Height Transition Effect - with height:auto; | |
book { | |
max-height:100px; <-- default height |
This file contains hidden or 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
<style id="jsbin-css"> | |
html,body { | |
height:300px; | |
width:756px; | |
font-family:monospace; | |
} | |
/********* reseting ************/ | |
ul,li { | |
padding: 0; | |
margin: 0; |
This file contains hidden or 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
# Default webpack installation | |
npm i --save-dev stylus stylus-loader pug pug-loader --save bootstrap-vue vuex | |
# v-on on component only listens for custom evenets ( $emit("") ) | |
<mycomp @click.native="add()"/> | |
# or inside component emit | |
<mycomp @click="add()"> | |
<div @click="$emit('click')"> | |