Skip to content

Instantly share code, notes, and snippets.

View nucab's full-sized avatar
🏠
Working from home

Noah U nucab

🏠
Working from home
View GitHub Profile
// config.js
const modalRoot = document.createElement('div');
modalRoot.setAttribute('id', 'modal-root');
document.body.append(modalRoot);
$ npx prettier --print-width 80 --no-semi --single-quote --trailing-comma es5 --write 'src/**/*.*{js,jsx}'
@nucab
nucab / tslint + prettier + airbnb
Last active January 10, 2019 13:38
no conflict with prettier config
{
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-airbnb",
"tslint-config-prettier"
],
"defaultSeverity": "error",
"jsRules": {},
// Type definitions for React 16.7
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>
// AssureSign <http://www.assuresign.com>
// Microsoft <https://microsoft.com>
// John Reilly <https://github.com/johnnyreilly>
// Benoit Benezech <https://github.com/bbenezech>
// Patricio Zavolinsky <https://github.com/pzavolinsky>
// Digiguru <https://github.com/digiguru>
// Eric Anderson <https://github.com/ericanderson>
@nucab
nucab / Ubuntu 18.04 Hipchat installation
Last active January 5, 2019 03:11
Ubuntu 18.04 Hipchat installation
$ sudo sh -c 'echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client $(lsb_release -c -s) main" > /etc/apt/sources.list.d/atlassian-hipchat4.list'
$ wget -O - https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install hipchat4
If you're following the instructions on the downloads page, open your /etc/apt/sources.list.d/atlassian-hipchat4.list file and change bionic to xenial
$ sudo gedit /etc/apt/sources.list.d/atlassian-hipchat4.list
sudo apt-get update && sudo apt-get install hipchat4
globe
0905
0906
0915
0916
0917
0926
0927
0935
0936
handleChange(e) {
const { checked, name, type, value } = e.target;
this.setState({
[name]: type === 'checkbox' ? checked : value,
});
}
$args = array(
'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>'
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' =>
'<p class="comment-form-author">' .
'<label for="author">' . __( 'Name', 'domainreference' ) . '</label> ' .
( $req ? '<span class="required">*</span>' : '' ) .
'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
'" size="30"' . $aria_req . ' /></p>',
install these plugins as dev deps
"babel-plugin-module-resolver": "^2.5.0",
"eslint-import-resolver-babel-module": "^3.0.0",
"eslint-plugin-import": "^2.2.0",
If you are still stuck try this simplest of the solution.
Press Win + R (to open Run )
copy paste and press enter to run this program. "C:\Windows\system32\ctfmon.exe". it brings back the language bar and for me it allowed me to type in windows search, start menu and WINDOWS 10 apps again
I think it is due to missing Language bar or some think like that