This file contains hidden or 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
{ | |
"window.zoomLevel": 0, | |
"workbench.colorTheme": "Omni Owl", | |
"workbench.productIconTheme": "fluent-icons", | |
"symbols.hidesExplorerArrows": false, | |
"symbols.files.associations": { | |
"*.module.ts": "nest", | |
"*.guard.ts": "typescript", | |
"*.spec.ts": "ts-test", | |
"*.e2e-spec.ts": "ts-test", |
This file contains hidden or 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
[{ | |
"version": "1.0", | |
"image": { | |
"name": "/home/videosdownloader/public_html/image/public/uploadt/carregamento 01-giff.gif", | |
"baseName": "carregamento 01-giff.gif", | |
"format": "GIF", | |
"formatDescription": "GIF", | |
"mimeType": "image/gif", | |
"class": "PseudoClass", |
This file contains hidden or 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
import { useState, useEffect } from 'react'; | |
interface ResentCodeTimerProps { | |
initialValue?: number; | |
} | |
export const useResentCodeTimer = ({ initialValue = 60 }: ResentCodeTimerProps) => { | |
const [resentCodeIn, setResentCodeIn] = useState(initialValue); | |
let startTime: Date | undefined; |
This file contains hidden or 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
export const formatPhoneNumberHelper = (number: string): string => { | |
const cleanedNumber: string = String(number).replace(/\D/g, ""); | |
// Check if the number has at least 10 digits | |
if (cleanedNumber.length < 10) { | |
return number; | |
} | |
// Extract the DDI (the first digits, can be 2 or 3) | |
const DDI: string = cleanedNumber.slice( |
This file contains hidden or 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 dbRequired = ["admin", "config", "local"]; | |
db.getMongo() | |
.getDBNames() | |
.forEach(function (name) { | |
if (!dbRequired.includes(name)) { | |
db.getSiblingDB(name).dropDatabase(); | |
print("Dropped database: " + name); | |
} | |
}); |
This file contains hidden or 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
<?php | |
add_action('rest_api_init', 'register_rest_images' ); | |
function register_rest_images(){ | |
register_rest_field( array('post'), | |
'thumbnail_url', | |
array( | |
'get_callback' => 'get_rest_featured_image', | |
'update_callback' => null, | |
'schema' => null, | |
) |
This file contains hidden or 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
.inputContainer:focus-within svg { | |
color: #fff; | |
} |
This file contains hidden or 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
nano /etc/motd |
This file contains hidden or 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
<span | |
style=" | |
width: 2rem; | |
height: 2rem; | |
position: relative; | |
overflow: hidden; | |
display: flex; | |
border-radius: 50%; | |
" | |
> |
This file contains hidden or 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
.blur{ | |
background: rgba(0,0,0,.5); | |
backdrop-filter: saturate(180%) blur(20px); | |
} |
NewerOlder