- A component always consists of CSS and HTML (JS is optional)
- HTML and JS of a component are located in
ComponentName.js
- Styles of a component are located in
ComponentName.scss
- Each CSS class starts with the unique component name
- The HTML of each component only uses its own prefixed classes
- Components can use other components, but never overwrite their styles
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
# must be unique in a given SonarQube instance | |
sonar.projectKey=project-key | |
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1. | |
sonar.projectName=Project Name | |
sonar.projectVersion=1.0.0 | |
sonar.language=js | |
sonar.sourceEncoding=UTF-8 |
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
const path = require('path'); | |
const fs = require('fs'); | |
const nodeModules = {}; | |
fs.readdirSync('node_modules') | |
.filter((x) => { | |
return ['.bin'].indexOf(x) === -1; | |
}) | |
.forEach((mod) => { | |
nodeModules[mod] = 'commonjs ' + mod; |
I have collected and moderated these ideas from various public sources and put into one place so that problem solvers and solution developers may find inspirations. Because I wish to update it regularly, I have setup as a single page wiki. You may try these ideas on hackathons/competitions/research; some are quite intense problems and some are not. Many of the problems were prepared keeping Dhaka/Bangladesh in mind, but of course can be applied to just about any underdeveloped/developing and sometimes developed countries.
- Eradicate Extreme Poverty and Hunger
- Education
- Healthcare
- Governance
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
git subtree push --prefix dist origin gh-pages |
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
xml = "<?xml version='1.0' encoding='UTF-8'?><RSP request='GetAccount' rc='0'><ACCOUNTINFO AccountID='113824629' HomeCurrency='EUR' Credit='0.00' /><BALANCECUR Currency='EUR' BalCash='98.00' BalGoods='0.00' /><BALANCECURSUB Currency='EUR' SubSystemId='0' BalBonus='0.00' BalPending='0.00' BalBonusPending='0.00' Credit='0.00' BonusGroupId='0' BonusGroupT='' SubSystem='Account' SubSystemType='Root' SubSystemT='Account' /><BALANCECURSUB Currency='EUR' SubSystemId='3' BalBonus='100.00' BalPending='0.00' BalBonusPending='0.00' Credit='0.00' BonusGroupId='3' BonusGroupT='Casino' SubSystem='Casino' SubSystemType='Game' SubSystemT='Casino' /><BALANCESUB Currency='EUR' SubSystemId='0' BalTurnover='0.00' BalBonusTurnover='0.00' BalWinnings='0.00' BalBonusWinnings='0.00' BalBonusReleased='100.00' BalKickback='0.00' BalGrossTurnover='0.00' BalMileage='0.00' BalTickets='1' BalNetTurnover='0.00' BalNetBonusTurnover='0.00' BonusGroupId='0' BonusGroupT='' BonusConvert='0.00' SubSystem='Account' SubSystemType='Root' SubSystemT |
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 time = new Date(); | |
console.info(time.toUTCString()); | |
time.setMinutes(time.getUTCMinutes() - 60); | |
console.info(time.toUTCString()); | |
console.info(time.getUTCFullYear() + '-' + (time.getMonth() + 1) + '-' + time.getUTCDate() + ' ' + time.getUTCHours() + ':' + time.getUTCMinutes() + ':' + time.getUTCSeconds()); |
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
# misc | |
.DS_Store | |
.env | |
logs/* | |
!.gitkeep | |
# Eclipse | |
.classpath | |
.project |
OlderNewer