Quickly remove the text without having to create a custom prompt.
Edit the file: C:\Program Files\Git\etc\profile.d\git-prompt.sh
else
TITLEPREFIX=$MSYSTEM
fi| import React, { useEffect } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { | |
| compose, | |
| unless, | |
| prop, | |
| isNil, | |
| merge, | |
| propOr, | |
| tryCatch, |
| import { useEffect, useRef, useReducer } from 'react'; | |
| import { merge, forEach, reject, append } from 'ramda'; | |
| export const useIsMounted = () => { | |
| const ref = useRef(null); | |
| useEffect(() => { | |
| ref.current = true; | |
| return () => { | |
| ref.current = false; | |
| }; |
| type Users = any; | |
| type Timetables = any; | |
| type AllTheTypes = | |
| | { name: 'users'; type: Users } | |
| | { name: 'timetables'; type: Timetables } | |
| type GetType<A, T> = A extends { name: T } ? A : never | |
| #!/bin/bash | |
| # | |
| # Written by Chris Arceneaux | |
| # GitHub: https://github.com/carceneaux | |
| # Email: [email protected] | |
| # Website: http://arsano.ninja | |
| # | |
| # Note: This code is a stop-gap to erase Job Artifacts for a project. I HIGHLY recommend you leverage | |
| # "artifacts:expire_in" in your .gitlab-ci.yml | |
| # |
| // Tracking cursor position in real-time without JavaScript | |
| // Demo: https://twitter.com/davywtf/status/1124146339259002881 | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "strings" | |
| ) |
| // Copyright (c) 2017, Ben Noordhuis <[email protected]> | |
| // | |
| // Permission to use, copy, modify, and/or distribute this software for any | |
| // purpose with or without fee is hereby granted, provided that the above | |
| // copyright notice and this permission notice appear in all copies. | |
| // | |
| // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
| // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
| // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
| // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| /** | |
| * Returns PBKDF2 derived key from supplied password. | |
| * | |
| * Stored key can subsequently be used to verify that a password matches the original password used | |
| * to derive the key, using pbkdf2Verify(). | |
| * | |
| * @param {String} password - Password to be hashed using key derivation function. | |
| * @param {Number} [iterations=1e6] - Number of iterations of HMAC function to apply. | |
| * @returns {String} Derived key as base64 string. | |
| * |
(SAMBA = SAM Boot Assistant)
Bossa Program Port. It should be LEGO MINDSTORMS NXT.Bossa Program Port.Bossa Program Port from device manager (USB\VID_03EB&PID_6124).c:\Windows\inf directory and searched for that ID.oem11.inf and oem42.inf.oem11.inf has the device description "LEGO MINDSTORMS NXT Firmware Update Mode" and oem42.inf has the description "Bossa Program Port".| // This will open up a prompt for text to send to a console session on digital ocean | |
| // Useful for long passwords | |
| (function () { | |
| var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
| function f() { | |
| var character = t.shift(); | |
| var i=[]; | |
| var code = character.charCodeAt(); | |
| var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |