-
try to access https://blog.spext.co
-
if doesn't work, run letsc encrypt script given by bitnami
-
try to access the https link now
-
force nginx to route to https
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
// The Vue build version to load with the `import` command | |
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. | |
import Vue from 'vue' | |
import App from './App' | |
import router from './router' | |
window.$ = window.jQuery = require('jquery') | |
require('semantic-ui-css/semantic.css') | |
require('semantic-ui-css/semantic.js') | |
Vue.config.productionTip = false |
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
function countDigits(digits){ | |
var i = 0; | |
while(digits>0){ | |
i++ | |
digits = parseInt(digits/10) | |
} | |
console.log(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
{{Front}} | |
<hr> | |
{{Back}} |
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
var fs = require('fs'); | |
fs.writeFile("list.js", JSON.stringify(list), function(err) { | |
if(err) { | |
return console.log(err); | |
} | |
console.log("The file was saved!"); | |
}); | |
const TEMP = require('./temp.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
// Create a dummy analytics object until real loaded | |
window.analytics || (window.analytics = []); | |
window.analytics.methods = ['identify', 'track', 'trackLink', 'trackForm', 'trackClick', 'trackSubmit', 'page', 'pageview', 'ab', 'alias', 'ready', 'group', 'on', 'once', 'off']; | |
window.analytics.factory = function(method) { | |
return function() { | |
var args = Array.prototype.slice.call(arguments); | |
args.unshift(method); | |
window.analytics.push(args); | |
return window.analytics; | |
}; |
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) becaus
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
javascript: (function() { | |
let domStyle = document.getElementById('domStylee'); | |
if (domStyle) { | |
document.body.removeChild(domStyle); | |
return; | |
} | |
domStyle = document.createElement("style"); | |
domStyle.setAttribute('id', 'domStylee'); | |
domStyle.append( | |
['* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }'], |
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
javascript: (function() { | |
let domStyle = document.getElementById('domStylee'); | |
if (domStyle) { | |
document.body.removeChild(domStyle); | |
return; | |
} | |
domStyle = document.createElement("style"); | |
domStyle.setAttribute('id', 'domStylee'); | |
domStyle.append( | |
['* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }'], |