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
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta | |
[sendemail] | |
smtpencryption = tls |
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
jest.mock("../src/Icon", () => { | |
return { | |
__esModule: true, | |
namedExport: true, | |
default: () => { | |
return <div></div>; | |
}, | |
}; | |
}); |
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
tahjoseph ~/Code/landingapp (VLX-5758/placeholder-bugs✔) | |
(☛ ゚ヮ゚) ☛ pgrep node | |
49521 | |
49525 | |
tahjoseph ~/Code/landingapp (VLX-5758/placeholder-bugs✔) | |
(☛ ゚ヮ゚) ☛ pkill node |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "pwa-node", | |
"name": "Attach to existing process", | |
"skipFiles": ["<node_internals>/**"], | |
"request": "attach", | |
"restart": true, | |
"port": 9229 |
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
import { | |
SELECT_MIDI_CONTROLLER, | |
SELECT_NUMBER_OF_KEYBOARD_OCTAVES, | |
SET_WEB_MIDI_SUPPORTED, | |
} from './action-types'; | |
export const selectMidiController = ({ selectedDeviceName }) => ({ | |
type: SELECT_MIDI_CONTROLLER, | |
selectedDeviceName, | |
}); |
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
import { | |
SELECT_MIDI_CONTROLLER, | |
SELECT_NUMBER_OF_KEYBOARD_OCTAVES, | |
SET_WEB_MIDI_SUPPORTED, | |
} from './action-types'; | |
export const initialState = { | |
selectedDeviceName: 'APC Key 25', | |
webMidiSupported: false, | |
}; |
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
let {0 : a ,length : l, [l - 1] : b} = [1,2,3,4,5,6,7,8,9,0]; | |
console.log(a, b) |
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
JSON.stringify(Array.from($('.table-data tr').map(function () { | |
return $(this).find("td:nth-child(2)").text() | |
})).filter(function (url) { | |
return url.indexOf('https://www.maxfactor.com/uk/') > -1; | |
}).sort()) |
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
document.getElementsByTagName('button')[0].onclick = function () { | |
scrollTo(document.body, 0, 1250); | |
} | |
function scrollTo(element, to, duration) { | |
var start = element.scrollTop, | |
change = to - start, | |
currentTime = 0, | |
increment = 20; | |
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
/** | |
* Copyright 2012 Akseli Palén. | |
* Created 2012-07-15. | |
* Licensed under the MIT license. | |
* | |
* <license> | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files | |
* (the "Software"), to deal in the Software without restriction, | |
* including without limitation the rights to use, copy, modify, merge, |
NewerOlder