Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | π :tada: |
Version tag | π :bookmark: |
New feature | β¨ :sparkles: |
Bugfix | π :bug: |
The licenses in the npm-registry from their package.json, from the latest version of each module | |
23.11.2013 | |
[ { key: 'undefined', value: 27785 }, | |
{ key: 'MIT', value: 20811 }, | |
{ key: 'BSD', value: 5240 }, | |
{ key: 'BSD-2-Clause', value: 621 }, | |
{ key: 'Apache 2.0', value: 263 }, | |
{ key: 'GPL', value: 233 }, |
1. Download & Install Visual Studio 2010 - Version able to compile C++ | |
2. Download and Install Mozilla build files http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe | |
3. Download the latest NSS package from: http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ | |
Download the tar with npsr | |
4. Create a directory C:\src | |
5. Extract nss to c:\src | |
So this will end up looking like c:\src\nss-3.15 | |
6. Run the Mozilla build shell: C:\mozilla-build\start-msvc10.bat | |
7. Create the required env variables | |
Type: export OS_TARGET="WINNT" |
import React from 'react' | |
import { | |
Route, | |
Redirect | |
} from 'react-router-dom' | |
class PrivateRoute extends React.Component { | |
render() { | |
const { component: Component, ...rest } = this.props |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | π :tada: |
Version tag | π :bookmark: |
New feature | β¨ :sparkles: |
Bugfix | π :bug: |
title | slug | createdAt | language | preview |
---|---|---|---|---|
React Hook prompting the user to "Add to homescreen" |
react-hook-prompting-the-user-to-add |
2018-11-29T20:35:02Z |
en |
Simple React Hook for showing the user a custom "Add to homescreen" prompt. |
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |
In one of my pet projects, I redirect all requests to index.php, which then decides what to do with it:
This snippet in your .htaccess will ensure that all requests for files and folders that does not exists will be redirected to index.php:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
To remove a submodule you need to:
[ | |
{ | |
"Name": "Afghanistan", | |
"cca2": "AF", | |
"cca3": "AFG", | |
"ccn3": 4 | |
}, | |
{ | |
"Name": "Albania", | |
"cca2": "AL", |
Deploy your Angular 2 project with Bitbucket Pipelines to Firebase Hosting
Please see the Firebase setup instruction to setup a project on Firebase.
To run the firebase deploy
command you need to obtain a login token from Firebase. To do so, run the firebase login:ci
on your command line which will generate a token. Copy the generated token.
Goto your project in Bitbucket, open the Settings and select Environment variables.